|
-
Aug 12th, 2000, 12:03 PM
#1
Thread Starter
New Member
Problem:
Is there any way too get access to files within the local network without the user has too connect it to a driveletter??
When I code in LISP I can use specified names such as
\\AcadServer01\program\R14\textfile.txt to find the file
textfile.txt in the network without connecting a specific
driveletter to this connection.??
\\Acadserver01 is a network server, one of about 10-12, unique name.
Is there a simular way in VB??
-
Aug 12th, 2000, 12:14 PM
#2
Fanatic Member
you can use the same Syntax:
Code:
Dim FF as Integer'File variable
Dim strFileName as String
FF = FreeFile
strFileName = "\\MyServer\MyDir\MyFile.txt"
Open strFileName for Random as #FF
'Read/Write from file
Close #FF
-
Aug 12th, 2000, 03:22 PM
#3
Monday Morning Lunatic
Under Windows all paths can be used as local drives or UNC (Uniform Network Connection?) paths, interchangeably.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 13th, 2000, 10:53 AM
#4
Thread Starter
New Member
OK! Thanx gwdash! I will try that one..
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
|