Search:

Type: Posts; User: MountainMan

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    45
    Views
    19,062

    Re: vbAccelerator site gone?

    Tanner,

    Fafalone says the ripped vbAccelerator site is 81 mb. When I downloaded the code from your GitHub site and it is only 66.3 mb. Did you compress more or leave some things out?
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I have a utility/user guide for Krool's vbCCR and vbFlexGrid controls. In addition, it provides a mechanism that you can develop with the .OCX versions (faster & more stable in the IDE) but compiles...
  3. Re: Krools Common Controls - Documentation and an Update/Compile Utility

    Version 3.4 of this utility is available in post #1. The only change is that it now handles VBFlexGrid through v1.7.
  4. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    John,

    Below is a very simple example of a Gosub in VB6/VBA. Note that what the subroutine does in this example is trivial and I would never write code using a Gosub like this but it should be...
  5. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    John, it is incredibly easy to use. I am going to post my latest code in a day or so so you should be able to see how easy it is.
  6. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    Techgnome, I will post code for VB6 and VBA (it is almost identical code) in the next day or so.

    I disagree with not being able to pass variables. You just have to think about it a bit...
  7. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    I am not sure I understand your concern about local scope. Since Gosub's have to be embedded within a Procedure they have access to any procedure-level vari9abes and the global variables just like...
  8. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    Strange, you use the performance times to say that Gosub has no advantage outside of the IDE but then say the difference in performance time means you shouldn't use Gosub. I am not sure you can have...
  9. Replies
    17
    Views
    3,047

    Re: GOSUB - Is It Realy That Bad?

    PlausiblyDamp,

    A Gosub has to be in the same procedure as the calling code so it has access to all of the variables already in that procedure. So it doesn't cause any increase in Global variables....
  10. Re: Krools Common Controls - Documentation and an Update/Compile Utility

    Smileyoufu,

    The OCX2StdExe does not have any of Krool's controls in it so you can't specify it as the VB6 project.

    You should compile OCX2StdExe normally within the VB6 IDE. Then use the .EXE...
  11. Re: CommonControls (Replacement of the MS common controls)

    Krool,

    Your latest update to ComCtlsDemo will not run. It compiles but when run gives the following error:

    Run-time error '438'
    Object doesn't support this property or method

    Debug takes me...
  12. Re: [VB6] ActiveX VBFlexGrid (Replacement of the MSFlexGrid control)

    7edm,

    I have a utility https://www.vbforums.com/showthread.php?869477-Krools-Common-Controls-Documentation-and-an-Update-Compile-Utility that automates updating VBFlexGrid and VBCCRxx that easily...
  13. Re: Krools Common Controls - Documentation and an Update/Compile Utility

    smileyoufu,

    Can you please send me a copy of a program you have that shows the problems you describe in post #65 above? Thanks.
  14. Re: Krools Common Controls - Documentation and an Update/Compile Utility

    Version 3.3 is now uploaded in message #1. The biggest changes are 1) it now supports VBFLexGrid v1.6 and 2) it works better with VBCCR17.
  15. Re: Krools Common Controls - Documentation and an Update/Compile Utility

    An update is coming within the week to address your concerns.
  16. Replies
    20
    Views
    17,018

    Re: [VB6] - Multi-line standard tooltip.

    I didn't like this tooltips routine for several reasons including quick show/hide. I wrote a better class module that does unicode here.
  17. Replies
    12
    Views
    3,490

    Re: Public Variables in a Class Module

    wqweto,

    I think I disagree with you. I put a utility in the CodeBank the other day that packs variables, properties and UDT's into/out of Byte arrays. For Properties in Class modules/forms I had...
  18. Replies
    12
    Views
    3,490

    Re: Public Variables in a Class Module

    You don't have to go through a procedure to set the variable value or to retrieve the value. I hope the trick shows the disassembled code for a call to a simple Public variable and then the same...
  19. Replies
    12
    Views
    3,490

    Re: Public Variables in a Class Module

    Couttsj,

    Even if you have multiple instances of the class running, you have to refer to each Public variable with ClassName.VarName so there is no chance the variable names getting mixed up.
  20. Replies
    0
    Views
    953

    VB6 Bugs & Idiosyncrasies

    I have looked for a list of bugs & idiosyncrasies and I haven't found one, which is odd since the program has been out for 25 years. With all of the great posters here maybe we can generate such a...
  21. Replies
    12
    Views
    3,490

    Public Variables in a Class Module

    Let's say I have a Class module that has 1 variable, "AA As Long". Let's further assume I need to set the value f this variable. If I need to screen the inputs (for example, set it to 0 if the...
  22. Replies
    14
    Views
    49,920

    Re: [VB6] PipeRPC - RPC Over Named Pipes

    dilettante,

    I am thinking of converting your control for use in 64-bit VBA. Since it is almost impossible to write a control for 64-bit VBA in VB6/VBA, I thought of converting it to a class...
  23. Export/Import Variables, Properties & UDT's for VB6 & VBA

    This system enables you to bundle data from a program into a highly compact binary array that can be sent to other programs, saved to disk, re-used within a program, etc. It works in 32- and 64-bit...
  24. Re: Code in Form vs code in Module ? Why one more the other ?

    Trick,

    Did you look at the disassembled code for a Public procedure in a class module calling a Pulic function? Also, how about the same thing with a Friend procedure?

    I know class modules are...
  25. Re: [VB6] CSharedMemory - class for dynamic memory allocation in shared memory

    Since the offsets are to locations in 64-bit space it would seem that they would be LongLong's instead of Longs, especiallly in your procedures you add them to other LongLong's (or 64-bit LongPtr's...
  26. Re: [VB6] CSharedMemory - class for dynamic memory allocation in shared memory

    The Trick,

    I am trying to expand your code to cover 64-bit VBA and I wanted to verify something with you. You list a heap structure and a block structure near the top of your code. The offsets in...
  27. Replies
    93
    Views
    39,017

    Re: Planet Source Code Jumbo Resource CDs

    That's it. Thanks.
  28. Replies
    93
    Views
    39,017

    Re: Planet Source Code Jumbo Resource CDs

    lordnikon,

    Thanks for the link. I can't get any of the files to download. There are 2 ways to choose Download but each brings you to another screen that wants you to pay to upgrade to a fancier...
  29. Replies
    93
    Views
    39,017

    Re: Planet Source Code Jumbo Resource CDs

    Me too. Thanks.

    MountainMan
  30. Re: [VB6] CSharedMemory - class for dynamic memory allocation in shared memory

    The trick,

    Dumb question. I am working on making your code work in 64-bit VBA. Normally that involves changing handles and pointers to LongPtr and some other minor things. I noticed something in...
  31. Replies
    10
    Views
    3,448

    Re: Array Information

    Interesting. It's sort of like how a fixed-length string is not really a BSTR but instead jsut a string of bytes. It looks like the VB designers made a fixed array in a Type behave totally...
  32. Replies
    24
    Views
    6,997

    Re: Is there a LongLong type hidden in VB6?

    Elroy,

    Do you know which Windows version started supporting the signed 8-byte integer (LongLong) in a Variant? It sounds like VB is calling a Windows API that at least supports it now but I wonder...
  33. Replies
    10
    Views
    3,448

    Re: Array Information

    That's strange. I looked all over the web for how to deal with SFEARRAYs and String arrays and I haven't found anything reasonable yet. In my sample I had a string array but it was a static array....
  34. Replies
    10
    Views
    3,448

    Re: Array Information

    Elroy,

    What you show is essentially how I handled everything except variant arrays (I fetch a bit more data from the SAFEARRAY structure than the 2 bytes for # of dimensions).

    BTW, you can get...
  35. Replies
    10
    Views
    3,448

    Array Information

    Below is a follow-up for a discussion here on vbForums.

    Every array in VB is managed by VB through the use of a SFAEARRAY as defined here by Microsoft as part of Windows. Each array is assigned a...
  36. Re: SAFEARRAY Structure for an Array

    I don't think you can use a manifest with Excel. I believe it already does that via some sort of resource file since there is not a separate manifest file used when it launches. I Know Excel's user...
  37. Re: SAFEARRAY Structure for an Array

    I may be displaying my ignorance but I thought an ActiveX DLL had to be registered on the user's PC. Is this not true?
  38. Re: SAFEARRAY Structure for an Array

    The trick,

    From what I see on your project on GitHub, it requires the VB6 end be an ActiveX DLL. A lot of companies using Excel don't allow other programs to register on user's PC's and many don't...
  39. Re: SAFEARRAY Structure for an Array

    baka,

    I don't want this thread to get lost in the UDT export/import discussion so I'll just say that in about a week I hope to post something that will handle what you are doing. For this thread I...
  40. Re: SAFEARRAY Structure for an Array

    baka,

    Suppose I want to move a lot of data between programs, say via a binary file or using COM to transfer info between 32-bit VB6 and 64-bit Excel. I need to get my data into a compact byte...
Results 1 to 40 of 262
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width