Search:

Type: Posts; User: TTn

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: VB6 QUESTION: Do you ever find yourself creating pseudo forms?

    I've never used that type of message box alternative, but the idea may be helpful in some situations. I have made a custom form to avoid rare yet critical issues with msgbox and the api version....
  2. Re: Making an executable file with the .vb extension?

    The RISC ALPHA 64 bit edition needs specific hardware. I have a copy from the office developer tools 2000 cd, but no device to run it on. Although it was suggested that an emulator should work. ...
  3. Re: Making an executable file with the .vb extension?

    If you read the full documentation, you'll see that is of course. The controls are obviously different, so it mentions that you have to change progids to make the full conversion. However, there are...
  4. Re: Making an executable file with the .vb extension?

    182672
    Once recompiled on VB6 the files are still different, but virtually the same.
  5. Re: Making an executable file with the .vb extension?

    If you have the files from Github, then try this:
    To open the project file change .ebp to .vbp first.
    You can open the .ebf file manually with VB6, ie right click the file, click open with...
    ...
  6. Re: Making an executable file with the .vb extension?

    Thank you for testing. Maybe Visual basic is not installed on this machine? That could be relevant to how and why it works.

    I would attach the eVB Project files here to inspect, but the forum...
  7. Re: Making an executable file with the .vb extension?

    It is confirmed. This is a different file format (.vb) which is largely interchangeable with the .exe format.
    for example, if you start a .vb file made from eVB3, it will be interpreted/converted...
  8. Re: Making an executable file with the .vb extension?

    The file is a tokenized version of the program, as documented. The task manager appears to be loading the image in memory by interpreting the file showing the appended exension. Although, you may...
  9. Re: Making an executable file with the .vb extension?

    Yes, if you have VB.NET installed, or some other picking it up, that will open as a code file. I've tried it also here on fresh Windows 11 and it runs as an executable. The task manager displays...
  10. Making an executable file with the .vb extension?

    Apparently VB6 can make and use executable files with an intermediate file extension (.vb), because it shares compatibility features with eVB3. This intermediate file is a tokenized version of the...
  11. Re: Need help or documentation on vba6.dll functions, Eb api

    eVB (Embedded Visual Basic 3.0)

    https://www.youtube.com/watch?v=bUZDOR7Ky24

    I was looking through my old CD's and found the old Embedded Visual Tools 3.0.
    It includes Embedded Visual Basic 3.0...
  12. Re: Need help or documentation on vba6.dll functions, Eb api

    I don't see them in any of the VBE6.dll either, for versions 6.0-6.5. The object model may still be powerful but it is limited for certain purposes. Good point.

    I think the reloadable module...
  13. Re: Need help or documentation on vba6.dll functions, Eb api

    Thank you once again Trick!

    I'm not exactly sure what function name means, because it seems to be the opposite of reloadable, ie cannot be released or deleted. If anyone else is curious or want...
  14. Re: Need help or documentation on vba6.dll functions, Eb api

    Trick, nevermind these API's are related to record macros, ie Record object. It needs host integration I believe.
    The whole group of Record object API declarations and documentation should be...
  15. Re: Need help or documentation on vba6.dll functions, Eb api

    Here is some relevant history that I didn't see before:

    wikipedia:


    182552
    * Omega was considered a query building tool.

    * Omega featured pull-down help for dBase users, who could
    select...
  16. Re: Need help or documentation on vba6.dll functions, Eb api

    I learned quite a bit more from the EbGetErrorInfo and EbShowError functions. I was able to solve a few more of the functions with the app defined error info:


    Current snapshot of caller output...
  17. Replies
    32
    Views
    15,274

    Re: vbObjectError: what is it for?

    Try these API in the debugger:


    Private Const ERROR_SUCCESS As Long = 0
    Private Const ERROR_FAILURE As Long = 40036
    Private Declare Function apiEbGetErrorInfo Lib "vba6.dll" Alias...
  18. Thread: Extending VB6

    by TTn
    Replies
    70
    Views
    4,100

    Re: Extending VB6

    lol, yeah something like that, a reproductive organ...
  19. Thread: Extending VB6

    by TTn
    Replies
    70
    Views
    4,100

    Re: Extending VB6

    BTW, "Long Live the Cucumber"!

    That's a VB6 Easter egg, very similar to the "Show VB Credits" Easter egg. Has anyone seen that yet?
    Hint it grows.
  20. Thread: Extending VB6

    by TTn
    Replies
    70
    Views
    4,100

    Re: Extending VB6

    Oh really? I had no idea, thanks.


    Fascinating...

    Of course. I am saying that VB.NET can now hopefully stay stable as legacy version for interop with VB6. Making it extensible when you need...
  21. Thread: Extending VB6

    by TTn
    Replies
    70
    Views
    4,100

    Re: Extending VB6

    VB.NET is now complete. Hopefully, it will be a stable interchangeable standard.
  22. Re: Strange Boolean behaviour, not True and not False

    Yup, second Elroy.



    Private Sub Test()

    If "1" Then
    MsgBox "first true"
    Else
    MsgBox "first false"
  23. Re: Need help or documentation on vba6.dll functions, Eb api

    https://www.youtube.com/watch?v=PT9fy6Cx2Po

    Some of the partners and subsidiaries of Microsoft may of had the knowledge and access to these functions without rights to distribute. There is some...
  24. Re: Need help or documentation on vba6.dll functions, Eb api

    Trick, do you know how to declare and use EbRecordSet? I think this is an very old version of OpenRecordSet applied to Visual Basic internally.
    It seems to need an object, or perhaps more than 5...
  25. Replies
    18
    Views
    1,344

    Re: Migrate VB6 to .NET

    Migration tools do work well in large projects, but only if you update the code first to be more explicit, quasi-VB.NET style, then use a converter VB.NET to C#. It goes a long way. For example,...
  26. Replies
    11
    Views
    968

    Re: What are square brackets used for in VB6?

    Slightly off topic but may be relevant.
    The behavior recently changed within the last couple months. Interop code and classes using the brackets [] in VS 2008 is now com-visible to VB6. I tried...
  27. Re: Need help or documentation on vba6.dll functions, Eb api

    Thank you for that sample as well. I knew it existed but had not gotten to it yet. I know about IUnknown and the life time use, but the premise was that a Microsoft employee said that the early...
  28. Re: Need help or documentation on vba6.dll functions, Eb api

    It appears that some of these API declarations only work while being debugged, and do not work in an addin. At least out of box. Several functions take cProj as the first parameter/arg passed...
  29. Re: Need help or documentation on vba6.dll functions, Eb api

    The function to return the declaration should be something like this:


    Option Explicit
    Private Const ERROR_SUCCESS As Long = 0
    Private Const ERROR_VOID As Long = 35
    Private Const DT_BYREF As...
  30. Re: Need help or documentation on vba6.dll functions, Eb api

    Ok, that's strange because the types are not matching. Ah, that must be because they are passed ByRef. Ok, I see. The long passed by reference in this sample itself has type DT_BYREF_I4=16387 ...
  31. Re: Need help or documentation on vba6.dll functions, Eb api

    Here are some of the ids listed as constants.


    Private Const INVOKE_STEP_INFO As Long = 0
    Private Const INVOKE_STEP_OVER As Long = 1
    Private Const INVOKE_CONTINUE As Long = 2 'WHILE STEPPING...
  32. Re: Need help or documentation on vba6.dll functions, Eb api

    Here is how to invoke some of the commandbarbutton functions by an id.
    The EbInvokeItem function appears to take one parameter arg, with perhaps more optional overloads.


    Private Declare...
  33. Re: Need help or documentation on vba6.dll functions, Eb api

    This works awesome Trick! We can finally document these in a significant manner.

    I have been using the Undo/Redo to enhance the number of undos and it works without error for a couple months...
  34. Re: Need help or documentation on vba6.dll functions, Eb api

    Thank you Elroy, it's been awhile. Good to see you are doing well.
  35. Re: Need help or documentation on vba6.dll functions, Eb api

    Many thanks! It looks pretty easy after all.
  36. Re: Need help or documentation on vba6.dll functions, Eb api

    Firehacker or Trick, how do I use TipGetArgCount? If we can get the number of parameters the entire VBA6.dll processing can be monitored in one automated swoop.
    I started to document some of these...
  37. Re: Need help or documentation on vba6.dll functions, Eb api

    'In a designer addin (with base project Trick Advanced Tools)


    Private Function InitializeHooks() As Boolean
    Dim hVba As Long
    If mIsHookInit = True Then
    InitializeHooks = True
    ...
  38. Re: Need help or documentation on vba6.dll functions, Eb api

    I made some progress recently. The VB6 IDE is very extensible with these. Is there an easier way to determine the number of parameters?

    In a base module.



    Public pfnEbAddAvailEbref As Long...
  39. Re: VB6 Resource Editor Missing from Add-Ons

    Looks like you you might have installed enterprise SP6 in combination with VS professional edition? That problem was hard to get rid of. If so, uninstall VS, then try reinstalling it with a...
  40. Replies
    9
    Views
    953

    Re: change vb6 splash screen user

    Any hints on how to scramble (for resetting not descrambling) the content in this resource?

    Here is what I found with the related APIs.

    We can reset the serial number after the scrambled...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width