MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Exception caused by SetFields VisibleInBalloon

This is a discussion on Exception caused by SetFields VisibleInBalloon within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Has anyone else seen an OLE exception with the error message "Cannot close because recordsets are connected to the database" ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 918
Blog Entries: 11
Exception caused by SetFields VisibleInBalloon

Has anyone else seen an OLE exception with the error message "Cannot close because recordsets are connected to the database", before?

We are seeing it when SetFields VisibleInBalloon() is called, to control the visibility of fields.
My code works, but someone else's doesn't...


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
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 03-24-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 918
Blog Entries: 11
We've found the problem.

Basically, you have to set the field visibility immediately after the map is loaded and before it is used.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
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
caused, exception, setfields, visibleinballoon


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
Unknown Host Exception amitsh MapPoint 2006/2009 Discussion 3 3 Weeks Ago 01:39 AM
MP 2004 + VS2005 COM exception NoDed MapPoint 2006/2009 Discussion 1 02-28-2006 03:06 PM
OutOfMemory Exception Gianmaria MapPoint 2006/2009 Discussion 1 01-24-2006 01:26 PM
Regarding COM exception at the end of execution... Anonymous MP2K Magazine Articles 0 05-12-2005 01:23 PM
Recordset exception. What am I doing wrong? Anonymous MapPoint 2006/2009 Discussion 3 01-25-2005 03:26 PM


All times are GMT -5. The time now is 05:29 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, 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 55