Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Help when using a longlong for ReadProcessMemory

    NtWow64ReadVirtualMemory64 worked fine for me, forgive the added dependencies..see src for links

    edit:
    added write example but it requires an address in a writable memory section (such as stack...
  2. Re: Help when using a longlong for ReadProcessMemory

    you can not change api declarations types. The dll expects a very specific type of data to be passed.

    I think trick gave you a solution to do reads to an x64 address space in your other thread....
  3. Replies
    5
    Views
    200

    Re: Linking two textboxes together

    if the data was stored in a class or array or something, then you would not have regenerate the data when opening a new form to display the same data elements.
    there is no automatic way to have them...
  4. Re: what name of winapi used in convert number to string ?

    probably VariantChangeTypeEx

    https://docs.microsoft.com/en-us/windows/win32/api/oleauto/nf-oleauto-variantchangetypeex
  5. Replies
    5
    Views
    176

    Re: c4dll.dll not found

    it also depends on zlib.dll, if that is not found it will fail to load

    this is not an ActiveX dll so it can not be registered with regsvr32

    sometimes when having these problems I do a...
  6. Replies
    24
    Views
    526

    Re: Can anyone write an array module?

    if by very complete you mean full of extra garbage you will rarely use then yes .net is very very complete.

    One of the reasons people may prefer classic vb is because it is not bloated. We can...
  7. Replies
    24
    Views
    526

    Re: Can anyone write an array module?

    yes anyone can create an array module. Vb has the capability to create everything you need.

    We are our own architect.

    I am sure we have all created our own helper functions for what we needed...
  8. Replies
    7
    Views
    281

    Re: WIN32 Timer Associated with a HWND

    there is probably a way to do it, the system has to track the info and keep it recorded somewhere.
    You will probably have to use ZwQuerySystemInformation and ZwQueryObject.

    With these API i know...
  9. Re: saving and retreving controls' position in ini files

    I have had good luck with using SaveSetting/GetSetting to save this type of info to the registry
    below assumes a form object but you can tweak it for individual controls.



    Sub FormPos(fform As...
  10. Replies
    6
    Views
    270

    Re: Sleep or Pause to reclaim resources

    once in a while I have seen a folder get locked from deletion after enumerating its contents. I dont think it was a file handle issue
  11. Thread: Extending VB6

    by dz32
    Replies
    55
    Views
    1,704

    Re: Extending VB6

    Was that the one created by Maxamili?

    https://www.youtube.com/watch?v=wfKSOrofg8U
  12. Replies
    6
    Views
    270

    Re: Sleep or Pause to reclaim resources

    You could try switching to a file system monitor with ReadDirectoryChanges
    (requires a C DLL helper and a subclass in VB to receive the messages)
    ...
  13. Thread: Extending VB6

    by dz32
    Replies
    55
    Views
    1,704

    Re: Extending VB6

    the day MS breaks VB6 is the same day i switch to linux and run WIN7 in a VM as my main desktop.
    Im not sure why I bother with win 10 right now anyway.

    it was endless security bugs and apples...
  14. Replies
    14
    Views
    434

    Re: Joining controls

    project group is a good way too
  15. Replies
    14
    Views
    434

    Re: Joining controls

    debugging a usercontrol in your primary project is easier than doing it in an ocx.

    many times I will create a sub directory in ocx projects which load the usercontrol
    into an exe project...
  16. Replies
    14
    Views
    434

    Re: Joining controls

    there is a lot to weigh on the decision.

    I would not make an ocx out of them for quite a while and just use them as user controls until you are very happy with the api interface and have figured...
  17. Replies
    18
    Views
    539

    Re: Quick question about the Collection class.

    This post and code should have some clues on the internal implementation in regards to keys and items layout in memory

    http://www.vbforums.com/showthread.php?834579-Wrapper-for-VB6-Collections
  18. Replies
    5
    Views
    256

    Re: sum(a,b) vb6 vs vc++

    that is probably considered an old school way to do it in C. I am sure the MFC or QT frameworks can do it much easier albeit with more magic.
    Higher level languages like vb6 were designed to...
  19. Re: ftp upload,download by vb6,How many ways are there?

    there is also a curl dll version from Jeffery Phillips but I have not used it for ftp yet.
    it works great for http anyway.

    https://github.com/dzzie/libs/tree/master/vbLibCurl

    Protocols: dict,...
  20. Re: ftp upload,download by vb6,How many ways are there?

    once upon a time I had a winsock only ftp client. apparently not in any of the backups I have access to at the moment though :(
  21. Replies
    4
    Views
    280

    Re: How to Copy & Get binary data from Clipboard

    good catch thanks :)
  22. Replies
    4
    Views
    280

    Re: How to Copy & Get binary data from Clipboard

    this one from Steve McMahon is my goto for binary clipboard

    https://github.com/dzzie/hexed/blob/master/CClipboard.cls

    more condensed:
    ...
  23. Re: How Do I Determine if DLL is even needed?

    Simple answer - Open up the app, try to access all forms at least once run listdlls on it and see what been loaded.

    https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls

    ActiveX dlls...
  24. Thread: Parse a String

    by dz32
    Replies
    12
    Views
    519

    Re: Parse a String

    Olaf has a nice small math string parser here: https://www.vbforums.com/showthread.php?860225-simple-math-string-parser&p=5271685&viewfull=1#post5271685
  25. Re: How to statically link a LIB or OBJ file in VB6!

    Jim White had a nice linker replacement too, have not used it to much but was stable

    https://github.com/dzzie/addins/tree/master/LinkTool

    end of the day I just prefer writing a standard C dll...
  26. Re: Problem with LVM_GETITEM and 64-bit process, please help

    is it a 64 bit process or just a 64bit OS?

    This one should be working for 64bit OS Im not sure if I ever tried 64bit target process
    ...
  27. Re: How to READ and WRITE to online MYSQL database?

    UrlDownloadToFile api to request a web page with query string parameters identifying user
    server side script in php or similar to take in the query string parameters, query the database securely and...
  28. Re: How Can a VB6 app be expired remotely?

    sharing protection routines source entirely defeats the purpose :)
  29. Re: How Can a VB6 app be expired remotely?

    you are on the right track, the app will have to check in with a license server to see if it is still allowed to run
    (or every x days if you want to allow some offline use)

    the check in will have...
  30. Replies
    5
    Views
    389

    Re: Access Object Browser items from an addin

    this addin should let you navigate easily. Also include a find all search interface

    https://www.vbforums.com/showthread.php?798747-Classview-Addin-for-vb6

    for parameters and values I think you...
  31. Re: VB6 Locks up at breakpoint in Windows 10

    is the code doing subclassing anywhere?
  32. Re: firedac Control OCX FOR VB6, Faster than Microsoft ADO

    This discussion is not complete without talking about benchmarks of MongoDB.
    MongoDB is web scale.

    https://www.youtube.com/watch?app=desktop&v=HdnDXsqiPYo
  33. Replies
    5
    Views
    549

    Re: NFC RFID Reader problem

    if I was doing something that required tight access to a nfc reader I think I would start with one hooked to an arduino
    then talk to the arduino over serial from the windows pc.
  34. Replies
    5
    Views
    549

    Re: NFC RFID Reader problem

    did it come with any docs, sdk or anything? one usb bar code reader I have registers itself like a keyboard and whenever it scans it will send those key presses to whatever textbox control is active,...
  35. Replies
    2
    Views
    316

    Re: Is there any addin can show code lines ?

    I use one from Patrick de Groot, you might have to tweak it to get the output format you want

    entering ?loc in the lower filter textbox will dump total lines of code, you could add a new handler...
  36. Re: Can we get each element name of structure during run in VB6?

    yeah but it is interesting that its possible. Thanks
  37. Re: Can we get each element name of structure during run in VB6?

    cool thanks
  38. Re: Can we get each element name of structure during run in VB6?

    it sounded to me like the OPs final intent was to be able to pass any of his many UDTs to a single generic function
    which would enumerate all of the field names and dump the corresponding values...
  39. Re: Can we get each element name of structure during run in VB6?

    you could also write a small tool that parses the UDT source and automatically
    generates all of the individual dump functions so you do not have to type them all.

    does the TLI method support...
  40. Re: Can we get each element name of structure during run in VB6?

    The bits I enjoy of the class approach
    - intellisense for all members, I could never remember all attributes especially on old projects (nor want to type them)
    - easily nest sub types into new...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width