"DS" <(E-Mail Removed)> wrote in message
news:cl2j9m$mog$(E-Mail Removed)...
> 3) write a routine that creates a unc path from the tcp/ip connection
> string. (This is the bit I am really unsure of. If I have told said to
make
> the database folder shared and NOT change the name, is there likely to be
> any problems with simply adding '\\' at the beginning and removing
> ':driveLetter:' ie serverName:driveLetter:\applicationFolder\ will become:
> \\serverName\shareName\ as applicationFolder will be the same as
> shareName.)
> 4) write my app so it checks to see if it is registered by reading from
the
> ini file using the constructed UNC path
>
> This final 2 steps would allow my software to be registered once, rather
> than separately on each client machine.
I do not see where steps 3 & 4 will do that. Each clients will still need
to be configured to "find" the DB. Other than that, the rest seems fine,
but I question the overall design of using a UNC path to access a DB to
begin with.
I do not see any "registration" occuring because you are storing the Config
in and INI file instead of the system Registry. This is fine, I like that
being stored in an INI instead of screwing with the Windows Registry,
however don't call it "registering" because that is not what it is and you
*will* confuse people by calling it that. I am like the Evil English
Teacher that is very picky about terminology,....words *mean* things, and
wrong words give wrong meanings.
Since you are using a UNC path for the DB this implies an Access (Jet)
database,...probably an MDB file? You will have a lot of problems with
this. This is not a "multi-user" design and a lot of DB accesses happening
close together may result in a "locked" database if you only lucky, and a
flat-out corrupted database if you are not so lucky. This kind of setup can
work fine for a data-driven website if done properly, but is lousey for a
regular Client-Server setup.
You will be miles ahead using an SQL design. You can use MSDE as the databse
engined which is based on MS SQL Server. With MSDE you won't have to
purchase a full SQL Server. You would connect to the MSDE Server just like
connecting to an Exchange Server of Web Server (by machine name and not by
UNC path). You would want to use a DSN-Less Connection [*important*]
between the Client and the Database Server. Check out the EULA Agreement for
MSDE to see if it fits your needs,...if it does, then at least it is free.
--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com