Answer Questions
matman13 JIT Compilation optimizations
This is a bit of an overkill question I know but it was bugging me.... I just read that the JIT compiler runs a one-time-only optimization on installation based up various factors of the machine is on .. cpu type, memory, OS etc. If, for example, I install a program written in a .Net language and then add some more memory to the machine, would it be best practice to uninstall the program and re-install it so that the JIT compiler takes int ...Show All
Ivan Radley Reading XML-Document to console
Hello, I am reading in VB.NET 2005 a xml document with following code: Dim document As XmlDocument = New XmlDocument() document.Load( "Customers.xml" ) Now I want to display the whole data from the xml document in my console. Can you offe me some code Thank you! Or better document.Save(Console.Out); this is better because XML here is being written node by node while d ...Show All
belgie Need help with small program feature
Hi everybody, I need help with a small feature for my program. I want to make a button that calls a webbrowser like mozilla, IE,... and I want it to show a specific website. Is this possible If yes could someone post the code here Thanks in advance Process.Start is what you want, if you pass it a URL, it will open the correct program on the PC, at that URL Process.Start("*string*"); ...Show All
leekitswee Error in SoapFormatter after registering remoting objects
We have a application which receive Datatables over Remoting and then show the content in an UltraGrid from Infragistics. The nice feature of this Grid is that it can load and save their Display layout with the Soapformatter. From Framework Version 1.0 to 2.0 Feb CTP this works very fine but now in Beta2 after register a Remoting object with the following line: RemotingConfiguration .RegisterActivatedClientType( typeof ( rawConnection ), "tcp ...Show All
Upulab WS-SecureConversation and UsernameToken
Hello, I've posted this on the Channel 9 Techoff forums but it doesn't seem to be getting any responses there so I thought I would try it here: I've tried searching for online material and looking through some code samples but am still in doubt as to the easiest way to do the following: I want to initiate a SecureConversation using a UsernameToken, and do it in a secure manner. Now, sending UsernameTokens securely seems to be a hot ...Show All
Karlekar Web Acessed Denied
When i try to develope a web project in C# for Asp.Net i get an error messege saying access denied and How do i get rid of this so i can program on the web please help!! Where did you get the Internet Information Service from...does it come with Visual Studio 2003 Standard...could you elaborate a little bit more on that answer Running IIS on Windows XP Home Edition is unsupported. Regards, Vikram Hi, I've experienced this kin ...Show All
Junifer DataReader vs. DataAdapter
hello, I have a problem to understand the DataReader. There is a temp table in a database, I search some values and I have to insert the values in a other ( permanent ) table. Now I read the values with the Datareader from the temp table like this Now i use an other way. For fill data from one table into a other I just use sql thx for form your fast answer, I will try it with a dataadapter. I try this code SqlDataAdapter ...Show All
ingriT AxInterop.SHDocVw.dll and Interop.SHDocVw.dll
Hi, I am coding a system to fill out some informations about taxes and somethink similar. So the program reads the data out of a file, fills out a web page with the data and submits the data. Now my question: is it possible, that I don't need to include the two dll-files ( AxInterop.SHDocVw.dll and Interop.SHDocVw.dll ) or do I have to give the two dll-files with my program My boss wants me to reduces the count of files of the program to the mi ...Show All
Prime Digits Databind to local variables
Hello all Platform: VS 2005 Visual C# i am trying to create a databind from db value to local variable, menaing that the local variable will hold the db data. But, i've come to noticed that only GUI controls Properties can be bind, it looks like that the binding occurs on paint or something like that. Is there away to bind data from db to local variables I've solved this problem by extending text box adding it two more properties and bind them t ...Show All
lbsjs System info
Hi this is sandeep how to get the system information using vb.net. do u have any classes for retreving the system info or we need u use specia apis. please send me some code. Thank u Current IP Address could be obtained I believe from the Sockets.Net class if I remember correctly, as for the rest, you would need to look at the article link I had posted :) depends what you need to ...Show All
blanc0 Trying to create file causes UnauthorizedAccess exception
I have created a web service in VS2005 and put it on my ISPs web server. I can reference the web service from my client just fine. The problem is when I in the web service try to create a file to contain some data, I get an UnauthorizedAccess exception. I have googled and also searched this website, but have not found the magic thing to do. I don't know how the web site is setup by my ISP (anonymous access and so on). Also I ...Show All
Jim Griesmer Dataset - Forms vs Web
I've noticed a couple of differences between the forms and web versions of datasets with the Beta 2, and was wondering if these are deliberately different and will stay that way, or just due to it being in a beta stage. When you create a dataset object (Add -> New Item -> DataSet): 1. In forms, the xxDataset.Designer.cs code behind file is generated and placed in the project. In asp.net, it appears to be generated on demand 2. Delete ...Show All
Secrets How to take input of int from Console.
I am new to C# tell me how to take input from user of int variable in console. Thanks ok, then use a try-catch block to catch the exceptions when the user enters non-numeric input. .NET 2.0 introduces the 'try' pattern on many methods to avoid catching exceptions. In other words, you can use TryParse to see if the conversion succeeded. You'll definitely need that for console user input. You also catch the exceptio ...Show All
noahmattern Nested queries to populate a DataSet using OdbcDataAdapter
The class listed below uses a CSV file and OdbcDataAdapter object to populate a DataSet using a nested query BUT I keep getting an Access Violation exception when I call OdbcDataAdapter.Fill(). The message is: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This is written in VS 2005 (.NET Framework 2.0). Are nested queries in the SelectCommand() method of the OdbcDataAdapter object not ...Show All
Steve DeBow WMI Performance Counters
How would I go about monitoring the CPU% of a process (possibly multiple instances) by name (i.e. foo.exe), and reacting to a condition where the CPU% exceeds a certain threshold I am looking into the WMI performance counter classes for some insight, as well as the "cooked" counters. Ideally, I'd like to maintain a moving average of CPU% of a process, such that I can react if a process has been exceeding a threshold for N seconds. This would al ...Show All
