Search:
Type: Posts; User: MountainMan
Search:
Search took 0.02 seconds.
-
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?
-
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...
-
Version 3.4 of this utility is available in post #1. The only change is that it now handles VBFlexGrid through v1.7.
-
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...
-
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.
-
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...
-
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...
-
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...
-
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....
-
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...
-
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...
-
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...
-
smileyoufu,
Can you please send me a copy of a program you have that shows the problems you describe in post #65 above? Thanks.
-
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.
-
An update is coming within the week to address your concerns.
-
I didn't like this tooltips routine for several reasons including quick show/hide. I wrote a better class module that does unicode here.
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
-
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...
-
Me too. Thanks.
MountainMan
-
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...
-
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...
-
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...
-
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....
-
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...
-
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...
-
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...
-
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?
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|