Message 1 of 15
INV2008 Pro: SaveAs doesn't work

Not applicable
10-09-2008
09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using the SaveAs command as follows:
_inventor.ActiveDocument.SaveAs(_inventor.FileLocations.Workspace & "\" & txtFilename.Text, False)
The flag to not do a savecopyas doesn't seem to work correctly. It will create the new file and you think the new file it the active one, but the iProperties dialog still points to the old file. Very strange. Any ideas?
Try it out.
(It seems to work in VB, not as a VB.net add-in)
_inventor.ActiveDocument.SaveAs(_inventor.FileLocations.Workspace & "\" & txtFilename.Text, False)
The flag to not do a savecopyas doesn't seem to work correctly. It will create the new file and you think the new file it the active one, but the iProperties dialog still points to the old file. Very strange. Any ideas?
Try it out.
(It seems to work in VB, not as a VB.net add-in)