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

Search:

Type: Posts; User: stefanusmc

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    4,193

    Re: InteropServices Issue

    Of course it takes asking the question publicly before finding my answer. For anyone else that may be interested, I cast my book to a worksheet, then activated.



    _Book =...
  2. Re: How do you populate a listbox with all available LPT,Com and USB ports?

    I don't do much work with LPT or USB, but for Com I use:



    string[] PortList = SerialPort.GetPortNames();
    foreach (string p in PortList)
    {
    ...
  3. Re: Serial Port write in System.Threading.Timer

    Best to close the port after you are done using it. Is your crash possibly caused by attempting to access an already open port (Access Denied) ?
  4. Re: How do you set a textBox.text value on exit?

    I had to do this once before. I set a registry value on TB exit, and read it on TB entry. I'm sure there is a cleaner way to do it, but it fit the bill for my project. The ultimate benefit was...
  5. Replies
    1
    Views
    4,193

    InteropServices Issue

    Hello,
    I have been attempting for weeks to find a good way to bind my C# app to Excel and/or Access. Since my users may or may not have the target document open, I need a way to either bind to the...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured