Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Getting the ball rolling. Which VB6 projects are you working on?

    gaouser, there's a VB.NET board and a VB.NET CodeBank, maybe you should be posting there if you want VB.NET projects, this is the VB6 board.

    --
    I too refuse to spend my remaining years...
  2. Re: Opening font file in Windows Font Viewer using ShellExecute?

    Fonts don't appear to have an 'Open' verb registered by default.

    When you right click them in Explorer, note that the bolded item is "Preview", not open, so you're invoking the 'preview' verb on...
  3. Replies
    11
    Views
    1,079

    Re: [RESOLVED] Lynx ComboBox 2

    The original post would have likely been solved by adjusting the item height with the CB_SETITEMHEIGHT message, if anyone wanted to use that. Thread's here, might as well not leave it unanswered.
  4. Replies
    7
    Views
    207

    Re: Hello everyone,

    Why on earth do you think people here are going to help you decompile malware?
  5. Re: Type library: SHELLLNK.TLB#VB5 - IShellLinkA Interface(ANSI), want upgrade to ole

    To use oleexp instead all you'd have to do is remove the reference to shelllnk.tlb and add a reference to oleexp... oleexp has ShellLinkA defined the same way.

    But to upgrade to Unicode, you have...
  6. Replies
    6
    Views
    273

    Re: ntohs not working?

    I'm aware, but MIB_TCPROW2.dwRemotePort is a Long (DWORD); I was presuming the VBNET example worked because the function looked at the first two bytes and placed them into the first two bytes of the...
  7. Replies
    6
    Views
    273

    ntohs not working?

    ntohs, what MSDN says to use for GetTcpTable2 MIB_TCPROW2.dwRemotePort,
    Public Declare Function ntohs Lib "wsock32" (ByVal Addr As Long) As Long,

    does not work. Lots of examples suggest it works...
  8. Replies
    8
    Views
    300

    Re: WMI with WHERE clause

    How is it typically secured these days... ETW is part of the WMI infrastructure, I found you don't actually have to run as administrator to use the kernel logger. You did have to be a member of the...
  9. Re: Need Help in Subclass to Destroy Escape key press

    Return 1 and don't call the default proc.
  10. Replies
    25
    Views
    874

    Re: [RESOLVED] ColumnHeader.Tag Property

    Yeah I use a common function for it:


    Private Function GetHDItemlParam(hWnd As Long, i As Long) As Long
    Dim tHDI As HDITEM
    tHDI.Mask = HDI_LPARAM
    If Header_GetItem(hWnd, i, tHDI) Then
    ...
  11. Replies
    19
    Views
    676

    Re: Organization of VB6 Source Code

    Have you look at this addin?

    Also, if you use the CodeSMART addin, the Project Explorer has a 'Logical' view instead of the default 'Physical' where you can create folders to group things in, no...
  12. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    Project Updated to Version 2.1

    Quick bug fix to address FileIo_DirEnum; the pattern and InfoClass were not being reported correctly. Also implemented smarter scrolling behavior: If you scroll up...
  13. Re: Simulate C# "private static" in VB6 (Organization of VB6 Source Code)

    Yes so how is this not just about a private module level member of a class module?
  14. Re: Simulate C# "private static" in VB6 (Organization of VB6 Source Code)

    I don't understand how what you're asking is different from a private constant that's module level inside the class module... Since VB doesn't support inline classes.
  15. Replies
    13
    Views
    537

    Re: Using Word dictionary for spell check

    Related, a while back we were playing around with accessing the spell check API directly, here's a demo:
    ...
  16. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    I believe Elroy knows this but for anyone who doesn't; there's Variant versions and explicitly typed versions for many of these, like Left, or Mid. They're distinguished by the variable type...
  17. Replies
    35
    Views
    12,271

    Re: Does VB6 work in Windows 11? YES

    Did you run it as administrator from the default directory?

    Also sometimes it updates files but just a few things at the end fail they may or may not be strictly neccessary; did you check the...
  18. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    Right I was just asking if you were indeed using the 32 bit structure on 32bit Windows. If you weren't that would have offered an explanation. But if you are....

    I found some undocumented...
  19. Replies
    25
    Views
    874

    Re: [RESOLVED] ColumnHeader.Tag Property

    You'd have to ask MS why they didn't perfectly sync them up. Maybe post a reply on Raymond Chen's blog.
  20. Re: [RESOLVED] Too many controls using subclassing

    It sets one on top of the main input processing loop, so tends to be a bit better at tracking position. (i.e. the main input loop is always running, and always tracks which window gets the input,...
  21. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    Project Updated to Version 2.0

    This version brings extensive new features, improvements and bug fixes. A major bug was updates were never synchronized, so only displayed if they occurred between...
  22. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    For both XP and 7? Have you confirmed which version you're receiving between the two? EVENT_TRACE.EVENT_TRACE_HEADER.wVersion?

    Also, when you say " Sid is located at offset endBuffer(20) in 64 bit...
  23. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    Were you using the 32-bit structure on Windows 7 then? With UniqueProcessKey as Long instead of Currency? That would explain why it's shifted if you weren't.

    Why it would work on XP if both are...
  24. Re: Microsoft have open-sourced 3D Movie Maker by popular demand

    They won't. They've given various excuses why, but the real reason is they're still fully invested in forcing .NET on everyone, and an open sourced VB6 would lead to modernizing improvements that...
  25. Re: Visual Basic NMEA serial port problem

    At the point the code reads the data from the serial port, before it's parsed for the displaying, see what's in it. If it's all 0s, or 0 length, then you know it's not actually reading the data from...
  26. Re: Visual Basic NMEA serial port problem

    If it's not a VB6 (or earlier) app it won't load and you'll have to look for another way to find the signature for what made it.

    You could try a generic dependency viewer... There's apps that will...
  27. Re: Too many controls using subclassing

    I've tried using mouse tracking via timers and vb mousemove events, it's incredibly unreliable. Especially with a higher interval, but then a lower one is going to have serious performance costs.
    ...
  28. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    If you wanted the last few members... I haven't tested this... but here's what it should look like for the 64-bit version.

    First, declare the full structure with native VB types, we're going to...
  29. Re: Visual Basic NMEA serial port problem

    Note that it won't fully decompile a native exe, only a pcode exe, and nearly everything is compiled to native (it's in the compile options when you build your vb6 program), those can only be...
  30. Re: What features in the subclass cannot be replaced by other technologies?

    1) But being responsive to user input should be part of the initial setup, so you don't have to force terminate. It's so simple to provide for, literally just a yield with doevents or similar and a...
  31. Replies
    25
    Views
    874

    Re: [RESOLVED] ColumnHeader.Tag Property

    Yeah it is a little confusing MS uses "lParam" as a spare member for user defined values in structures, then as an essential part of WndProc messages.


    Glad to help :)

    Playing around with the...
  32. Re: What features in the subclass cannot be replaced by other technologies?

    It's terrible practice to have a loop without a way to break it besides force termination. When compiled, that means the user has to terminate the process with a task manager. That's what the stop...
  33. Replies
    25
    Views
    874

    Re: ColumnHeader.Tag Property

    The ListView takes the LVCOLUMN structure, converts it to an HDITEM structure, and then sends it to the header control.

    You can get the header control hwnd with LVM_GETHEADER and interact with it...
  34. Re: Visual Basic NMEA serial port problem

    If it's a VB program, you can open it in the vbdec decompiler.

    http://sandsprite.com/vbdec/
  35. Replies
    25
    Views
    874

    Re: ColumnHeader.Tag Property

    A virtual listview provides item data via the callback, it doesn't affect the header control. You're not supplying column information in the wndproc like you are list item data.

    Re-read from the...
  36. Re: What features in the subclass cannot be replaced by other technologies?

    You shouldn't be using the stop button or end statement anyway, and while editing code during debug breaks and resuming is nice, and it's easier to fix bad error handling when the IDE never crashes,...
  37. Re: What features in the subclass cannot be replaced by other technologies?

    Ok then yeah, if you're just drawing onto a form or picturebox, you can just use the built in VB events that wrap the message pump for you, and there won't be any need for subclassing so long as the...
  38. Re: [VB6] Event Tracing for Windows - Monitoring File Activity with ETW

    Are you using XP 32-bit or 64-bit? 64bit XP existed but was fairly uncommon. I believe your issue is related to using 32bit XP.

    When you look at the documentation, you see this for the first...
  39. Re: What features in the subclass cannot be replaced by other technologies?

    In principle you could do 100% of the drawing yourself in a VB picture box or form, and limit the messages you process to only those VB provides for you and those available without subclassing. But...
  40. Replies
    25
    Views
    874

    Re: ColumnHeader.Tag Property

    Both ListItems and ColumnHeader items have it.

    But you don't need that to know which column it is.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width