Type: Posts; User:
Ah! That's probably the problem - Joy2Key. Perhaps if you only activate the Joy2Key utility when you click the button, and deactivate it when the first valid signal is received from one of the...
As others have stated, there shouldn't be an issue from repeated key presses. I tested with the attached form, and it works fine even if a key is held down. It does not prevent the button from being...
Please elaborate on exactly what you are looking to do.
You can also place global variables in a .bas module. Then they will be seen by all other modules without having to declare and instantiate anything. Same for subs and functions.
April 25th, 2013
I think DataMiser got it right in an early post. There may not have been anything necessarily wrong with your code, except that the file may not yet have been deleted when the program attempted to...
April 25th, 2013
If you're not already using the keyboard events of the form, then that would be the first thing to do. Then in the appropriate event, test the flag, and exit the sub if it is false.
April 10th, 2013
If I understand you correctly, you basically need to translate a procedure written in VB6 to clarion, or more specifically, the calls to the DLL, yes?
As with most things, there are a few ways to get a Byte array of the image in an stdPicture object (or PictureBox).
Here's an example:...
Glad to see you found something that works for you. Here is another of essentially the same method, for your comparison. I haven't looked it over, but in the past I've seen such examples which have...
What aspect are you unclear about?
There are a few options. One way involves using a Byte array to hold the image data within the UDT. Converting the array into a stdPicture object when loading the previously saved file can be...
February 27th, 2013
One might think so. But consider that C++ has been around quite a bit longer (since 1983 according to Wikipedia). Not only is C++ still in heavy use today, but guess what Microsoft continues to use...
February 26th, 2013
I'll agree that updating VB6 doesn't fit into their playbook. That's for sure.
However, the good news is that there's no reason why VB6, and programs written with it, won't continue to function...
February 26th, 2013
Of course it's possible. Any program can be updated, as long as they still have the source code. However, what I would not want is for VB6 to become bloatware.
February 24th, 2013
Yeah. OK, so I downloaded the humungous installation file, and installed it. Thus far I'm not very impressed. However, this thread isn't an appropriate place to discuss it.
February 23rd, 2013
I'm not entirely sure about this, as I've had a few DLL version mismatches/conflicts even with xp, such as when installing VB6.
Interesting. And yes, there certainly are plenty of programming...
February 22nd, 2013
Yes, that's what I mean. Although I suspect that in some future incarnation, .net may not use the exported functions. In fact, I don't know if it uses them currently. I've seen code examples of how...
February 21st, 2013
I'll suggest rereading what I said, in context. What I meant was, if a language was designed to produce programs only for a specific version of an OS, be it windows or any other.
February 19th, 2013
Ah, well that explains how some commercial programs might be able to use it without the source code being stolen. So, although a program can use the .net framework, it doesn't have to be completely...
February 18th, 2013
I wonder if perhaps a programmer creating something in C++ or other language might also utilize some part of .net as a shortcut, or if they don't know how to do it otherwise. Is it possible for a...
February 17th, 2013
An improvement to VB6 would be to enable it to produce true, stand-alone executables. In other words; without the need for any runtime dll files. But .net takes it completely in the opposite (wrong)...
February 15th, 2013
One main difference between VB6 and .net is that .net code can be decompiled back to usable source code. This makes it unacceptable for commercial distribution. That is unless you don't care if your...
February 14th, 2013
If this is accurate as written, then it has nothing to do with VB6 specifically. Rather it is a functionality of the OS, and applies to all win32 apps, including those written in C++, and also to...
February 4th, 2013
Have you tried using GetActiveWindow or GetForegroundWindow? Also, have you considered ShellExecute or ShellExecuteEx to open a new iexplorer window? Seems to me you could use the window handle, and...
January 27th, 2013
Yeah, I've read about a few bugs regarding the appearance of some controls, especially with "themes" turned on. But Flexgrid isn't an intrinsic VB control anyway, so any trouble specifically with...
Click Here to Expand Forum to Full Width