Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Issue with accessing data from what I assume is a collection

    try



    Dim o as object
    set o = ticks(1)
    msgbox typename(o)


    then you can look up that object name in the object browser to see what it supports. A watch on o could also reveal more
  2. Re: Issue with accessing data from what I assume is a collection

    The object browser should give you a better idea of what your dealing with as well
  3. Re: Issue with accessing data from what I assume is a collection

    Looks like itís an array of classes from the web page sample
    Sometimes .count and .count() can give different results
    You can add a watch expression to the object in the vb ide and it can dump all...
  4. Re: Issue with accessing data from what I assume is a collection

    I would probably consume their fancy types from a .NET dll using their sample code and then
    forward the data on to my vb6 code in a way I could control explicitly and understand intrinsically.
    ...
  5. Re: [RESOLVED] VB6 COM/Code Object Method Name ---> vTable Entry Number

    Starting to look into how implements works. It messes with the vtable and public variables table

    http://sandsprite.com/blogs/index.php?uid=7&pid=517&year=2022
  6. Replies
    5
    Views
    181

    Re: Make CommonDialog filename non-editable

    its also pretty easy to just create your own file open/browse folder form. I actually prefer the XP style to the newer dialogs
    so I just cooked up my own. lets you control everything explicitly...
  7. Re: vb6 - performing a simple bitcoin node handshake with winsock

    I canít help with the question as proposed but if it were me I would just an existing library in another language and spend my time learning to integrate with existing known working code.

    Same...
  8. Re: vb6 compiler takes longer time on windows 10 than win7

    There is no real answer just guesses.

    Newer os has a lot more junk running.
    We also canít really know the comparison between how much resources eset uses compared to defender which may differ...
  9. Re: html object library not work correct and any better html parser?

    I gave up on using it to parse web page data. Not sure which version of ie it represents anymore but it has always seemed fussy to me and problematic. I would always just manually extract stuff from...
  10. Replies
    10
    Views
    1,619

    Re: project one workng with project2

    and just to be thorough, an easy way to patch all classes in the project, starting from any random (internal) class instance
    ...
  11. Replies
    2
    Views
    255

    Re: Solve equation from textbox [VB6]

    I would probably use the ms script control and give the user access to your graphing class. User could write functions of defined prototype which you call as you process.

    You could include...
  12. Replies
    10
    Views
    1,619

    Re: project one workng with project2

    ok, actually this patching in memory does work, I just missed a small detail.

    we need the first live instance of the class to easily get to the object structure.
    however this first class was...
  13. Replies
    10
    Views
    1,619

    Re: project one workng with project2

    soooo patching it in memory after loaded by the runtime was a fail, has to be patched on disk or reach deeper into the runtime

    misc note, the error code does not appear in the vbruntime itself :(...
  14. Replies
    10
    Views
    1,619

    Re: project one workng with project2

    looks like you can make this work with private classes once compiled if you change the Object.ObjectType to 0x118803

    these are bitfields so this is crude could break stuff, better to set the...
  15. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    tadah magic :)

    awesome

    works perfect with Eduardos IVBPrint interface too
  16. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    I opened up vb6 and attached ollydbg native debugger then opened up the memory view window and did a search for the string. I canít remember which one did the trick it might have been in heap memory...
  17. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    Or do a search and destroy in memory so itís only active when you want it
  18. Re: Is there a function to return that code running in p-code inside IDE

    I am afraid I do not understand.

    You can determine if exe was compiled to pcode by looking at the bytes at offset returned by address of or by looking at pe file structure harder).

    To include...
  19. Re: Windows 10 Component Registration Issues

    When you reregustered did to make sure you were using a 32 bit version of cmd.exe from the syswow64 folder?

    I do hate how ms handled this
  20. Re: Is there a function to return that code running in p-code inside IDE

    the ide always runs as pcode

    addressof returns the address of a small native stub to transition from native to pcode



    mov edx, offset Module1_PcodeFunc_0
    mov ecx, offset...
  21. Re: [RESOLVED] How to retrieve the name of the procedure / function at runtime

    this is super handy to use at a breakpoint when your not sure how you got there
    easy way to document the code and paste the call stack in as a comment.

    there must also be a way to retrieve the...
  22. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    it must be subclassed, dont know how to enumerate a subclass chain though
  23. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    to see the wndproc you can attach ollydbg native debugger to the vb6.exe process

    view->windows then find the immediate window in the list the clsproc is the target

    Windows, item 76
    ...
  24. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    Thatís probably what I was thinking of. Does a window spy show the class name as vbawindow with a wndproc in vba6.dll?
  25. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    What was that commercial addin that added code folding and red squiggles and crazy features to the vb editor windows? Always wondered how they did that. Maybe the replaced the vbawindow class...
  26. Re: [RESOLVED] Problem with Static variable in DLL

    yeah I wouldnt be surprised if things are broken in that scenario. you would have to look explicitly at where that static variable memory alloc was made. Hacks are rarely perfect in such a complex...
  27. Re: Problem with Static variable in DLL

    a bit of errata, so a class level variable is stored at objptr(class) + x its data offset

    a static var in a method, will use objptr(class)+staticMemOff as a pointer to a static variable memory...
  28. Replies
    20
    Views
    672

    Re: 64 bit AND operations

    I still just feel better using a C library to handle x64 numbers even with an external dependancy
  29. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    aghh gotcha, makes sense thanks
  30. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    isnt that the magic of the bang operator though? rs("id") is already a base value type not an object?

    the following works



    'class 1
    'this is the default method of the class
    Function...
  31. Replies
    26
    Views
    1,165

    Re: Redirect where Debug.Print goes.

    One little tidbit I never knew about debug.print

    So you can pass debug.print a class as an argument. If that class has a default function, printObject will call its default method and display its...
  32. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    well it was pretty easy to break the IDE support for the debug. object just with a string overwrite.
    I havent been able to declare my own sub Print yet though.

    nope nevermind, even with debug....
  33. Replies
    27
    Views
    1,257

    Re: Immediate Window ... a weird animal

    You might be able to wack the vb parsers internal name of the debug object so that your own debug.print ends up being the one which gets resolved ?

    Nevermind, not sure how to dynamically find the...
  34. Re: [RESOLVED] How to deal with bitfields with an odd number of bits?

    Good link thanks :)
  35. Re: [RESOLVED] How to deal with bitfields with an odd number of bits?

    I tend to start with this approach as well if I have any question at all. A few minutes to get a concrete answer saves hours down the line.

    It can get answers in literally a minute or two though.
  36. Re: How to deal with bitfields with an odd number of bits?

    When in doubt write a small c console program and inspect memory with test values or a dll for use with vb so you can pass the data back and forth and make sure you are interoperating properly....
  37. Replies
    11
    Views
    565

    Re: Simulate multiple classes in one module

    For a project of that scale vb6 may no longer be the right tool for the job I am sad to say.
  38. Replies
    11
    Views
    565

    Re: Simulate multiple classes in one module

    I am sure what you want to do can be done with lightweights but..

    what you save on physical files you pay for 5x in complexity and non-maintainability.

    I often find myself expanding small...
  39. Replies
    69
    Views
    1,679

    Re: Average age of people on this forum

    I have occasionally see users post reference to thier age and been surprised by some 80yr olds still at it. My guess is average will be 65 How do we embed one of those visual poll things. Might get...
  40. Replies
    69
    Views
    1,679

    Re: Average age of people on this forum

    48, first basic was programming choose your own adventure games on a commodore pet and casset tape storage around 10, but didnít really start programming again till 27. Just gaming in between
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width