PDA

View Full Version : VB6 error "Method 'QueryShape' of object 'DataSet' fail



David J
02-20-2004, 10:31 AM
I'm getting this error at completely arbitrary times when processing through lots of imports data contained in valid datasets.


Set myRs = myDs.QueryShape(myShape)

If have similar problems with .QueryAllRecords too.

If I select debug option and just continue (i.e. resume on the same line of code ) it doesn’t re-raise the error. Is it some kind of synchronization problem because I’m using a 2Ghz+ dual processor desktop PC?

sthurlock
12-06-2005, 11:02 PM
Did you find a work around or explanation for this problem?

Wilfried
12-07-2005, 01:13 PM
Hi,

If you dont use threads then it is probably not a synchronizing problem, however did you tryed reboot your machine in single CPU mode ?

Edit boot.ini file (root - hidden) and add:
/ONECPU

if there is:
/NUMPROC=2

then edit it and change it also to
/NUMPROC=1

Then reboot and pray the machine will still restart :mrgreen: (just joking of course, but you have to make no mistakes if messing around with OS).