Search:

Type: Posts; User: WaterNut

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    3,283

    TypeInitializationException Confusion

    I have a question because the results are driving me insane....

    I have a .NET C# application VS 2005 .NET 2.0, I wrote a very simple console application, that from the main method or function...
  2. Replies
    0
    Views
    2,554

    TabControl Navigation Issue

    Hi,
    Got an odd behavior out of my tabControl in a .NET FrmWrk 2.0 Windows Form using C#. Using VS2005

    When the tabcontrol is active, focused, and the user is using the arrow keys on the keyboard...
  3. Replies
    8
    Views
    3,342

    You guys ROCK! Thats what I needed. I am using...

    You guys ROCK! Thats what I needed. I am using MFC, sorry should have stated that.

    Thanks for the help and the details!
  4. Replies
    8
    Views
    3,342

    signing off for the night, will continue and...

    signing off for the night, will continue and check back in the morning.... for more ideas.

    THanks for the help and happy holidays CProgramming!
  5. Replies
    8
    Views
    3,342

    I added a call to GetSafeHwnd () to try and...

    I added a call to GetSafeHwnd () to try and correct my handle issue, which fixed that, then go errors relating the function listed for GetCount and DeleteString in relation to parameter passing:

    ...
  6. Replies
    8
    Views
    3,342

    Thanks for the reply! to create the handle to...

    Thanks for the reply!

    to create the handle to the combo box, I am getting errors with my code. Looks like this:


    HANDLE hwndCb;
    hwndCb = IDC_DATAFILE:


    Not accustom to creating handles...
  7. Replies
    8
    Views
    3,342

    Reset Combo Control VS C++ 6.0

    I think I have a relatively simple question, yet I have not found a relatively simple solution.

    I am loading a combo box control using using .AddString ():


    //list files in combo box box for...
  8. thats what I am finding out. VB macro seems to...

    thats what I am finding out. VB macro seems to be one of my only options or an HTML file as you suggested. Have done both.

    Thinking I will be going with INLINE macro calling a vb script. Not...
  9. inserting images into file creation inline function

    I have been trying to build a better way NOT MACROS to dynamically gernerate a file with images created by a program. I allow snapshots of images to be taken and store them in a temp directory and...
  10. Replies
    2
    Views
    1,795

    yep, thats the link I got from the other post,...

    yep, thats the link I got from the other post, should have put that in there, but eitherway I found my issue, I had the pinout correct, it was port polling issue that was the problem, and a another...
  11. Replies
    2
    Views
    1,795

    RS232 Pin Out question

    following a link from another post I have been researching some RS232 basics and my question is:

    In general the articles I have read state that pin 2 - on the female side - going to the pc is the...
  12. Replies
    10
    Views
    1,143

    Awesome, got the thread working, and returning...

    Awesome, got the thread working, and returning smoothly to the dlg window edit box!

    I am so stoked, that if the weather was not so cold in Texas right now, I would drop the boat in the lake and...
  13. Replies
    10
    Views
    1,143

    hey hey hey, we got it!!! I took your advice and...

    hey hey hey, we got it!!! I took your advice and played with the sleep times and i got the buffer equal to what the byte string was + null terminator and here are our results:


    HELLO0
    HELLO1...
  14. Replies
    10
    Views
    1,143

    OK, getting better, I was able to use both...

    OK, getting better, I was able to use both examples and come up with the code below, which compiles and reads the port and does not crash the app, so definately progress!


    BOOL ReadString(void...
  15. Replies
    10
    Views
    1,143

    Thanks to both of you for your replies, Bob, your...

    Thanks to both of you for your replies, Bob, your code helped me get where I am so far and Anonytmous your assistance is helping me understand my errors writing back to the dialog.

    I posted the...
  16. Replies
    10
    Views
    1,143

    I tried to increase the size of message [] in the...

    I tried to increase the size of message [] in the calling function but still got the same result.


    char message [6];


    Reading your reply it looks like I need to define the size in the...
  17. Replies
    10
    Views
    1,143

    hmmm... ok added some code to both console app...

    hmmm... ok added some code to both console app and dlg app and got some interesting results

    decided I wanted to see where in my loop the readstring function was so added the count variable to my...
  18. Replies
    10
    Views
    1,143

    Why Diff in outp W32 Cons Vs Dlg

    I am confused, too many of you thats not a surprising statement... :-)

    I've been trying to learn serial port programing and threading, and so far its been ok till now, but recently I just got...
  19. Replies
    11
    Views
    3,567

    I agree need some additional resources, not easy...

    I agree need some additional resources, not easy to find in local stores, But I did just order the book, Windows Programing With MFC online, so I should get it hopefully by the end of the week. ...
  20. Replies
    15
    Views
    1,790

    What delimeters are you passing to the get()? If...

    What delimeters are you passing to the get()? If I am not mistaken, which I may be, since I typically do getline vs get, I think you can pass delimeters characters to the get() so it knows how to...
  21. Replies
    11
    Views
    3,567

    ok, brain fart.... when I spawn the thread and...

    ok, brain fart....

    when I spawn the thread and call the ReadString function passing it the two variables, message and sizeBuffer...

    Are those variables not accessible because they are being...
  22. Replies
    11
    Views
    3,567

    oh and yes the output vs outp was a typo, no...

    oh and yes the output vs outp was a typo, no errors when compiling. Ha Ha! Tried a few other variances, and got, what looks like garble to the output file, but still no difference, I think I am...
  23. Replies
    11
    Views
    3,567

    return value from inside thread

    I am tacking this onto my previous thread as it relates to the same problem and code, but the subject is slightly different....

    In using MFC's AfxBeginThread, the call to the threads are working,...
  24. Replies
    11
    Views
    3,567

    Vart, thanks for helpful reply, I appreciate...

    Vart,
    thanks for helpful reply, I appreciate your assistance as always that helps.
  25. Replies
    11
    Views
    3,567

    Although I don't think I got as much from the...

    Although I don't think I got as much from the learning aspect, which i hope to change in the near future, I did find a good example program for the AfxBeginThread() on code project and it is working...
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4