Search:
Type: Posts; User: Ken Whiteman
Search:
Search took 0.09 seconds.
-
Ok, so I tried this and other variations with no success.
Maybe I'm going about this all wrong.
Here are my requirements:
1. I have created a Class - MyEvents.cls
Everything within the class...
-
In watching my Class module, as I single step thru the code, I find that
Select Case Events(x) Is Nothing
or
If Events(x) Is Nothing Then
causes the Class to initialize - creating a...
-
Hey guys, I tried both of these and the deleted Event(x) still evaluates to existing (Goto Here).
Select Case Events(x) Is Nothing
Case True
GoTo Done
Case...
-
Thanks LaVolpe,
Yeah, that's what I expected.
In my DeleteEvent routine i do use
Set Events(x) = Nothing
But when I use this code, I get the type mismacth error:
If Events(x) = Nothing...
-
Well, that depends on several things.
I assume your WinXP is 32 bit - most systems were 32 bit.
That being the case, the questions is will the components you used work in a 64 bit environment.
...
-
Hi,
My program creates several instances of a class, and the user may at any time destroy an instance.
I need a method of determining if a class still exists.
In a module I have
Public...
-
passel:
Old-timers disease, way back when we used to have to do a read to clear the buffer. Old habits die hard!
-
Hello!
I'm using VS2010-VB.Net
My program freezes up when executing SerialPort1.Close()
The issue is that it only locks up if the external Serial Source is transmitting when the command to...
-
Well, Feeling a bit dumb....
Structure Graph
Public Shared AxisConfiguration As AxisConfig
Public Shared LegendConfiguration As LegendConfig
<VBFixedArray(48)> Shared...
-
Thank you TnTinMN!
That was the fix!
Here's what's troubling however.
I wrote this as a UDT in VB6, then opened it in VB.Net -VS2008.
It was automatically converted.
Then I opened it in...
-
I have created a structure in a Module:
Structure CTPParm
Dim Color As Long
Dim LineWeight As Integer
Dim Title As String
Dim Position As Long
Dim...
-
Ok,
So I found this link. Very informative.
http://www.codeproject.com/Articles/14122/Passing-Data-Between-Forms
However, in all 4 methods, the textbox is written to within the same routine....
-
Hi,
I'm one of those people that get confused easily by the overwhelming number of possible methods to accomplish a seemingly simple task.
So, I have created a small 3-form project that requires...
-
It occurred to me last night on my way home, exactly what you're saying about the address pointers.
I also realized that I just need to maintain an array in the receiving program that is identical...
-
Hi,
Well, I'm just starting to use MSMQ,and already I'm stumped!
I'm thinking rather than loading an array into a queue, it would be more efficient to load a pointer to the array into the...
-
Thanks everyone!
I think MSMQ is the answer I'm looking for.
You all have been extremely helpful!
Thanks again!
-
@dilettante,
I found your post from 2012, is this the sort of method I'm looking for (reference post #1)?
http://www.vbforums.com/showthread.php?696123-VB6-MMapper-Memory-Mapped-File-Demo
-
Thanks dilettante
I'm research MSMQ now.
Just an old timer's fears from the early days!
-
Thanks, all
@stum - "Program A" actually already exists (some 20+ years of development and continuing development).
"Program B" contains some smaller file writing tasks that have been moved from...
-
Hi,
In a nut shell -
Program A is updating several arrays every 1 second.
Program B needs to put the array data into a csv file every 1 second.
The 2 programs are not synchronized.
-
Monitoring the Task Manager while I launch NewTest.Exe shows NewTest.Exe running under Processes, but not QPTimer.Exe.
So, it seems to me that the program crashes when it attempts to create the...
-
A quick test reveals that the EXE will run on my development system.
(Not really surprised, I fight this sort of battle regularly!)
-
What device are you using to scan the bar codes?
The instruction manual should give you the information on how to communicate with it.
Do you know which protocol you're using?
Again, the manual...
-
Thanks for responding to this.
The only control I used that didn't come with VB6 is the one I created (QPTimerControl), and the only control used there is an Image Control and an Image.
In the...
-
Hi!
I'm using Windows 7 Professional, 32-bit, SP1
VB6-SP6
Using CVMicheal's Multithreading code, I have built an out-of process program that works great within my development environment....
-
Hi everyone!
Ok, so I know that you can't create an ActiveX exe in C#, but as a reference, in VB6 this is one method to break out of a single threaded environment.
Here is what I'm trying to...
-
Thanks CVMichael,
I reviewed the link and, I did understand what was going on, so it was a nice review!
As far as the Shell command goes- This entire task is application specific, and only 1...
-
I placed the following line in the Form_Unload event of the main screen in my program.
Shell ("cmd.exe /c TASKKILL /IM QPTimer.exe /F")
It does the job, but I was thinking there must be a...
-
Don't know if this will be of any help....
Larcom and Young Resize ocx
http://larcomandyoung.com/
VBGold also has one that works with the SSTab control.
http://www.vbgold.com/
-
Thanks for putting this together CVMichael!
I wish I would have discovered this back in 2010!
Anyway, I've implemented this method, and have it mostly working.
I find that after I exit the...
-
Ok, Turns out a ByVal for the lpSecurityAttributes was missing, and as SECURITY_ATTRIBUTES should have been a long.
Ugh, too many trees blocking the view of the forest..
-
Thanks all!
I've tried implementing the API calls as Bonnie West suggested, however I'm have an issue with the function declarations.
Declare Function CreateFile Lib "kernel32" Alias...
-
Hello,
I'm wondering if there is a faster, more efficient way of writing a file than this method.
Has anyone done some benchmark testing?
FileNum = FreeFile
-
Hi,
I know this thread has been dormant for some time, but I think the SelfTimer may solve my problem!
I've downloaded version 1.1 and included it in my project.
My goal here is to create a...
-
Here's the thing,
My program opens Excel, loads a report spreadsheet that the customer has built.
If there are tabs labeled "Map x" then it continues. If not, it creates a new tab(s) and names...
-
Thanks stum!
Yes, I am opening Excel with my program, adding sheets, modifying cells, etc.
In my real program all is well..... except if the user closes Excel, my program doesn't know this. ...
-
HI,
I found this link that has the answer to my question...Mostly!
http://www.cpearson.com/excel/ExcelShutdown.htm
I've created a test project and included the DLL project to test with....
-
-
Thanks Arnoutdv,
There' nothing wrong with a loop, I was just wondering if there was a more efficient method!
-
Hi All,
If I have a UDT named R1 and another named R2, and if they are structured the same, then I can simply write R2=R1.
All the data in the R1 UDT is copied into the R2 UDT.
Is there a way...
|
Click Here to Expand Forum to Full Width
|