Very good hint, DataMiser. But it seems WIAAut.dll is not genrally aboard an XP system, not even SP3, but can be downloaded from here:
http://vbnet.mvps.org/index.html?code/imageapi/mswaidll.htm
...
As I understand you want to run multiple scripts one after the other.
You have to understand this about the Shell() function: It will start the script, but then will immediately continue execution...
The shell function can be used to execute another program from within your VB6 application. You can run bat, cmd, vbs, exe and other directly executable files like:
This is rather strange. I happen to maintain a huge VB6-application with 26 forms, a dozen UserControls and ssome thousand lines of code, too, and never got problems. I might have also about 3000...
If you get the Object required error, I'd think that the name "Server" is not defined.
Find out which object the name Server refers to. Maybe this object is not available within the scope of your...
This can only be achieved by API calls dealing with regions. What you need can possibly be achieved using the CreateEllipticRgn API call
http://allapi.mentalis.org/apilist/CreateEllipticRgn.shtml...
That's true, but in this case you ought to download the sample and look at the boats flickering. You have to see the effect to get the impression. There is no actual error in the code.
If the web service only accepts a single POST command, splitting up is not an option.
I'd first see what is causing the problem:
Split up the troublesome line into two seperate commands. First read...
You should first remove (or outcomment) the On Error Resume Next statement and then run the program to see where an actual error occurs.
With the On Error Resume Next you never find out anything....
There are a couple of mistakes you made:
a) array indexes start at 0 (except you have stated otherwise)
so you have to adress your singlefile() array differently.
And anyway the original post is from year 2000 and I doubt that the OP is still interested in an answer. :)
The problem seems to be outdated and the solution comes 12 years too late. ;)
Although Val being a reserved word, VB wouldn't mind the usage of Val for a variable within a sub, as long as you dont make use of the Val() function in the same block of code. So making a variable...
The code is obviously designed so that the first time click will open the word document and do a first Find.
When the statement executes, for the second time, there might not be a visible result, if...
That's what I hinted, too. But then I thought, if these spaces where really there, an error must have already occured in the rsstaff.open statement. The code wouldn't even get to the line where the...
I don't know lynxgrid, but I think the error is this:
The .CellText() property, as the name would suggest, is a text, meaning it is a string data type.
Presumably the IDCode field is numeric and an...
You have to refresh the Recordset, not the DataGrid.
Keep the recordset stored in a global variable (or private to a form if your code is all in a form)
Ok, fine.
jggtz, your solution works perfect. I have to change the final query string just before I open the recordset, though, but this is a minor change in the end.