Message 1 of 1
Crashing on save

Not applicable
06-06-2002
12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having an issue now where I tell Map 4.5 to save the drawing and it
crashes on the exit of my vba program....
1. The user hits the exit button.
2. Detach any Map attached drawings
3. Remove any Map path aliases
4. Save the drawing << crashes here
But the really weird part is that if I do this..
1. The user hits the exit button.
2. Save the drawing
3. Detach any Map attached drawings
4. Remove any Map path aliases
It doesnt crash!! Whats going on?? Its the exact same code, just a different
order of things. When it crashes, I get the 'disconnected from host' error
in VBA and I get the 'unhandled exception' msgbox from acad.
If Application.ActiveDocument.ReadOnly = False And
Left(Application.ActiveDocument.Name, 7) <> "Drawing" Then
Application.ActiveDocument.Save is the line of code to save I'm using, and I
know it crashes on the save part not the if clause.
-Anhony Fiti
crashes on the exit of my vba program....
1. The user hits the exit button.
2. Detach any Map attached drawings
3. Remove any Map path aliases
4. Save the drawing << crashes here
But the really weird part is that if I do this..
1. The user hits the exit button.
2. Save the drawing
3. Detach any Map attached drawings
4. Remove any Map path aliases
It doesnt crash!! Whats going on?? Its the exact same code, just a different
order of things. When it crashes, I get the 'disconnected from host' error
in VBA and I get the 'unhandled exception' msgbox from acad.
If Application.ActiveDocument.ReadOnly = False And
Left(Application.ActiveDocument.Name, 7) <> "Drawing" Then
Application.ActiveDocument.Save is the line of code to save I'm using, and I
know it crashes on the save part not the if clause.
-Anhony Fiti