Message 1 of 4
BeginSave

Not applicable
02-16-2006
08:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm receiving some fatal errors that seem to be connected to some code written inside the BeginSave event. The odd thing about it is it happens AFTER the first save when the user saves again.
I wrote the code in an attempt to solve a raster design problem we're having.
Pretty much it is doing this:
1. Compare ThisDrawing.Name w/ ByVal FileName
2. Create a selection set of Raster Images
3. If SS.Count <= 1 then
4. If in Paperspace switch to Modelspace
5. Save*
6. Switch back to Paperspace and complete the initial Save
* Does this pose a problem? Using the Save method from within the BeginSave Event?
The error:
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at 7c1ba6f4h"
I wrote the code in an attempt to solve a raster design problem we're having.
Pretty much it is doing this:
1. Compare ThisDrawing.Name w/ ByVal FileName
2. Create a selection set of Raster Images
3. If SS.Count <= 1 then
4. If in Paperspace switch to Modelspace
5. Save*
6. Switch back to Paperspace and complete the initial Save
* Does this pose a problem? Using the Save method from within the BeginSave Event?
The error:
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at 7c1ba6f4h"