Name of the server

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
pepelemoko
Posts: 1
Joined: Mon Apr 10, 2006 11:11 pm

Name of the server

Post by pepelemoko » Fri Sep 21, 2012 5:46 pm

Hello,
I want my standalone Application be installed on a windows server of a LAN. Multiple users shall be able to load preferences from
the server and to write to it.
If the application starts from a server, the specialfolderpath(??) would it start with "\\Server01 " ?
Would the URL for the folder to write in be "//Server01(or whatever the severrName is)/Documents and Settings/All Users/MyApplication"??

thanks for help
sich regen bringt segen

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Name of the server

Post by Mark » Fri Sep 21, 2012 7:27 pm

Hi,

No, the application accesses directories in the same way as any other standalone, the path starting with the drive letter.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Name of the server

Post by sturgis » Fri Sep 21, 2012 9:58 pm

If the drive is a shared drive from the server, and its not attached to a drive letter on the local machines (and the client machines aren't thin clients which throws another whole mess in there) then don't use specialfolderpath (read up on it, it has specific uses and they relate to the local machine and user)

You'll want to specify the complete network path to the prefs file as you asked. I _THINK_ lc will be able to use a network path (use / not \ .. I think, no way to test it here) so yeah, something like //servername/sharename/path/to/folder/and/file

Post Reply