Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    3
    Views
    135

    Re: Common Dialog for Fonts

    here is one originally from psc by www.computing.iscute.com
    (now lightly entangled with and api based CCmnDlg class)

    182783
    ...
  2. Re: Passing UDT as variant, for saving/loading UDTs

    Kind of a specialty case but maybe useful, you can use something like a memory structure class to generically
    hold the different types in one configurable container which can be...
  3. Replies
    6
    Views
    333

    Re: How to detect loaded dll

    sounds legit
  4. Re: VB6 QUESTION: Do you ever find yourself creating pseudo forms?

    I have done in several situations, non-modal messagebox type thing sometimes If I dont want the app to hang, and sometimes I use a frame with an X in the corner as a lazy options config dialog. I...
  5. Replies
    9
    Views
    403

    Re: How to add OCX control at runtime

    Cool I didnt know Controls.Add worked with external ocx controls. Confirmed the ocx still loads on demand after the .add call (wasnt sure with the withevents declaration)

    Ninya looks like your...
  6. Replies
    2
    Views
    185

    Re: VB Addin (Not Form by Userdocument)

    this one uses a userdocument. docking is automatic by ide

    https://www.vbforums.com/showthread.php?798747-Classview-Addin-for-vb6
  7. Replies
    9
    Views
    403

    Re: How to add OCX control at runtime

    ocx controls are loaded on demand the first time the form that hosts them is loaded.

    If you could get away with using a separate form for graph display that should keep the
    ocx and its...
  8. Replies
    9
    Views
    403

    Re: How to add OCX control at runtime

    the easy thing to do is to have one(or several) on the form already with visible = false or
    position outside viewable area and then show on demand

    what is the use case where you would want it...
  9. Replies
    18
    Views
    501

    Re: CENTER string in string

    mine was more fun :)
  10. Replies
    18
    Views
    501

    Re: CENTER string in string

    the following should solve the problem



    Private Sub Form_Load()
    Debug.Print centerText("my test")
    End Sub

    Function centerText(Text As String) As String
  11. Re: How do I get the baseaddress of a 64 bit process?

    I just use a small 64bit helper app which outputs the results to the command line in csv string format.
    Then parse the results from stdin. you launch x64helper in a hidden window so no console...
  12. Replies
    64
    Views
    1,511

    Re: Can anyone write an array module?

    it doesnt actually matter if you can do x.a().b().c() or c(b(a(x)))
    or if the array functions are built into a class object or sitting in a module accepting an array as an arg

    simply preference....
  13. 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...
  14. 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....
  15. Replies
    5
    Views
    254

    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...
  16. 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
  17. Replies
    5
    Views
    228

    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...
  18. Replies
    64
    Views
    1,511

    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...
  19. Replies
    64
    Views
    1,511

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

    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...
  21. 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...
  22. Replies
    6
    Views
    318

    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
  23. Thread: Extending VB6

    by dz32
    Replies
    65
    Views
    2,576

    Re: Extending VB6

    Was that the one created by Maxamili?

    https://www.youtube.com/watch?v=wfKSOrofg8U
  24. Replies
    6
    Views
    318

    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)
    ...
  25. Thread: Extending VB6

    by dz32
    Replies
    65
    Views
    2,576

    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...
  26. Replies
    14
    Views
    535

    Re: Joining controls

    project group is a good way too
  27. Replies
    14
    Views
    535

    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...
  28. Replies
    14
    Views
    535

    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...
  29. Replies
    18
    Views
    610

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

    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...
  31. 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,...
  32. 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 :(
  33. Replies
    4
    Views
    308

    Re: How to Copy & Get binary data from Clipboard

    good catch thanks :)
  34. Replies
    4
    Views
    308

    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:
    ...
  35. 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...
  36. Thread: Parse a String

    by dz32
    Replies
    12
    Views
    571

    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
  37. 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...
  38. 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
    ...
  39. 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...
  40. Re: How Can a VB6 app be expired remotely?

    sharing protection routines source entirely defeats the purpose :)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width