|
-
Jun 30th, 2000, 02:22 PM
#1
Thread Starter
Hyperactive Member
Private Sub Form_Load()
Dim stCurDir As String
Dim stIniFile As String
stIniFile = App.Path & "\list.ini"
'make sure the file exists
If Dir$(stIniFile) <> "" Then
Open stIniFile For Input As #1
Line Input #1, stCurDir
If Trim$(stCurDir) <> "" Then
If Dir$(stCurDir, vbDirectory) <> "" Then
ChDir (stCurDir)
End If
End If
Close #1
End If
End Sub
It wont open the .ini to get the set directory...
Why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|