Message 1 of 2
iLogic-Save as
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The ThisDoc.Document.SaveAs command returns a error message when executed but the message box displays the correct path. ( see attached .ipt)
Can anybody explain what is going wrong.
Code
Dim mPath As String =iProperties.Value("Custom", "Part Folder") Dim mProj As String =iProperties.Value("Custom", "Project Code") Dim mCall As String =iProperties.Value("Custom", "StairCallout")
Dim nFilename As String = mPath & "\" & mProj & " Stair " & mCall & " Stringer.ipt"
MessageBox.Show(nFilename, "Title")
ThisDoc.Document.SaveAs( nFilename , True)