Type: Posts; User: poochi
Search took 0.06 seconds.
March 7th, 2007, 10:22 AM
1. Have a class level form variable
2. In the double click event handler, try something like this
if ((formVariable == null) || (!formVariable.Created))
// create the...
March 7th, 2007, 09:53 AM
Load the string into a stream and feed it to the DataSet
DataSet ds = new DataSet();
StringReader sr = new...
March 6th, 2007, 04:38 PM
See whether the information in this link helps
February 27th, 2007, 02:37 PM
I am not sure about IE but I have used another office launcher ocx control (released by MS) successfully in our project. If all else fails, you can give this control a try.
Visual C++ ActiveX...
February 19th, 2007, 02:11 PM
Did you try...
IMain mainInterface = myusercontrolvariable as IMain; ???
February 19th, 2007, 01:12 PM
On second thought, I decided to edit my post to remove the paid subscription website. I don't like to be cursed if people don't like the content in that website. :)
February 19th, 2007, 01:03 PM
ha.. I never tried that website in FireFox. I am still a dumb IE user :D(well actually, AvantBrowser) . Looks like they need a good testing team to test their site in atleast few major browsers.
February 19th, 2007, 11:59 AM
I am not sure whether I understood your question. If you have trouble reading xml file, there are many ways to do it.
1. using XmlTextReader class
2. using XmlDocument and XPath query
February 19th, 2007, 11:47 AM
If you have time, please go thro' the video courses available in the following websites. To me, video course are the best training materials to get me started pretty quick in any...
February 19th, 2007, 07:44 AM
You can use xsd.exe tool to create .xsd file out of .xml, then use the .xsd to generate class files using the same xsd.exe tool (xsd.exe information ) in design time. Is this what you are looking for?
February 16th, 2007, 10:48 AM
The following link might help you on how to handle the UnHandled exception (occurs in other part of your program including threads).
February 16th, 2007, 09:31 AM
You are not releasing the COM components properly. So, the word application won't quit when you say so (appWord.Quit() won't work).
Follow these rules
1. Declare a variable exclusively when...
February 15th, 2007, 02:48 PM
One minor suggestion. You can use WebClient class instead of HttpWebRequest. WebClient class is a wrapper to the HttpWebRequest. It exposes most of the properties/settings the HttpWebRequest class...
February 15th, 2007, 02:33 PM
Here is the ADO.NET code...
// Construct the connection string
string strConnection = "Provider=Microsoft.Jet.Oledb.4.0;" +
"Data Source="+ fileName + ";" +
"Extended Properties=" +...
February 15th, 2007, 02:21 PM
1. What value are you trying to read from Excel? There are two types of values in Excel i. Formatted value (displayed to the user) ii. Underlying unformatted value.
2. You can use the following...
November 8th, 2006, 10:23 AM
1. Word automation
you need to have word application in the machine that creates the word document.
Great care needed when you program. If...
November 8th, 2006, 10:12 AM
TryParse() is nothing to do with your problem. I mentioned it to make a point. Ever wondered the difference between Parse() and TryParse()?
1. Creating and raising exception is a time...
November 7th, 2006, 12:56 PM
Relying on exception for decision making is discouraged in .NET (.NET introduced the "TryParse()" in int, double, datetime etc just for this reason)
The user of my library knows whether they...
November 3rd, 2006, 02:42 PM
Subclassing/MessageHook/<some one please insert cool or scare the hell out of you sounding name that I missed to do this job :D > is the way to go. Not sure whether the subclassing or MessageHook is...
November 3rd, 2006, 02:30 PM
Well, I encountered the same situation but I took a short cut to solve this problem. I let the user specify whether the calling application is windows (actually, windows service) or web application...
November 3rd, 2006, 02:15 PM
It looks like working folder of the VB app is messed up when your VB application is launched from the launcher application. Check the working folder. If this is the case, review the code in launcher...
July 12th, 2006, 12:15 PM
I wrote a small program to compare two strings containing "Logitech® Camera Driver" value. The double equal operator returns true. So, it is not the problem of == operator.
Now we narrow down the...
1. Get the used range
2. Call "get_Value()" method on the range to get all the values in a single shot , otherwise you will have performance problem.
3. Loop thro' the array (#2 output). If you...
Did you try any one of the encoding classes?
If that doesn't work, it should most prob. be the encoding problem. Try different...
The keyword for your search is "Word Automation" (requires MS Word application). Or you can look for a third party word viewer control(assuming you want to diplay word document on the screen).
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.