Type: Posts; User: ergas
Search took 0.02 seconds.
March 2nd, 2014, 08:40 AM
With F9 put breakpoint on a line in source code where you want your program to stop.
With F8 execute to next line.
September 25th, 2012, 09:44 AM
Something similar yes, but not exactly. Double execution in my case was caused by a complex code, from somewhere in the program event was re-fired. My approach was to trace some debug info to a log...
September 25th, 2012, 08:02 AM
From your description I couldn't see how your question is related to VB6.
If you have VB6 source, you can add some debug.print information to check an trace how your command button is executed twice.
January 3rd, 2010, 05:27 PM
Do you have VB6 SP6 installed?
January 3rd, 2010, 05:22 PM
Did you tried something like this?
I didn't run the code, but it shoud work with explicit type conversion.
July 26th, 2007, 10:57 AM
Your question is very general.
A solution to your problem is somewhere in a way you have opened your recordset.
Two users opens a recordset from a database.
1st user make...
July 26th, 2007, 05:14 AM
Hi Great Hannes
The purpose why I'm experimenting with ActiveX is to convert my old exe project to ActiveX. It's full of global variables and arrays. I can't change that, it would be to...
July 25th, 2007, 09:16 AM
If I understand your problem, you want a timer alway running, not paused by mouse actions.
Add another form to your project and make it invisible. Put a timer to this invisible form, so it will...
July 25th, 2007, 09:02 AM
Do you have the latest VB Service Pack installed? I think the last one is SP6.
July 25th, 2007, 08:55 AM
Here is a code that uses FileSystemObject to count files in a folder C:, and to show a list of files. Maybe it can help.
Private Sub Form_Load()
July 25th, 2007, 08:32 AM
Hallo Great Hannes
Thank's for your example.
I have added a module with a public index variable and a public array, so it is now simmilar to my project.
With a public array, if you add data...
July 24th, 2007, 10:49 AM
I'm trying ActiveX in my project, but I'm still confused.
My ActiveX object is CMyX, and I use that object from my Client app.
In one method I have declared 2 ActiveX objects.
Then I add some...
July 18th, 2007, 10:23 AM
It's OK with a VB ActiveX variable scope. I have made a stupid error. I have called a method on Form1 from inside a Client project, while I was thinking I'm in Server project.
July 18th, 2007, 07:47 AM
It seems that it is not allowed to have ActiveX control with MDI form inside a MDI project.
My sample application converted to MDI, fails with a message "Only one MDI form allowed."
July 18th, 2007, 05:26 AM
In a sample project (attached), it works OK.
Project1 is a client. It declares CMyAppA, and calls a TestMethod().
TestMethod() calls a MyTask() method of a Form1.
Both client and server have...
July 18th, 2007, 04:51 AM
ActiveX has a lot of global variables, global arrays, global objects.
That's why I'm trying to make it ActiveX, and then to use it from "identical" client application as an ActiveX object, with an...
July 17th, 2007, 04:54 PM
I'm surrprissed about ActiveX Form scope.
I have two basically the same projects.
1. MyAppA is an ActiveX exe server.
2. MyApp is Standard exe, a client program.
I have added a public class...
I'm new to Java. My problem is to draw sometning in a new window, so I had an idea to use a new class for drawing.
Now I have tried a new approach.
I create a new JFrame and I...
April 30th, 2007, 05:15 PM
Perhaps there are some mistakes but it isn't important, I can fix it myself later. I only don't know how:
1. Send variables a, b, c from the first class to the second class
2. Create a command on...
April 30th, 2007, 02:20 PM
Ok... I need help with something
When I push the button, I need to draw graph of function f(x) = a* x*x + b*x + c in the new window. a, b & c are in the text area.
The main problem is how to...
January 18th, 2007, 09:51 AM
Have you installed application uder your sisters profile?
Installation may register needed controls.
April 26th, 2006, 11:03 AM
You have defined Names field:
Dim names(5) As String
but you loop from 0 to 5, that means Names field must be defined as:
Dim names(6) As String
Check also other fields.
April 26th, 2006, 10:14 AM
Do you want to make a perspective projection of graphs, using trigonometry and VB drawing functions?
It is not a simple task. You can imagine your graphs as 3D objects, and you have to make...
April 26th, 2006, 09:59 AM
You have two nested loops:
For row = 0 To 5
For col = 0 To 2
lstdisplay.AddItem (names(row) & " " & SCORES(row, col) & ...
April 26th, 2006, 09:46 AM
I prefer using Scripting object for writing, and I also had an idea to write an explicit NewLine to my string, but in mean time problem was solved and it was not software-related,
Problem I was...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!