-
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??
-
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
-
Under Windows all paths can be used as local drives or UNC (Uniform Network Connection?) paths, interchangeably.
-
OK! Thanx gwdash! I will try that one..