Click to See Complete Forum and Search --> : Path of your database?
Tobyn
Nov 8th, 1999, 08:51 AM
how can i specify where my database is if i put it on other computers, there must be something like
data1.path = me.path
or something like that.. any suggestions?
Thanks,
Tobyn
Compwiz
Nov 8th, 1999, 09:13 AM
Well for a (Microsoft) network, try:
\\COMPUTER_NAME\SHARE_NAME\PATH\TO\BIBLIO.MDB
Worth A Shot.
------------------
Tom Young, 14 Year Old
tyoung@stny.rr.com
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
baroberts
Nov 8th, 1999, 05:58 PM
"App.Path" will give you the drive and directory of your executable.....
jritchie
Nov 11th, 1999, 10:18 AM
Gudday Tobyn
Yeap do this all the time. Here is my approach.
Add a start.bas
Global dbPath as string
Sub Main()
dbPath = "\\Computername\c:\data\data.dbm"
Ok anywhere in the project
set database = dbengine.opendatabase(dbPath)
Hope it helps
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.