|
-
Apr 25th, 2002, 11:57 AM
#1
Thread Starter
New Member
file location
Question regarding Visual Basic 6.0
I want to open various files in a specific directory.
The only way I have been able to open various files is to use the default directory
(directory where the VB program resides)
the following code works:
Dim players, score
Players = Inputbox(“Enter name of player”)
Open players for Append as #1
Write #1, score
Close #1
How can I create files in a directory other than the default directory ?
I’ve tried ChDir “C:\Database”), path = “c:\database” but neither worked.
Any help would be greatly appreciated
Brooks Catlin
[email protected]
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
|