azurechen's Q&A profile
.NET Development Timeout Problem when Calling GetResponse()
Hello, I am trying to use the HttpWebResponse and HttpWebRequest to connect to a web address. I am expecting back XML from the address. I can access the web address and successfully get back XML when I connect to it using my web browser but when I try and access the address using the GetResponse method I get a timeout. Is there a setting I am missing that would cause a timeout Here is my code: HttpWebRequest restRequest = (HttpWebRequest ...Show All
.NET Development Website deployment
I am working on a website written in ASP.NET 2.0 I have downloaded and installed the Deployment plugin and created a deployment project. When I run msbuild.exe from command line on the development machine, the site builds without a problem. To deploy it to the server, we download the code into a separate build machine. The build machine has the .NET 2.0 Framework and the Web Deployment plugin installed on it. When I run the same command ...Show All
Visual Studio Disabling UI update?
Hi, I have moved some operations in my vi emulator from operating using IVsTextLines::ReplaceLines() into using IVsTextView::ReplaceTextOnLine() for at least the intra-line operations, so that undoing/redoing operations later on will restore the cursor position. Actually, a general ReplaceLines() operation requires calls to the IVsTextLines interface in order to insert and delete the line terminators. The problem now is that the editor window is ...Show All
SQL Server SSIS Delete/Insert/Update
I am still learning SSIS. What is the best way to do delete/insert/update in a database in SSIS. I am looking to achieve something similar to what was there in a Data Driven Query in SQL Server 2000. I would like to delete/insert/update the destination table based on the condition that my lookuptable returns For ex If "the user in my source table has changed the status" Then Update the user row in the destination table E ...Show All
Visual Basic Opening empty file as XMLDocument
Hi, in my form load I'm looking for an xml file and if it does not exists then I create it. But wen I try to open it as an XmlDocument it popups an error. I thik its because the created file is empty. Could I add the line " < xml version ="1.0" encoding ="utf-8" > " to the file on its creation and how Here's the code : Private Sub Form1_Load( ByVal sender As Object , ByVal e As S ...Show All
SQL Server Help
I've just learned an asp.net 2.0 web app with vs 2005 and am using a SQL Server 2005. But after running programme the error occur. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ...Show All
Visual Studio Team System Overview does not work in ProcessGuidance.html
When I try to open the "Overview" section in the html pages of a Workstream, the site goes back to the MSF start page instead of opening the description text from the workstream definition. Anyone got a fix This is a bug in our CMMI guidance. It is terribly annoying and will be fixed in an upcoming release. Cheers, Randy MSF for Agile Software Development ...Show All
.NET Development List generic class order of items
Hi all, The documentation about the List generic class states that the items are not guaranteed to be sorted. However, I am after an implementation that guarantees that the items will come out of the enumerator in the same order they were added to the list instance. Is that the case with the List generic class, or will I have to implement my own Thanks, SA. Yes the List<T> enumerator return ...Show All
Smart Device Development Reading in Data from GPS
Hello all, I am trying to create a Smart Mobile/GPS application using .Net 2003 framework. In addition for the GPS support I am using OpenNETCF SDK 1.4 library. I am having problems reading in data from the GPS . The following is my code snippet: private void button1_Click(object sender, System.EventArgs e) { gps.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_9600; gps.Co ...Show All
SQL Server service broker error : Connection handshake failed
When I configure SSB in two machine to send message, I get a error message in target machine SQLProfiler: "Connection handshake failed. There is already an existing connection with the same peer and this connection lost the arbitration. State 80." Then I get another message "This message could not be delivered because it is a duplicate.", but I am sure the configuration of routes is r ...Show All
Software Development for Windows Vista Installing Visual Studio 2005 Extensions for Windows Workflow Foundation
Hi, I'm trying to install the above. I'm working in XP SP 2 and have Visual Studio C# 2005 Express (Release version) and I have just installed the WinFx RTC components from the January CTP. I next tried to install the Visual Studio 2005 Extensions for Windows Workflow Foundation and was able to install the debugger and Windows Workflow Foundation SDK but the Visual Studio 2005 Designer for Windows Workflow Foundation couldn't be selecte ...Show All
Windows Forms Working with KeyAscii in VB.NET
Hi All, In our existing vb application, we make all the characters entered in a textbox to UCASE by the following Code in the KeyPress event of the FORM If KeyAscii > 96 And KeyAscii < 123 Then KeyAscii = KeyAscii - 32 End If and for a particular control if the user starts typing and the characters he has not entered is "/", then we will put // and then the entries he is keying in I am not able to do this .NET as K ...Show All
Windows Forms Proof of Concept: MDIForm does not call MdiChildActivate event
Goodday, I've got a strange problem! I've got a MDIForm which has form docked to it. The only thing this form does is to be the default background of my MDIForm (I realy don't know how to set the background of the MDIParent) I Don't want it to be clickable so I set the .Enabled propert to false. Now everytime I make a new form and show it in the MDIParent and I'll close that same form the MdiChildActivate event isn't raised. If I ...Show All
Windows Forms replacing a column of the dataset
Hi, I want to replace a column of a dataset with certain string depending on the numerical value returned in the dataset. When I try to replace that column cells with appropriate strings, it says that I cannot store string in the column that is ...Show All
Visual Basic datasources window
For some reason my datasources window disappeared. None of the buttons on the toolbar nor the additional windows are the datasource window. I want to add a table to my dataset. I've done it before, but somehow the secret is lost. dennist No it's not working with me either. Something wrong. But I found a solution. From the Window menu chose Reset Window Layout. Then try Data->Show Datasources ...Show All
