Search:
Type: Posts; User: Elroy
Search:
Search took 0.10 seconds.
-
Dim cbo As ComboBox
For Each cbo In Combo1
Text1(cbo.Index).Text = cbo.Text
Next
-
Ahhh, thank you, Trick! I knew there were some answers to this stuff. I'll be trying to make some headway on this shortly. :)
-
Niya, yeah, I basically agree with you, and I wasn't really complaining. I was just trying to point out that, if VB6's compiler (both p-code and binary) were written from scratch today (even if only...
-
.
Ok, I'm going to try and provide a bit more focus here. How about, as a first step, we try to figure out how to take an image and then produce a new "normals" image from it (possibly having the...
-
Ok, I've been handed another possibly fun project.
Obviously, there are many of us here who are familiar with 24-bit true-color images. And, when manipulating PNGs, TGAs, and others, we might...
-
This is all because VB6 is as old as heck, and doesn't take advantage of CPU capabilities we currently have. This is good to know though (about the Currency type). Hopefully, they don't do...
-
MMMMmmm, I wouldn't have said "entirely" different.
Currency is an 8-byte 2's compliment integer with a decimal stuck in at the fourth (from right) spot. It's all base-10, which makes it very...
-
My first thought is this. But not sure if that's what you want or not.
-
I'm not 100% following what y'all are trying to get sorted, but I certainly don't think that's what's happening. However, I could be proven wrong.
I do believe that compilers (including VB6) do a...
-
So, I guess the rule is: Any VB6 string that is "directly" (not wrapped in VarPtr or StrPtr) used in a Declared API call is going to get converted to null terminated ANSI, and it doesn't matter if...
-
I'll tell you how I deal with them.
Typically, I alpha-test the crud out of my code, testing all the edge conditions, and just make sure I don't overrun arrays. Sometimes, for well tested code,...
-
dday9,
It's truly just an 8-byte 2's compliment signed integer. In many ways it's exactly the same as the LongLong seen in the VBA.
It's just that, when it's printed (or input), VB6 will...
-
To expand on all of this a bit, it would be nice if we had a vbBringForward and vbSendBackward constant. Rather than bringing all the way to the front, or all the way to the back, these would step...
-
That's not entirely accurate.
Any is actually a kind of alias for the Long type. This is clear when you try using Any ByVal parameters to pass anything beside Longs. It won't compile:-
'...
-
Here's my take on this...
I've never seen the "Any" type used anywhere but an API declaration. I don't think it's possible to use it in a normal procedure's declaration (i.e., it'll be a syntax...
-
This uses the GDI+ but I believe it has all the code (for VB6) that you want.
https://www.vbforums.com/showthread.php?860813-PNG-TGA-(specifically-32-bpp-type-files)-Editing-Tool
EDIT: And by...
-
Personally, I'd put the string into resources, and then possibly change it with something like ResourceHacker. Since those links aren't allowed, I'll let you find that program.
Or, I believe...
-
westconn1,
Make sure you are NOT running your compiled executable under any compatibility shim sets. Most (if not all) of the standard compatibility shim sets are known to break the ShellExecute...
-
I think of these as local (within procedure) variables that can be simultaneously declared and assigned. I guess it's the one place in VB6 where we can actually declare and assign with a single...
-
Since the data item of a Collection is a Variant, you could also have a Collection of byte arrays. And, you could use the Collection's key to identify which byte array was which, easily retrieving...
-
Does this program run on the "problem machine" in the IDE? If so (or not), that's at least a clue as to what's going on.
---------
From my take, it's almost got to be some code in one of the...
-
You could write a class that you attached to each of your forms to fix this, but that seems like overkill IMO.
Here's how I'd deal with that situation. I'd just design everything to look good on...
-
If it were me, I'd open my VBP files and see what the paths were in there to the individual modules. I'm thinking you've somehow gotten some cross-referenced paths in your VBP files.
-
Hi Folks,
I've been having a discussion with a couple of friends about the movie Tenet. As far as I'm concerned, it's just conceptually garbage. Here are some of my comments:
And here are...
-
The first thing I thought of is using a bit of CopyMemory and going after the SafeArray structure. However, that's precisely what LBound and UBound are doing. Personally, IMHO, if you think LBound...
-
The VBA (both 32-bit and 64-bit) is all COM based.
-
Actually, in addition to the Microsoft download site, I found this site to be most helpful: https://www.winhelponline.com/blog/view-winhelp-hlp-files-windows-10-with-winhlp32-exe/
The help file...
-
Here's another webpage that might help: https://blog.spectologic.com/2015/09/09/using-hlp-files-in-windows-10/
(The link in the next post is actually better ... just ignore this one.)
-
I've actually had these HLP files up and running on a Windows 10 machine before, but I remember having to jump through lots of hoops to do it. And I've since changed computers and haven't bothered...
-
AccessShell, wqweto's explanation is spot-on.
This is all just VB6 trying to simplify some things for you. Basically, your keyboard has three "shift-state" keys: Shift, Ctrl, & Alt. I think of...
-
Joaquim,
If you're more interested in Variants, here's the Microsoft webpage that lists off all the types that a Variant can hold. However, VB6 doesn't support all of those types. Also, you'll...
-
You can't use a variable name as the "default" value, but you can use a constant (including enumerations).
You have to realize that, in all likelihood, that default value is resolved during...
-
It seems that you can make a few assumptions: The numbers always start at 1, they always increment sequentially, the numbers are always followed by a space, and every number will always be followed...
-
Here it is, trying to use WM_SIZE, but I still don't have it quite right. I'm hungry though and going to get some lunch:
Option Explicit
Private Const WM_DESTROY As Long =...
-
Here, I did it for a 1-to-1 aspect ratio using WM_GETMINMAXINFO. The nice thing about WM_GETMINMAXINFO is that you get it before the form is resized (so, reduced flickering).
Here's code for a...
-
I've been playing with it, and I think subclassing on WM_SIZE would be easier. In fact, now I'm wondering if it all can be done in the Resize event, although that might flicker.
-
I'd probably subclass the form, monitoring for WM_GETMINMAXINFO and then do what I wanted in the subclass procedure.
You could set some global variables about whether the aspect ratio is 1 or 0.5...
-
Perfect Wqweto. That does precisely what I wanted.
-
Ok, this is primarily a VBA (MS-Access) question. Please forgive me for posting it here (and move it if you must, but I'd really prefer that it stay here).
I've got a long-running loop running in...
-
I'll jump in here just because I'm bored.
Axisdj,
The use of the word "most" in that sentence bugs me each time I read it. In the most basic sense, ALL files are in a binary format. ...
|
Click Here to Expand Forum to Full Width
|