Opening file over local network
I am running on a company network NT system and i am looking for my application to be stored on the users area of the network but i need the reference files to be stored on another area of the network (not accessable to the user through Explorer). Does anyone have a code snippet of how to reference files accross a network???
example:
need app to open up and read text files from....
Ip address = 10.10.10.10
Root of file = Test/listing/acme/guess
File name = testtext.txt
Any help really appreciated.
Re: Opening file over local network
Quote:
Originally posted by HELPmyVB
I am running on a company network NT system and i am looking for my application to be stored on the users area of the network but i need the reference files to be stored on another area of the network (not accessable to the user through Explorer). Does anyone have a code snippet of how to reference files accross a network???
example:
need app to open up and read text files from....
Ip address = 10.10.10.10
Root of file = Test/listing/acme/guess
File name = testtext.txt
Any help really appreciated.
if the drive is on the network you can access it using its name... but the user must have access to the drive..
the only reason it doesn't show in explorer is because it is not mapped.. but if they have access they should still be able to access it by typing its path.. so you could do the same in code..
for example
//COMPUTERNAME/Test/listing/acme/guess
should bring you to that path if it is on the network and you have permissions and the drive is shared (or no permission restrictions have been set on the share)