DemianRulEZ's Q&A profile
.NET Development system.net.mail.smtpclient fqdn required
This seems to be the right place to ask this question. I'm trying to send a simple email message using the SmtpClient in system.net.mail through my own Postfix mail server. I've got UCE controls turned on and the .Send method is rightfully failing during the HELO negotiation because the FQDN of the sending host is not being sent. I don't see anywhere to force this behavior, or to otherwise set the FQDN on the SmtpClient object. I'm missing something somewhere. Sean Until Microsoft fix the SmtpClient, the only solution is to use reflection to change the private "localHostName" field to t ...Show All
Visual Studio Team System Scenarios and Project Checklist
Hi there! I've noticed that when I open Project Checlist xls document created in a new project based on MSF agile, predefined tasks are loaded to this document, as well the project members are loaded to the Assigned To List. However, in the Scenarios xls document this list is not loaded. How can I configure xls documents to load specific lists from TFS How can I create specific lists in TFS Lists like " WORKITEMTYPE fileName = " WorkItem Tracking\TypeDefinitions\Bug.xml " " in workitems.xml file. Best Regards, Rui Dias The predefined tasks are loaded into documents like ...Show All
Visual Basic MyBase.Load Me.Load form question
I simply can't get my mind around this, and appreciate any insight into what is happening... In VB .Net 2005... I've noticed that if i create a new form (Form1) with 1 textbox (TextBox1) and derive a new class from Form1 called Form2, the IDE (by default) uses MYBASE to handle the load event (MyBase.Load) but uses TextBox1.Click to handle the textbox1events. In addition, I've noticed that in Form2, I can also add a Me.Load eventhander (Form22_load () handles me.load) that also gets called and gets called before mybase.load eventhander. I don't get it.... Why are there TWO load events raised, 1 for the baseclass and 1 for the deri ...Show All
Visual Studio Express Editions Button text different when running to when in IDE?
Visual c# Express - a project developed in beta2 Text in buttons in the IDE is fine but when running the text is not quite right - it's as if the kerning has changed. So a button that says 'Test Comms' in the IDE says 'Test Comm' when running. Looks like every button on the form is affected. Font is 8.25 pt Microsoft sans serif. Labels are ok as are datagridviewcolumn headings - it is just buttons that seem to be affected. Used to be OK in beta 2 Any ideas Thanks Steve Having a look at another instance of this issue recently and your fix works perfectly - many thanks. How can anyone&n ...Show All
Visual Studio Team System Error: The underlying connection was closed.......
using vs2005 and TeamSystem. when checking in my ASP.Net project to our development server i always get the following error:- "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server" the check in fails. if i then attempt to check in again, it checks in fine without any errors. what would be causing this problem its not just me experiencing it either, its happening to all our developers Cheers, Craig I'm also getting the same problem with a fresh install of Beta 3 refresh and vs rtm developer edition with tfc beta 3 refresh. When i check in a ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF in a Windows Service?? "No endpoint listening exception"
Hello, I'm working on an ASP.NET application that i want to host using WCF using "basicHttpBiniding" . The hosting should be done in a windows service. I've did a test by hosting the service in a console application (instantiating a ServiceHost in a console application project), everything worked fine. The same project is now transferred to be a windows service, i receive an exception "There was no endpoint listening at http://localhost:8000/HelpDesk/HelpDeskService that could accept the message. This could be caused by an incorrect address or SOAP action, among other things." Debugging teh service shows no errors b ...Show All
Smart Device Development run program automatically when cradled
Is there a way to automatically run a program when a user cradles/sync's I've found two solutions that seem like they should work, each with a shortcoming. They both use CERunAppAtEvent: 1) NOTIFICATION_EVENT_SYNC_END - This kind of works, but you have to connect the device to the cradle (sync), then manually sync to get it to fire the event. 2)NOTIFICATION_EVENT_NET_CONNECT - This is the most promising event, however according to the microsoft site, it is not supported, just defined. Cute, huh Anybody else have any other ideas ...Show All
Software Development for Windows Vista Delay/Persistence/MaxThreads
Hello, I'm having a delay activity setted to 1 minute and the persistence service when it gets idle write the instance and download it from memory. Then I must restart this instance manually (is there any other way ) but if I restart it before the minute has complete the instance thread blocks and no tracking or other information arrises. This situation holds scheduler threads so any other instancing request must wait... There is any way to release the instance from memory if the delay time hasn't complete yet How can I solve this situation Regards, M Hi Markus, If you use the pe ...Show All
Visual Studio Express Editions DrWatson32 issue == LNK2019 == bug?
I don't know if you know but whenever I get fatal error LNK2019 (Error Message is unresolved external symbol 'symbol' referenced in function 'function') is because I have the Win32 console opened.So,I have to close it. However,sometimes I get LNK2019 even if the console is closed.And whatever I do so as to compile succesfully my *.cpp source file is futile.The only way to correct that is either rebooting the system or closing drwatson32 from the applications by pressing Alt+Ctrl+Del.I don't know if this is a bug but I thought I should post it anyway........ LNK2019 are unresolved external errors, and shou ...Show All
Visual Studio Express Editions assetion faileed
been using kazaa for long time, windows autamatically upgraded and now assertion failed, tried uninstalling both microsoft visuall c++ studio and kazaa, downloaded express version of c++ visuall studios and redownloaded kazaa. still get same assertion failed. program: c:\program files\kazaa\kazaa.exe, file: esctype.c, line 68, expression: (unsigned)(c+1)<= 256. completely lost in visuall c++ studio, pretty smart but construction worker not computer expert with a lil help i can prob figure it out please help i miss kazza well i tried finding all that assertion stuff but got lost, i tried debuggin kazaa in microsoft visual studios but ...Show All
Visual Basic how to access value of hidden column in gridview?
I have a hidden key column in my grid. I need to get the key value when a row is selected to process in my code. When the column is hidden, quick watch tells me the value is "", when the column is not hidden I get the right value using the following statement: myGridView.Rows(myGridView.SelectedIndex).Cells(1).Text what's wrong Is this a databound grid If it is you can get the values from the BindingSource ...Show All
Windows Forms inherit ControlCollection
Hi all I have build a custom class that inherits ControlCollection I have overriden the Add method as follows public void Add(ArthurControls.ArhturPanel.BaseArhturPanelItem value) { base.Add (value); } where value is a usercontrol when i add some controls to the controlcollection i get the following error "Value cannot be null.\r\nParameter name: array" this is the stacktrace " &nb ...Show All
Visual C# Where does C# come in
I was wondering what are the most important features that engineers use to for C# is it OOP Interfaces, Inheritance with method access..or window applications, web forms, ASP.Net Which is the most frequently used by C# Hi Dpowes, I would say all of the above which you have mentioned. C# is a pure object oriented language which caters to the needs of a modern day applications and allows developers to build applications in a shorter timeframe as compared to other languages such as a C++. Read through the following articles if you are trying to compare C++ and C# 1. http://msdn.microsoft.com/msdnmag/issues/0900/csharp/def ...Show All
SQL Server Tell to split on change of ID
how can I tell the conditional component to split the records based on change of hdr_HeaderID http://www.webfound.net/split_on_headerid.jpg let me know if you need more info... You can't. The conditional split works row-by-row. You would need to use a script component to do that. -Jamie ...Show All
Visual Studio Where does VS2005 store source control provider info?
In VS 2003 and previous versions, the list of source control providers and the default SCC provider were stored in HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider. It looks like Whidbey does not use these values. I'm trying to make sure that our SCC tool will appear in the Whidbey list, and also have the capability for the user to set the default VS SCC provider from our app. How do I do that in VS 2005 Oh, I see now what you were looking for, to set Vault as active provider when you install it. I think there are a couple of ways to do that: 1) Delete the HKCU\Software\Microsoft\Visual ...Show All
