Browse Folder, Problem with mappoint

  • Thread starter Thread starter Tim J La Fazia
  • Start date Start date
T

Tim J La Fazia

Hi,

I have an access app that ive integrated with mappoint.

Im trying to use BrowseFolder() so the user may select a
folder to save a map to.

Mappoint is creating a problem though. If the form which
contains the map is open, the browsefolder, windows
explorer box can't be seen.

If I make the map invisible before I run browsefolder,
then it works, but I am not able to make the map visible
again.

Ive tried minimizing the map form and even opening another
form to run the browsefolder from, didn't work.


Has anyone had this problem or have any suggestions?

TIA,

Tim J
 
Hi Tim,

There can be all sorts of strange problems when using ActiveX controls
on Access forms (not just the MapPoint control). Try the following:

1) make sure you're up to date with Windows and Office service packs

2) I'm not certain what you mean by BrowseFolder(). If it's something
other than the function at http://www.mvps.org/access/api/api0002.htm,
give that a try. If it is that function and you're using Access 2002 or
later, try using the built-in FileDialog object instead.

3) If desperate, you could build your browse folder form, or else
automatically save the map to the %TEMP% folder so you can close the
form with the map before browsing to the folder. Then move the file and
re-open the map.
 
Back
Top