Answer Questions
Mild Bill SqlDataReader Access in Framework 2.0
I have been attempting to get a SQL Data Reader to work with no success. Have a very simple procedure that opens a SqlDataReader when a user clicks the Submit button. Checked Query Analyzer and the Select statement is running, but nothing is displayed. I have attemted the same query in both a Windows App and a Web app and get the same. The Query runs in SQL, but nothing is displayed on the page. The code below is the basically from Micr ...Show All
OLAP_Guy TCP packet confirmation
Anybody know how I can checks that my TCP/IP packet have been really received on the destination side and that is not standing in the buffer because of retries or bad connection Ronald The application I write use wireless cellulal communication and since the cost is fixed by transfered bytes, I wanted to have the minimum transfert bytes between the host and mobile so I wanted to avoid the application ACK. Also ...Show All
Davaren EventLogPermission
I am getting an EventLogPermission exception when calling my assembly from an ASP.NET 2.0 app. I tried setting the assembly to FullTrust via caspol.exe, but I still get this exception. Firstly, I am not attempting to log from ASP.NET directly, but from a dependent assembly (albeit in the same process space - effectively the same thing, I assume). I am loading the web app and assemblies over UNC. I am also impersonating a Domain Admin acco ...Show All
Dogs-R-us Windows Form Icon
I posted this in the wrong forum. Sorry for a double post. I am making an app using Visual Studio C++ express edition. When I change the forms icon in the editor, by clicking the form and selecting the icon property, it changes it properly in the editor and builds it fine. However if I run it I get an exception. I get this message An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in m ...Show All
Naraine How to add a node with prefix?
Hi, I'm a C# newbie, and I'm trying to create an "apsx" file on-the-fly. I had some success, but my code isn't working when I try to add a node with prefix, like "<asp:Menu>". Basically, I am doing something like this: XmlDocument xmlDoc = new XmlDocument(); ... xmlDoc.CreateElement("asp", "Menu", null ); xmlDoc.Save("myAspx.aspx"); The code works fine. No exception appers, and in fact, the file is generated. But, when I ope ...Show All
BioHazard Trouble passing webservice credentials between two servers
I have developed a webservice on one of our servers (SERVER1) on our LAN. From my workstation, I can use IE and successfully connect to .aspx pages on server1 that call up the webservice on server1. The code in the .aspx pages declares the credentials for the webservice so that it impersonates the user that is requesting the page: proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; That way, the webservice knows who the use ...Show All
Lanksalot (Possible) How To:Validating a client . . . Please Comment!!!
Source can be found here NOTE 1 : Only for Proof of concept. I know there would be alot to get it into production. . . The idea here is to be able to detect that the client library is signed by the same certificate as the server. NOTE 2: Please!!! Comments welcome! Style Suggestions Do you see any holes Please bring 'em on!!! NOTE 3: This is for .NET 1.1 as I am restricted to that for proprietary reasons. ...Show All
chet1940 IStream.Read documentation
The msdn documentation for IStream.Read says the following about the pv parameter: When this method returns, contains the data read from the stream. This parameter is passed uninitialized. What does uninitialized mean here As far as I can tell this method does not work as expected unless pv is a byte array with length equal to the cb argument. If I use the interface from C# it wont even compile if I leave pv uninitialized. ...Show All
Gseese2 INSERT Row to DataTable, data types problem?
(Newbie) (VB 2005) Regarding the INSERT row command below, how do I state my parameters (i.e. the text in brackets below). 1) how do I state a DATE data type, at the moment I am using .ToString , is this correct 2) how do I state the DateTimePicker data type, given that its format is custom h:mm tt Thanks. myDataTableTableAdapter1.Insert(DateInput .ToString , DateInput .ToString , Start_TimeDateTimePicker , Fi ...Show All
allenbc Remoting remote ip
hi,, is there any way on the remoting server to get the ip of the client and i also want to know when does the user connects,.,, any idea mig16 yeah’,, i want to create an event handler so it fires when any user connects and anotehr event when a user disconnect,,, i know how to create the delegate and the event,, i just need to know when to fire it in wich piece of code thx :) ...Show All
Ajit_2005 Is this hard to do, or is it just me ;-)
I have an xml document I want to extract information from and I am having a hard time achieving this. I want to extract data from the field elements. I want to know the name and the contents in the CDATA. So in the doc posted below I want to know: name = dossiernr and data = test name = naam and data = test My xml doc: < xml version="1.0" encoding="UTF-8" > - <RESPONSE XMLID="dd8433dd-356a-4cad-9d9d-0dacdd5fcc ...Show All
Miles P. Thornton XML selectSingleNode Issue....
i'm trying to extract the data in black below using selectSingleNode It works with everything else i'm extracting from the xml file, just not this.... Not working.... strXML(i) = strXML(i) & objNode.selectSingleNode ("Case/StatusUpdate").Text & "|" < StatusUpdate > < Beh Id =" 2 " Name =" Nutrition " /> < Met Id =" 38 " Name =" Unknown " /> ...Show All
Digidreams Editing XML File
i wanted to edit an existing xml file using VB codes i found an example here and followed it http://support.microsoft.com/default.aspx scid=kb;en-us;317665 the codes i've got currently is Dim docXML As XmlDocument = New XmlDocument() docXML.Load("CYFMembers.xml") Dim nodeList As XmlNodeList = docXML.SelectNodes("//Member") Dim i As Integer = cbo_members.SelectedIndex Dim nodRoot As XmlElement = docXML.Document ...Show All
Spetluri Limit on number of DIME attachments?
Is there a limit on number of DIME attachments that can be attached to a response or request Soap Context Object ~Srilatha The RequestSoapContext and ResponseSoapContext objects both have the Attachments property which are of an unbound collection type. There is no limit to the number of file attachments you can add, however you may start to run into message/request size limits. You may also have to cons ...Show All
Erik Almquist How to make a copy of a list?
I wish to make a copy of a list, where the elements of the list are also copied, instead of just the references, so I can then change them without affecting the original elements. It seems a very simple thing, it should be like: MySecondList = MyFirstList.CopyAll(); but I cannot find it. Come to think of it, I don't know how to copy the elements one by one either if they aren't simple types. Strange, I never needed to do this before. ...Show All
