06-08-2021
03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-08-2021
03:10 AM
@mhoE3YPJ wrote:I got an error, from the line, where it pulls on the directoryInfo,
but insted I tweaked it a little and now it works.
If System.IO.Directory.Exists(oPath) = False Then
System.IO.Directory.CreateDirectory(oPath)
ElseIf System.IO.Directory.Exists(oPath) = True Then
End If
Thanks for the help!
You can save yourself some lines with this instead:
If System.IO.Directory.Exists(oPath) = False Then System.IO.Directory.CreateDirectory(oPath)
Also, where are to defining what aOrdreNr is?
Don't you need to have something like this before you define oPath?
aOrdreNr = iProperties.value("Project","Stock Number")