Type: Posts; User: WoF
Search took 0.09 seconds; generated 37 minute(s) ago.
February 5th, 2013, 10:54 AM
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:
January 15th, 2013, 11:54 AM
Sounds enormous. I only come up tp 10MB for the exe.
How large is your physical memory in the computer?
On the other hand, without seeing the code we could not advise you properly what to do....
January 15th, 2013, 11:44 AM
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...
January 9th, 2013, 09:47 AM
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:
dim proc as long
January 9th, 2013, 09:40 AM
Fine. That's what I thought.
I dont know much about ASP, but when creation of an object fails you get a different error like "cannot create object".
January 9th, 2013, 09:31 AM
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...
January 8th, 2013, 12:48 PM
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...
January 8th, 2013, 12:45 PM
I think, this does not quite cover up what the OP wants.
Kevin, where is the point where you want to save memory? In the custom resource file?
In memory you would not save a byte by using plain...
October 13th, 2012, 09:31 AM
This can only be achieved by API calls dealing with regions. What you need can possibly be achieved using the CreateEllipticRgn API call
October 11th, 2012, 10:08 AM
Well yes. It is rather simple. I have modified your sample and added the use of TransparentBlt. Look at the attached project.
a) Note that I have removed all image controls from the water...
October 10th, 2012, 08:50 AM
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.
October 10th, 2012, 07:51 AM
There is the PlaySound API call which can play a sound async or sync, but as far as I know it does play .wav files and not midi...
September 17th, 2012, 07:54 AM
I think this little piece of code might cause trouble:
For xNext = 0 To fgdCompany.Rows
fgdCompany.Row = xNext
If xNext = fgdCompany.Rows Then
MsgBox "Record not found"
September 17th, 2012, 07:39 AM
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...
September 17th, 2012, 07:29 AM
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....
August 31st, 2012, 11:11 AM
rs.Open "Select * from accreg where Title like '" & txtsearch.text & "%'", db, 3, 3
I'm not quite sure, but I think there are some spaces required, at least between "like" and the...
August 23rd, 2012, 11:09 AM
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.
op = True...
August 17th, 2012, 09:54 AM
Please make absolutely clear which line is throwing the error.
The "Object Required" error tells you, that an object variable which should hold the reference to an object, has the value of...
August 17th, 2012, 09:47 AM
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. ;)
August 13th, 2012, 06:35 AM
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...
August 8th, 2012, 07:52 AM
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...
August 8th, 2012, 07:41 AM
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...
August 6th, 2012, 07:18 AM
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...
July 25th, 2012, 10:33 AM
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)
Public/Pivate rsGrid as...
July 25th, 2012, 10:24 AM
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.
Very good. Thank you.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.