Message 1 of 8
Save Dialog Box

Not applicable
02-06-2009
01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When using the below VB Code:
Sub SetActiveDocument()
Dim inventorApp As Inventor.Application
Set inventorApp = GetObject(, "Inventor.Application")
Call inventorApp.Documents.Open("C:\KCI Vault\KCI Jobs\Automated Beam Clamp\Main Assembly\XXXXMBCA-500.iam", True)
Dim aDoc As Document
Set aDoc = inventorApp.ActiveDocument
aDoc.Update
aDoc.Save
End Sub
After I reach aDoc.Save I get a dialog box that asks if I want to save changes to "XXXXMBCA-500.iam" and its dependents?
Is there a way to turn this dialog box off or fill out the required info through VB??? so I can continue with code THANKS
Sub SetActiveDocument()
Dim inventorApp As Inventor.Application
Set inventorApp = GetObject(, "Inventor.Application")
Call inventorApp.Documents.Open("C:\KCI Vault\KCI Jobs\Automated Beam Clamp\Main Assembly\XXXXMBCA-500.iam", True)
Dim aDoc As Document
Set aDoc = inventorApp.ActiveDocument
aDoc.Update
aDoc.Save
End Sub
After I reach aDoc.Save I get a dialog box that asks if I want to save changes to "XXXXMBCA-500.iam" and its dependents?
Is there a way to turn this dialog box off or fill out the required info through VB??? so I can continue with code THANKS