BeeHay Posted October 4, 2011 Share Posted October 4, 2011 Hello again AzeoTech! I'm having a tough time with something I would think is rather simple... I'm trying to make the export location user settable from within the user interface... I have an Edit Box setup to accept the users input for a desired export location... I have a global string setup called strFolderName... I also have a sequence setup to run when the user clicks a "set" button... This is the sequence that runs - File.MakeDirectory(strFolderName) Export.MyExport.FileName = strFolderName Now I can set strFolderName to something basic like "test", but when I try to make it a drive location "C:\wellnumber\wellname\export" it will not accept that value.... I keep getting this error - C1125 Unable to create directory: MakeDir Line 1 - Uncaught error in sequence MakeDir Bonk me on the head again Guru! Any insight is helpful... (p.s. I clicked my set button a bunch of times and got it to set once or twice, but now all I get is the error) Thanks!! Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.