What am I doing wrong here ?
I've got a Drivelistbox named Drive2 and a Dirlistbox named Dir2. Now I want to store a file in the selected drive and directory. I tried it with:
Dim Dezedir As String
Dezedir = Dir2.Path + "\mdw.tst"
bestandsnummer = FreeFile
Open Dezedir For Output As bestandsnummer
but it gives me the error:
bad file name or number
I've got a Drivelistbox named Drive2 and a Dirlistbox named Dir2. Now I want to store a file in the selected drive and directory. I tried it with:
Dim Dezedir As String
Dezedir = Dir2.Path + "\mdw.tst"
bestandsnummer = FreeFile
Open Dezedir For Output As bestandsnummer
but it gives me the error:
bad file name or number