could you give some samples or ideas of how this should work
thanks
i have a program i created from vb6 the default path to this program is as
follows:
C:\RaffleMaker\TBLITE\Tblite.EXE
i also have a database that is used by the Tblite.EXE this database is
located in a default path:
C:\RaffleMaker\RMdesktop\whdata.MDB
is what i need help with is how should i set up shell or app.path or even
both to access whdata.mdb from tblite.exe if the path was set up on
another drive or network other than C:\
right know i have it setup as:
If Dir$("c:\Program files\Rafflemaker\Rmdesktop\whdata.mdb"
> "" Then
Data1.DatabaseName = "c:\Program files\Rafflemaker\Rmdesktop\whdata.mdb"
Data1.Connect = ";PWD=TheSecretPassword"
thanks
i have a program i created from vb6 the default path to this program is as
follows:
C:\RaffleMaker\TBLITE\Tblite.EXE
i also have a database that is used by the Tblite.EXE this database is
located in a default path:
C:\RaffleMaker\RMdesktop\whdata.MDB
is what i need help with is how should i set up shell or app.path or even
both to access whdata.mdb from tblite.exe if the path was set up on
another drive or network other than C:\
right know i have it setup as:
If Dir$("c:\Program files\Rafflemaker\Rmdesktop\whdata.mdb"
Data1.DatabaseName = "c:\Program files\Rafflemaker\Rmdesktop\whdata.mdb"
Data1.Connect = ";PWD=TheSecretPassword"