|
-
Nov 8th, 1999, 09:51 AM
#1
Thread Starter
New Member
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
-
Nov 8th, 1999, 10:13 AM
#2
Hyperactive Member
Well for a (Microsoft) network, try:
\\COMPUTER_NAME\SHARE_NAME\PATH\TO\BIBLIO.MDB
Worth A Shot.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Nov 8th, 1999, 06:58 PM
#3
Junior Member
"App.Path" will give you the drive and directory of your executable.....
-
Nov 11th, 1999, 11:18 AM
#4
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|