CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: poochi

Page 1 of 42 1 2 3 4

Search: Search took 0.26 seconds.

  1. Re: Multiple instances of same form are openning at same time. How to prevent it?

    1. Have a class level form variable
    2. In the double click event handler, try something like this

    Pseudocode



    if ((formVariable == null) || (!formVariable.Created))
    {
    // create the...
  2. Replies
    2
    Views
    938

    Re: Loading XML formatted string into DataSet

    Load the string into a stream and feed it to the DataSet



    DataSet ds = new DataSet();

    StringReader sr = new...
  3. Replies
    2
    Views
    891

    Re: Using Excel Online

    See whether the information in this link helps
  4. Re: Problem in running Excel-embeded .Net application

    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...
  5. Replies
    3
    Views
    995

    Re: another embarsassing ?

    Did you try...

    IMain mainInterface = myusercontrolvariable as IMain; ???
  6. Replies
    17
    Views
    2,815

    Re: Help with arrays in C#

    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. :)
  7. Replies
    17
    Views
    2,815

    Re: Help with arrays in C#

    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.
  8. Thread: xml read

    by poochi
    Replies
    5
    Views
    1,068

    Re: xml read

    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
    3....
  9. Replies
    17
    Views
    2,815

    Re: Help with arrays in C#

    apricotsun,

    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...
  10. Re: xml to C# class, deserialize to create a class

    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?
  11. Re: One thing I'm struggling to understand with C# threading..

    cjard,

    The following link might help you on how to handle the UnHandled exception (occurs in other part of your program including threads).
    ...
  12. Replies
    4
    Views
    1,774

    Re: Preview a Word Document...

    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...
  13. Re: How to have c# application go to url and submit information returning string

    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...
  14. Replies
    9
    Views
    1,924

    Re: Import data from excel

    Here is the ADO.NET code...

    // Construct the connection string
    string strConnection = "Provider=Microsoft.Jet.Oledb.4.0;" +
    "Data Source="+ fileName + ";" +
    "Extended Properties=" +...
  15. Replies
    9
    Views
    1,924

    Re: Import data from excel

    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...
  16. Replies
    1
    Views
    1,013

    Re: howo to populate word document

    1. Word automation

    Adv: ????
    Disadv:

    you need to have word application in the machine that creates the word document.
    Great care needed when you program. If...
  17. Re: get the current application using the assembly

    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...
  18. Re: get the current application using the assembly

    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...
  19. Thread: Browser and api

    by poochi
    Replies
    9
    Views
    1,537

    Re: Browser and api

    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...
  20. Re: get the current application using the assembly

    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...
  21. Replies
    5
    Views
    1,036

    Re: Help Needed with .Net dll in vb 6

    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...
  22. Replies
    5
    Views
    1,407

    Re: String Comparison problem

    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...
  23. Replies
    1
    Views
    16,180

    Re: C# - Excel.Range, Workbook and Worksheet...

    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...
  24. Replies
    1
    Views
    974

    Re: Converting Binary Data to ASCII

    Did you try any one of the encoding classes?

    Try

    System.Text.Encoding.ASCII.GetString(bytes); method..

    If that doesn't work, it should most prob. be the encoding problem. Try different...
  25. Thread: word with c#

    by poochi
    Replies
    1
    Views
    920

    Re: word with c#

    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).
Results 1 to 25 of 1042
Page 1 of 42 1 2 3 4





Click Here to Expand Forum to Full Width

Featured