Hi All
Currently working on a script to automate all of my exports (DXF's, Step files etc.) at the end of a job. I've looked at the two examples below, I'm reasonably confident I can adapt everything from there to suit my needs. The only thing I'm unsure on is I would like to set the folder all of these files are exported to. Ideally it would be some kind of save as window or the like where I can browse to the folder, I want them all dropped in run the script from there. Anyone able to point me in the right direction to get started on this?
Kind Regards
Roydon Mackay
Solved! Go to Solution.
Solved by vpeuvion. Go to Solution.
Hi, can you try this :
Sub Main() Dim oFoldBrowsDialog As New FolderBrowserDialog() If oFoldBrowsDialog.ShowDialog() = DialogResult.OK Then Dim Path As String = oFoldBrowsDialog.SelectedPath & "\" MessageBox.Show(Path) End If End Sub
This fills the Path variable, all you have to do is add the file name.
Hope this will help you.
Vincent.
Can't find what you're looking for? Ask the community or share your knowledge.