Search:

Type: Posts; User: Stevie-O

Page 1 of 3 1 2 3

Search: Search took 0.46 seconds.

  1. Replies
    4
    Views
    446

    It's been done. In 9x and NT. ...

    It's been done.

    In 9x and NT.

    http://www.sysinternals.com/regmon.htm
  2. Replies
    2
    Views
    619

    It doesn't exist. The Win9x kernel doesn't...

    It doesn't exist.

    The Win9x kernel doesn't support services, so Microsoft threw that API into kernel32 so that it could hide programs that emulated various winNT services from the ctrl+alt+del...
  3. Replies
    1
    Views
    651

    I don't think that the OLExxx messages are window...

    I don't think that the OLExxx messages are window messaegs. I believe they are functions that are called directly by the form doing the dragging. There's no way to intercept them.
  4. Replies
    3
    Views
    610

    It's not possible. The Win9x "Task Manager" is a...

    It's not possible. The Win9x "Task Manager" is a joke, and is easy to fool. However, the WinNT (and Win2K; Win2K = WinNT 5.0) Task Manager sees all and cannot be fooled.
  5. The fellow with the excess bold is correct. I...

    The fellow with the excess bold is correct.

    I once had to do this VERY THING for a Doom->Hexen conversion program I wrote in C once. To convert teleporters, I needed to find out which sector the...
  6. Replies
    6
    Views
    761

    Actually, the :, along with many other oddities...

    Actually, the :, along with many other oddities of VB are remnants of the original BASIC language (such as the 'Let' statement). I remember when I first started programming in GW-BASIC. GW-BASIC...
  7. Replies
    6
    Views
    565

    Changing the HD serial # is simply a matter of...

    Changing the HD serial # is simply a matter of doing some low-level calls to directly access a sector on the hard disk. I don't know how to do it, but I'm quite certain that it's possible, because...
  8. Replies
    3
    Views
    1,448

    erm...of course the Windows API did let you down....

    erm...of course the Windows API did let you down.
    You broke the API contract.

    This is the proper declaration for the inet_ntoa function:

    char FAR * inet_ntoa(struct in_addr in);

    This is...
  9. Replies
    1
    Views
    364

    To ASSIGN an object variable, you have to use...

    To ASSIGN an object variable, you have to use Set:

    Public property get class1(ByVal seqnum As Integer) As class1type
    Set class1 = class2Obj.class1Col.Item(seqnum)
    End Function
  10. Replies
    1
    Views
    474

    Because hLock is only 4 bytes in size.

    Because hLock is only 4 bytes in size.
  11. Replies
    2
    Views
    459

    I don't know about VB5, but I've found that in...

    I don't know about VB5, but I've found that in VB6, inside the Terminate event, the form has already been destroyed, along with the object representing it.

    Private Sub form_terminate()
    Set...
  12. Replies
    5
    Views
    588

    >> I've placed the call in my Form_Load, and it...

    >> I've placed the call in my Form_Load, and it doesn't
    work. It begins initially on top, but NOT permanently,
    ther widows are allowed to be placed over it. I have even
    ncluded the flag......
  13. Replies
    5
    Views
    1,034

    Well, I know it's possible to simulate...

    Well, I know it's possible to simulate Ctrl+Alt+Del, because PCAnywhere can do it.
  14. Replies
    2
    Views
    423

    Also...use SetCapture in the MouseDown event and...

    Also...use SetCapture in the MouseDown event and ReleaseCapture in the MouseUp event, so that you keep getting the MouseMove events while the user drags.
  15. Replies
    5
    Views
    744

    GetActiveWindow The GetActiveWindow function...

    GetActiveWindow
    The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue.

    HWND GetActiveWindow(VOID);
    Parameters
    This...
  16. Replies
    4
    Views
    879

    [1] Well, to answer your *last* question, class...

    [1] Well, to answer your *last* question, class name is usually good, unless you're working with a program written in VB (they all have the same classes)

    [2] I've never heard of "DLL...
  17. Replies
    1
    Views
    495

    When I do this: Dim X as ISomeInterface Set X...

    When I do this:

    Dim X as ISomeInterface
    Set X = Me

    I know that X is a pointer, but what does it point to? I know that there's a vtable involved, and I know what that's like. But I'm passing X...
  18. Replies
    4
    Views
    879

    What do you mean 'the' top-level window? As you...

    What do you mean 'the' top-level window? As you said yourself, they're all top-level windows.
  19. Replies
    5
    Views
    862

    Yeah, that's exactly what I'm talking about...the...

    Yeah, that's exactly what I'm talking about...the little things that drive you nuts when you realize you can't do them. If I use API I can change the border style - why not with VB?
  20. Replies
    5
    Views
    862

    I'm trying to get an idea of how most people...

    I'm trying to get an idea of how most people would like to change VB's intrinsic controls (i.e. Form, MDI Form, Usercontrol, Menu, ListBox, ComboBox, etc.). There are many class modules out there...
  21. Thread: Tasks list

    by Stevie-O
    Replies
    1
    Views
    457

    If you read any documentation (i.e. MSDN) or any...

    If you read any documentation (i.e. MSDN) or any of the various tutorials floating around, you'll learn that CreateToolhelp32Snapshot() and its friends don't exist in the Windows NT kernel. I...
  22. Cool, thanks...but how do I make it disappear...

    Cool, thanks...but how do I make it disappear when it loses focus?
  23. usercontrol? I'm not using a usercontrol. ...

    usercontrol? I'm not using a usercontrol. Usercontrols are restricted to their parents' client area, so if I made a usercontrol and made it bigger, the bottom and right sides would just be cut off....
  24. Okay...so how do I go about doing this myself? ...

    Okay...so how do I go about doing this myself? What are this windows' styles? What is its parent window? etc. etc.
  25. I have a program, I'll call it 'SS'. SS stores...

    I have a program, I'll call it 'SS'. SS stores its information in a database. I'm developing an administration program to create databases for SS to use. I need to let the user choose where the...
  26. Replies
    1
    Views
    516

    Search MSDN for Knowledge Base article #Q192689. ...

    Search MSDN for Knowledge Base article #Q192689. I don't know the URL, since I have the MSDN CDs.
  27. Thread: Subclassing

    by Stevie-O
    Replies
    5
    Views
    592

    To find out what message a menu item sends is...

    To find out what message a menu item sends is easy, and you don't need any subclassing. Use Spy++ to spy on the window's messages and see what parameters are sent with the menu's WM_COMMAND message....
  28. Replies
    2
    Views
    463

    Okay... first things first. The keyboard...

    Okay... first things first.

    The keyboard speed is actually determined by a chip inside the keyboard - you can see this by unplugging your keyboard and plugging it back in. Unplugging it causes...
  29. Replies
    4
    Views
    654

    Windows NT does not allow ExitWindows & ExitWindowsEx

    The above tip won't work - because you're running Windows NT. Windows NT, as a security measure, demands that programs explicitly request access to shut down the machine - if this is not done, the...
  30. This is simply not possible. Try unplugging your...

    This is simply not possible. Try unplugging your keyboard and starting your computer - it'll beep and say "Keyboard error - press F1 to continue." (Some BIOSes are smart and prepend "Keyboard not...
  31. Replies
    50
    Views
    3,316

    Foreign language? I didn't even know fish could...

    Foreign language? I didn't even know fish could talk!
  32. Replies
    5
    Views
    486

    Rule #1 for y'all: Win32 API functions all have...

    Rule #1 for y'all: Win32 API functions all have Long parameters, and return Long values. If anybody here remembers doing API in VB 3.0, they know that the 16-bit SendMessage() function had an...
  33. Replies
    6
    Views
    654

    Yeah...why do you people always try to launch IE...

    Yeah...why do you people always try to launch IE via Shell and ShellExecute calls? Use the WebBrowser control, it gives you full control over the window produced.
  34. Replies
    6
    Views
    715

    It's possible to create a transparent control. ...

    It's possible to create a transparent control.

    However, due to Microsoft's bumbling, there's one big restriction: you can't move it around.

    This means making transparent areas on anything that...
  35. Replies
    7
    Views
    655

    As all messages over &H0400& are in the WM_USER...

    As all messages over &H0400& are in the WM_USER range (i.e. application-defined), I'd love to see that example.

    Incidentally, why are you drawing your own menu?
  36. Replies
    4
    Views
    3,358

    The other problem with using that code is that it...

    The other problem with using that code is that it ONLY works in Windows NT (not even 2000).
  37. Replies
    1
    Views
    575

    Erm...you'll need to be a LOT more specific as to...

    Erm...you'll need to be a LOT more specific as to just what you want...
  38. Replies
    7
    Views
    655

    I believe it is WM_NCPAINT.

    I believe it is WM_NCPAINT.
  39. Replies
    8
    Views
    962

    Haha, I expected to get a few complaints... ...

    Haha, I expected to get a few complaints...

    The 6th arg to BreakUpImage was 8 because I was messing around testing it and never set it back ;)

    I know that I omitted the DeleteDC declaration and...
  40. Replies
    8
    Views
    962

    API calls are fun =) Rule #2 of good...

    API calls are fun =)

    Rule #2 of good programming: *NEVER* use weird constants like &HC0EDBABE&, always use a constant name.

    (Rule #1 is don't program in VB... just kidding!)


    A helpful...
Results 1 to 40 of 92
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width