Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    10
    Views
    262

    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...
  2. 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?
  3. Replies
    11
    Views
    361

    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...
  4. Replies
    4
    Views
    313

    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
  5. Replies
    5
    Views
    416

    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...
  6. Replies
    5
    Views
    416

    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,...
  7. 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...
  8. 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...
  9. Replies
    48
    Views
    1,416

    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....
  10. Re: [VB6]Hi the trick,how to enumerate all modules and members in a project?

    sounds painful but good luck!
  11. 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...
  12. Replies
    48
    Views
    1,416

    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...
  13. Replies
    48
    Views
    1,416

    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
  14. Replies
    48
    Views
    1,416

    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
  15. Replies
    48
    Views
    1,416

    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...
  16. Replies
    48
    Views
    1,416

    Re: Subclassing At Its Simplest

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

    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...
  18. Replies
    24
    Views
    676

    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...
  19. Replies
    24
    Views
    676

    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...
  20. Replies
    24
    Views
    676

    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...
  21. Replies
    19
    Views
    578

    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...
  22. Replies
    10
    Views
    656

    Re: Post Viewing Problem

    I have been getting very very slow page loads lately
  23. Replies
    11
    Views
    1,246

    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).
  24. Thread: Arduino in VB6

    by dz32
    Replies
    12
    Views
    628

    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...
  25. Replies
    11
    Views
    1,246

    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...
  26. 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...
  27. 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...
  28. 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...
  29. 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
  30. Re: Decompressing a split ACE archive along with progress bar

    It might sound simple, but

    I would first start looking for open source implementations of ace archive unpackers. You can probably find some command line ones you could just shell out. They won?t...
  31. Replies
    43
    Views
    49,522

    Re: "continue" in vb6?

    If it was a case of passing 15 variables now were in the territory of having a it own module with private module level vars for the different functions to use freely. Or a class type to manage state....
  32. Re: Matt Curland’s Typelib editor where to find?

    you can buy a copy of the book for like $5-8 on amazon,

    https://www.amazon.com/Advanced-Visual-Basic-Techniques-Everyday/dp/0201707128

    then answer a trivia question from the book to get the...
  33. Re: Speed difference between exe and IDE ? (At least on Win10)

    usually I would expect the IDE to be slower than the exe. The IDE interprets pcode, native should be faster. The IDE could be faster on some things like if a dll has to be loaded because the IDE...
  34. Replies
    4
    Views
    397

    Re: Get the child window

    Set parent seems to glitch on minimize restore as well might have to watch fir that and reapply
  35. Replies
    97
    Views
    4,763

    Re: Why did Microsoft abandon ,killed VB6?

    I tried using some python apps that had a GUI, they were painfully slow. I would agree python is best for command line or embedding
  36. Replies
    43
    Views
    49,522

    Re: "continue" in vb6?

    I try not to nest for’s to deep either. If I needed multiple fors with continues things are now complex enough to break inner loops up into a sub functions. I try to stay pretty flat that’s where...
  37. Replies
    43
    Views
    49,522

    Re: "continue" in vb6?

    I regularly use multiple goto’s in this situation to avoid nesting with no apologies it’s practically indistinguishable from continue.
  38. Replies
    97
    Views
    4,763

    Re: Why did Microsoft abandon ,killed VB6?

    Is the .net default compile still IL that gets jitted to native code? Seem to remember an optional manual post processing compiler that could convert to full native code. It’s been a while details...
  39. Replies
    97
    Views
    4,763

    Re: Why did Microsoft abandon ,killed VB6?

    Isn’t c# / .net basically a reworked j++ after they got sued? That would put c# as the primary implementation language as well.
  40. Replies
    97
    Views
    4,763

    Re: Why did Microsoft abandon ,killed VB6?

    Ai jibber jabber filter is glitching
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width