Simple Question about files/Server
Ok, in the past, i used to use a CD to play files that could change that were too big or i didn't want to place within the installation.
If all these files are placed on a server instead of CD, I will have to know the exact address in order for the app to find the files?
I know i can use app.path or something when i use it in the installation, I guess i can place the path in the DB and have it find it from there.
This might seem simple guys but i've never done this before and some simple confirmation or another idea or two would be greatly appreciated.
Re: Simple Question about files/Server
maurices5000,
Don't understand the problem... If you can install from a CD, why would installing from a location on the network change things unless some location information was hard coded?
Could you explain what you mean?
Re: Simple Question about files/Server
we are installing it on the network which means we don't need CDs. Plus the newest computers don't have CD-ROM Drives on them.
Thanks!
Re: Simple Question about files/Server
You could always make an assumption that a "mapped" network drive points to your location - let's say you always look at R: for your large files.
You would have to make sure that every client machine has R: mapped to the network share/location.
Otherwise you have to have a registry entry/ini file or something on each client machine that has the \\SERVER\PATH... entry.
Re: Simple Question about files/Server
Is it a little too much to ask you to break that down just a little bit more? I'm not really a network person.
Re: Simple Question about files/Server
Go into any folder - click on the TOOLS menu and select MAP network drive.
Dialog box appears - allowing you to chose a DRIVE LETTER (defaults to Z: ) and then a path\folder to where that goes to.
Avoid using Z: - some client machines might have already mapped Z: that's why I suggested going back further in the alphabet. R: was just a suggestion - it's really up to you. M: is sometimes used by EXCHANGE to map a virtual drive for e-mails. Obviously A: through F:, G: or H: should be avoided - potential for real drives on the client machine.
At any rate, if you select R: and map it to the \\SERVERNAME\FOLDER of the location of the "large data", then you simply open that file with R: in the VB code.
Re: Simple Question about files/Server
Re: Simple Question about files/Server
There ought to be a way to do this through a LOGON BAT file...
On my SMALL BUSINESS SERVER, when we setup a user, they all execute a LOGON bat file.
It looks like this:
Code:
net use g: \\server01\data
net time \\server01 /set /y
It maps G: to a folder on the server (\\server01\data).
What type of network are these users on?