MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB6 error "Method 'QueryShape' of object 'DataSet' fail

This is a discussion on VB6 error "Method 'QueryShape' of object 'DataSet' fail within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm getting this error at completely arbitrary times when processing through lots of imports data contained in valid datasets. Code: ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-20-2004
Junior Member
White Belt
 
Join Date: Jan 2004
Posts: 9
VB6 error "Method 'QueryShape' of object 'DataSet' fail

I'm getting this error at completely arbitrary times when processing through lots of imports data contained in valid datasets.

Code:
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-07-2005
Junior Member
Yellow Belt
 
Join Date: Dec 2003
Posts: 12
Did you find a work around or explanation for this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-07-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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 (just joking of course, but you have to make no mistakes if messing around with OS).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
dataset, fail, object, queryshape, vb6 error method


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/vb6-error-method-queryshape-object-dataset-fail-2465.html

Posted By For Type Date
MetaGer, Suche nach: vb6 error line This thread Refback 11-09-2007 06:51 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
MapPoint OLE error: "Could not update object" wiecho_k MapPoint 2006/2009 Discussion 1 07-23-2005 11:53 AM
Get "find nearby" search DataSet? Nostradamus MapPoint 2006/2009 Discussion 0 08-10-2004 05:20 AM
Problem with dataset.QueryShape Method Ray Liu MapPoint 2006/2009 Discussion 1 07-15-2004 11:55 AM
Run-time error 'Method 'UpdateLink' object 'DataSet' failed Anonymous MapPoint 2006/2009 Discussion 0 09-18-2003 04:53 PM
How ImportData method with "Password-protected" a rrosenhagen MapPoint 2006/2009 Discussion 0 12-10-2002 04:13 PM


All times are GMT -5. The time now is 12:03 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54