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

Search:

Type: Posts; User: jplocki

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    1,224

    Re: multiThread's question in vb6

    We have production VB6 code running multiple threads with no problems. It's not pretty, and Johnny's suggestion of porting to VB 2005 would simplify your life immensely, at least in terms of...
  2. Replies
    2
    Views
    722

    Re: XP Styles - Missing Keyboard Cues

    Hey, thanks - I'll check it out. Unfortunately, I'm having this problem now with a production application, where the users have to download updates, and the current "controls installation package"...
  3. Replies
    2
    Views
    722

    XP Styles - Missing Keyboard Cues

    Sorry if this exists somewhere - I googled, MSN Searched, and searched this forum for every combination of applicable keywords I could think of, and found absolutely nothing applicable.

    I have...
  4. Replies
    7
    Views
    8,540

    Re: Trouble with TreeView

    Crud, good point. Think I'm going to limit my postings to when I have enough time to read the original post at least three times. Nothing like embarrassing yourself in front of the whole Internet...
  5. Replies
    7
    Views
    8,540

    Re: Trouble with TreeView

    What is nodX declared as? If it's just something like this:




    Dim nodX As Node



    Try changing it to this:
  6. Replies
    7
    Views
    1,044

    Re: Sending Signal to Parallel Port

    Outstanding! Warming up the soldering iron, now...
  7. Thread: Lux Value

    by jplocki
    Replies
    7
    Views
    1,007

    Re: Lux Value

    Heheh, crud. I had a sneaking fear that it wasn't going to be a linear progression you could semi-related to luminosity. Ah well. I tried :)
  8. Replies
    9
    Views
    2,638

    Re: hotkey and sendkeys

    Ah, another thread... I'd *almost* rather enumerate controls. Ah well, wish I could have offered up a more usable solution, there. Good luck with it, though.
  9. Thread: Lux Value

    by jplocki
    Replies
    7
    Views
    1,007

    Re: Lux Value

    I'm not familiar with the calculation of lux values, but this might be enough to get you started. I am proceding on the assumption that lux is a linear measure of the intensity or brightness of...
  10. Replies
    7
    Views
    1,044

    Re: Sending Signal to Parallel Port

    While there's always the great possibility that I'm wrong, I'm almost certain that access to the parallel port in Windows requires a device driver. If your device were a serial device, you'd be in...
  11. Replies
    9
    Views
    2,638

    Re: hotkey and sendkeys

    For what it's worth - we use vbaccelerator's Toolbar/Menu control, and we had a problem where, say Alt+<numeric period> translated to Alt+N, or something. I stepped through the toolbar code, and...
  12. Replies
    9
    Views
    2,638

    Re: hotkey and sendkeys

    I'm not completely clear on what you're trying to accomplish, or what you mean by the characters being "shifted", unless you're treating the KeyCode parameter of KeyDown/KeyUp as an ASCII code, which...
  13. Replies
    1
    Views
    850

    Re: What is GetBIOS.exe ...........

    I can't speak with authority about it, having never seen it, myself, but the first few things google turned up was documentation for an AMI motherboard utility that seems to read the motherboard BIOS...
  14. Re: Accessing routers firmware data from My application

    Hey, mykhan...

    Sorry for the delay, here... I had to find the code, and tweak it a bit to make it flexible enough for you to use it without major modifications.

    Hope it helps... the code...
  15. Replies
    8
    Views
    51,558

    Re: Does VB6.0 support Multi-Thread Programming?

    We have production multi-threaded code VB6 code that's been in the field for years, using the CreateThread, et al, method... and yes, you have to be careful with blocking, etc, just like you would in...
  16. Replies
    6
    Views
    1,018

    Re: VB string and C string

    Sure, here's the gist of it...

    In C/C++, "strings" are character single- or doube-byte character arrays terminated with a \0. VB uses BStrings, which are Unicode (double-byte) character arrays,...
  17. Replies
    6
    Views
    1,018

    Re: VB string and C string

    Good deal.

    Oh, if you're still getting "test" in your second message box when using the DLL, I suspect that the null-terminator strcpy() adds could be the culprit. VB still has a 50-character...
  18. Replies
    6
    Views
    1,018

    Re: VB string and C string

    Because str1 is declared as String * 50, it will always be 50 characters long. When you appens str2 to it, everything after the 50 characters is truncated.

    Try this:




    str1 = Trim$(str1) &...
  19. Re: Accessing routers firmware data from My application

    Got ya... the router uses a little web server for the admin stuff then. I was thinking you said it also supports telnet, and that's easier, to me, since you can send/receive exactly what you would...
  20. Replies
    3
    Views
    819

    Re: Storing porgram data

    Hey,

    As far as ChDir and ChDrive, I don't use them, as they set the "working directory" for an app. I have a strong preference for explicitly setting the path, even if I use App.Path... However,...
  21. Thread: Using Shell

    by jplocki
    Replies
    3
    Views
    570

    Re: Using Shell

    If you're talking about a timeout, then yep, you want to look at the WaitForSingleObject line. The parameter where I specified INFINITE, you could specify a value (in milliseconds).




    '...
  22. Re: Accessing routers firmware data from My application

    I'm getting ready to head out the door to work, so this isn't complete, but it's a start. It also uses the WinSock control, since I always use C when writing socket code the "hard way".

    General...
  23. Re: how to create a Text file with unique header information

    Perhaps not relevant in this sample, but I wanted to add this, anyway.

    There's at least one code < 20h that you'll want to be careful with, though it won't affect you in the sample here. ...
  24. Thread: Using Shell

    by jplocki
    Replies
    3
    Views
    570

    Re: Using Shell

    Unfortunately, you can't force VB's Shell command to wait for the process to finish, so you have to do it the hard way. Well, I had to do it the hard way, you get to copy and paste code, and call a...
  25. Replies
    2
    Views
    1,787

    Re: Get Control, Shift state in MouseUp

    Sweet!

    Thanks yet again, Craig!
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)