Answer Questions
Tim Parker Problems with Network Stream and Threading - please help.
Hi folks, i have threads that are used to retrieve any data from a client after a client connects to the listener. When i try to get the server to close all connections, i do that but after it finishes closing all, it then crashes on a StreamReader.ReadLine() call. how do i make it so that when the TcpClient is closed, then thread stop correctly The StartListening method kicks it all off. Note: I've left out some private properties to ...Show All
Waterside Configuration Sections
Hi, I've just started playing with VS2005. We currently have a VB.NET application which uses a custom config section implemented by declaring a class which implements the IConfigurationSectionHandler interface and which was invoked by declaring it in the <configSections> section of app.config. The section handler so defined parsed a 'systems' configuration section in app.config and returned a collection of objects from its Creat ...Show All
Pape Problem with XPathNodeIterator
Hello, i have a problem to read an xml document. I use this code to iterate the entire xml document : Dim doc As New XmlDocument doc.Load(Application.ExecutablePath + ".config") Dim nav As XPathNavigator = doc.CreateNavigator() ' Move to the first book node. Dim ni As XPathNodeIterator ni = nav.SelectDescendants("Impostazioni", "",False) ni.MoveNext() Dim nav2 As XPathNavigator = ni.Current ' Display the content of each element node ...Show All
JohnWoll Restricting Web Service to localhost
Hi, I am trying to restrict the web service to only respond to clients from the same server. In other words, I am checking the ' HttpContext.Current.Request.UserHostAddress'. I have couple of questions, 1. Is it possible for the client to manipulate the value of 'UserHostAddress' so that it looks as though the request is originating from the local machine even though actually it is not 2. Is there a ...Show All
Dolllar Dude Need some huuuuge help, please!
Hi, If you have an SQL Database and in it 2 tabels,and on the main form you put both tabels, Clients and Reservations, with all their columns and I want to see every client with its reservation, how do you make all the connextions to work Besides binding every textbox that will be on that form with one of the 2 tabels, I have to write some code to work Thank you Regards, that depends on the controls that you gonna use for exampl ...Show All
dionjuan2004 How to print selected part of a html page (not using frames)
Hi, I happen to come across this website http://www.irs.ustreas.gov/formspubs/index.html . When I printed the page, the printed output only contained the list of forms and the IRS logo, and did not contain the menu bar and the side menu. How was this done thanks... Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over her ...Show All
GordonBeMe Global variables in Web Service class
Hi, I wanted to write a WS that had about 6 Clients. How can I share a variable between all these clients What I wanted to do, is have the WS store a Time stamp of the time that the newest data was retreived. I want to do it like this: namespace myWebService { public class myWebService : System.Web.Services.WebService { private string myName = "Unas ...Show All
Lien Gangte .NET Framework 2.0 Beta 2
Tried Installing .Net Framework 2.0 Beta 2 on Win 2003 ( no service pack 1) , and the installation crashes so can't actually install it. I think I use to have .NET Framework 2.0 either Beta 1 or Beta 2 not to sure, installed prior, I did completely remove it , before installing again. I've been checking the install logs and found this: === Verbose logging started: 20/06/2005 13:25:00 Build ty ...Show All
David McKinney Need desperate help with a simple compare
Please help... I am so frustrated with this bit of code. I dont understand why its not working. I am checking one field from another field if they are equal then you return a bool value of true. If they are false you load it to an array. I swear it sounds easy but when i run it and i have both fields on quickwatch they look equal it still goes to the else condition string delimiterStr = ","; char [] display; char [] deli ...Show All
Manish Sinha formating xml string with xsl stylesheet not working
Why does the following code throw back an exception and not format my xml file with the xsl stylesheet. StringReader xmlStringReader = new StringReader(sb.ToString()); XPathDocument xPathDocument = new XPathDocument(xmlStringReader); StringReader xslStringReader = new StringReader("po.xsl"); XmlTextReader xslTextReader = new XmlTextReader(xslStringReader); XslCompiledTransform docXsl = new XslCompiledTransform(); docXsl.Load(xslText ...Show All
learn32.dll Opening the file as a New Process
I am trying to open a file, e.g. a text, .doc or .mpp file, when it runs on the localhost system opens a respective file, but when installed in the IIS 5.1 and IIS 6.0 as a virtual directory, and access the file, system doesn't opens................................................... Imports System.IO Imports System.Diagnostics Partial Class CR Inherits System.Web.UI.Page Dim projectPath As String Dim ...Show All
adrianf Best DB for future ?
Just a quick question... (I'm a newbie to all of this) Right now if you create an application with SQL express, a user has to install SQL to use the app. But I was wondering, with Vista coming up is SQL going to be installed by default, or will a user still have to install it Being new to it all, I just figured I would concentrate on learning what will be most used in the future. If the mdb's are going away, I won't spend my time on them. Th ...Show All
Mike Hardy how to set the dataset's namespace
hi, I'm use the Dataset Desinger of Visual Studio 2005 to design a dataset. Then, I compile the project. The desinger generate a typed dataset class. But the dataset class is inside the global namespace. How to set to generate the typed dataset class in a customed namespace. The namespace above is C# namespace. Not the XML namespace. thanks. Wait! Hold the phone! I see a difference ... from looking at your screen shot I se ...Show All
Jeff Siegel Component Planning with MS Visio
Hello All, I just bought MS Visio 2003 and I heard it was an awesome tool for component/object planning. Is there a tutorial out there that can show me the typical drawing scheme for component/object planning Thanks in advance, Byrd Man, the +/- generally simply signify a treeview hierarchy. _ indicates you can click on it and there are subnodes, - indicates you can collapse the hierarchy. Feel free to send me an example of what you ...Show All
jagadishk_msft Regarding Microsoft Speech SDK
Hi I have an ASP.net application using Microsoft Speech SDK 5.1 which I have installed in my server. I am using the text to speech(TTS) feature in my web page. Now my question is does the client computer also need to install the speech sdk for running these web pages using the TTS. Could you please give me information regarding supported OS, hardware requirement, I.E or any software that needs to be present in the client m/c. Also ...Show All
