Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.34 seconds; generated 19 minute(s) ago.

  1. Replies
    1
    Views
    81

    Re: open regedit to desired key

    here is how the old regmon did it (should be xp compatible)

    https://github.com/hfiref0x/WinObjEx64/blob/519194140e96dfae90add12a0dc3b4da70817c1b/Source/WinObjEx64/props/propDriver.c#L559
  2. Replies
    1
    Views
    81

    open regedit to desired key

    regmon used to have a neat feature where it could open regedit and navigate the treeview to the registry key it was displaying.
    turns out Mark spun it off into its own command line utility as well...
  3. Replies
    6
    Views
    217

    Re: Please Reset With ElRuffsta

    I missed the drama but encourage the desire to mend ways and man up shows character and I respect that.

    Most people just create a new anonymous handle and keep going. I have found myself ignoring...
  4. Replies
    10
    Views
    229

    Re: Ask: The correct way to create an ActiveX DLL

    Pyhthon can easily use activex dlls with win32com from pywin32 package and c# no problem too
  5. Replies
    10
    Views
    229

    Re: Ask: The correct way to create an ActiveX DLL

    If your main exe is done in c I understand the impulse to want to make a classic dll in vb. (Although I still would avoid it)
    If the main exe is almost anything else standard vb6 activex dll is...
  6. Re: Select a record in a ListView by selecting the same record from another ListView

    You could use a filter list and set the filter programmatically to the invoice number and filter column to invoice column
    ...
  7. Replies
    40
    Views
    13,436

    Re: How can i make vb upload a file to my web server?

    ftp transfers will be transferring your user name and password in clear text across all the networks involved

    might want to put a php script on a https enabled webserver and do a form submission...
  8. Replies
    11
    Views
    1,237

    Re: thinBasic as embedded script language

    If it’s closed source and still needs new exports for functionality like add variable seems like it’s early in development, and no control over it. Might be interesting to play with but dangerous to...
  9. Replies
    14
    Views
    661

    Re: Challenge: Which Device Used for Entry | VB6

    I don’t know if they still make them but netduino was also a very easy platform. you use c# and the vs debugger even works with all the io pins like arduino

    Edit: nevermind I think they have been...
  10. Re: Weird gray-out while remotely adding menus to another program

    Try subclassing the main window from an injection and see if you can intercept any of the existing menu click messages might get you closer or just steal an existing menu item and change its caption?
  11. Re: App works fine in the IDE, closes unexpectly in runtime mode

    Sounds like a memory corruption error usually from a bad api declaration or usage. Start by searching for any copymemory calls disable any new ones and see when it stops crashing

    If you compile to...
  12. Replies
    13
    Views
    518

    Re: How to Add Platform property in .vbproj file?

    If you are compiling a vb6 dll or ocx run the ide as administrator do it sets the proper registry keys. If you are just registering existing vb6 dlls/ocxs make sure you are running a 32 but version...
  13. Re: Weird gray-out while remotely adding menus to another program

    Are you doing this from an injection dll? A wndproc in your exe will not be available as a menu handler in another exe. Is PrevWndProc 0?
  14. Replies
    14
    Views
    661

    Re: Challenge: Which Device Used for Entry | VB6

    Do the rfid readers just spit out keyboard type output to whatever form element has focus or do they have an sdk with an event triggered when data is available? Seems like you would need the second...
  15. Replies
    4
    Views
    357

    Re: Package and deployment app throws error

    Inno setup with istool to help create the script

    https://jrsoftware.org/isinfo.php
    http://www.istool.net/

    Package and deployment wizard isn’t great
  16. Replies
    5
    Views
    447

    Re: InnoSetup and "Wacatac.b!ml"

    Try wrapping notepad in it if still triggers then submit a false positive for inno stub. The ml stands for machine learning so it’s probably an autogenerated signature that was overly broad and...
  17. Replies
    5
    Views
    447

    Re: InnoSetup and "Wacatac.b!ml"

    Vb6 triggers a lot of bad av sigs because the file format is not well documented. You can try submitting your individual files to virustotal and see which one specifically triggers the detection,...
  18. Re: [VB6]Hi the trick,how to enumerate all modules and members in a project?

    Also look at plugin models any plugin user will expect to have to call an init function on their own to gain access to the library. Nothing wrong with having an end user follow a protocol . They will...
  19. Re: [VB6]Hi the trick,how to enumerate all modules and members in a project?

    If you are shooting for integrating with other languages and some of your functions need an init be called anyway, you can have your init function return the addresses of all of the modules functions...
  20. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    the subclass code I use is just the standard vanilla setwindowlong. It is only IDE safe because it is in an ActiveX dll.

    Its very similar to the vb accelerator one....
  21. Re: [VB6]Hi the trick,how to enumerate all modules and members in a project?

    sounds painful but good luck!
  22. Re: [VB6]Hi the trick,how to enumerate all modules and members in a project?

    You can probably use a linker flag to export a target function and add it to the export table. Enumerating the modules and functions even in pcode is more code than it’s worth. Your really making it...
  23. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    I hear ya, Im opposite, for me its the only way. Keeps the subclassing simple with no hacks or debugging limitations. Everything I do requires external dependencies anyway so whats one more. Although...
  24. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    or use the subclassing code from an ActiveX dll which gets class_terminate called even when IDE stop button get hit
  25. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    A quick test would be to just put a msgbox in dll class terminate, use it from exe test and hit stop in ide. Code on another computer
  26. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    the subclassing code I use with setwindowlong is IDE safe but doesnt do anything fancy so I always assumed just wrapping it in a dll was enough and the terminate event always gets called correctly...
  27. Replies
    48
    Views
    1,632

    Re: Subclassing At Its Simplest

    Probably ide safe if it was used from an active x dll?
  28. Replies
    24
    Views
    738

    Re: Force vb6 standard module initialization

    That would probably work. activex exes do have side effects I kinda hate them they tend to hang and remain running and seem to make a mess of the registry during dev as new versions get compiled and...
  29. Replies
    24
    Views
    738

    Re: Force vb6 standard module initialization

    Global multiuse is a neat setting fir dll/ocx projects

    Automatically creates one instance of the class and all of its functions are available for use without needing a class. Reference.
    Not...
  30. Replies
    24
    Views
    738

    Re: Force vb6 standard module initialization

    Module functions are more or less for stand alone code. Once you get into shared statefull variables and variables used across functions it’s more into the design intent of a class. Even if you only...
  31. Replies
    24
    Views
    738

    Re: Force vb6 standard module initialization

    I’m the various user functions check to see if a module level is initialized variable is true yet or not, if not each dependent sub can trigger init on its own if necessary

    If not isInit then call...
  32. Replies
    19
    Views
    626

    Re: Ways to crash the VB6 IDE

    There is one I hit once in a while if I start debugging and it asks to save files, you create a new folder in the common dialog and some click behavior I can’t remember will crash it.

    Old school...
  33. Replies
    10
    Views
    715

    Re: Post Viewing Problem

    I have been getting very very slow page loads lately
  34. Replies
    11
    Views
    1,390

    Re: A VB6 FRM to PY Converter

    Ha nice. I hadn’t tried it, someone at work mentioned it. It still amazes me how competitive vb6 is. (And that’s actually kinda sad in a way too).
  35. Thread: Arduino in VB6

    by dz32
    Replies
    12
    Views
    682

    Re: Arduino in VB6

    There should be a handful of working samples on the forum already. But yeah open it once in form load make sure there are no app.previnstance maybe unplug and reopen usb if hung

    Can?t remember but...
  36. Replies
    11
    Views
    1,390

    Re: A VB6 FRM to PY Converter

    Stumbled across this today, might be good for ideas or how they implemented stuff

    UI files generated using Qt Designer: https://build-system.fman.io/qt-designer-download

    Command to convert UI...
  37. Re: [RESOLVED] Need help with crazy C++ pointer macro

    When I translate stuff like this I almost always explicitly verify the results with c compilation and asm just to be sure. Hunting down bugs later with faulty assumptions can be treacherous as more...
  38. Re: Need help with crazy C++ pointer macro

    Ebp/rbp+8 is just loading the first argument to the function the functional bit is the second mov.

    You can test it by passing it some data like a structure or array and seeing which element is...
  39. Re: Decompressing a split ACE archive along with progress bar

    Zip has an open source dll thats vb usable with lots of code examples in vb
    Im not sure if it supports a progress callback but it would be straightforward to add.
    Search zlib dll vb6

    You could...
  40. Re: Need help with crazy C++ pointer macro

    A lot of that might just be casts to make the compiler happy, I would compile it and look at the asm to see what it boils down to
Results 1 to 40 of 499
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width