D
dennist
I am trying to change directories in my sub main to the
application path so that my connection string will be
short - i.e. the database is in the directory with the
vbproj and forms and NOT the binary directory with the
executable. Is this possible? Or should I put the
database with the executable?
In either case I imported system.io
I tried to make sense of
System.Reflection.Assembly.GetExecutingAssembly.Location
Note The Location property returns the full path
including the file name; the Path property returned only
the path.
and I tried chdir, path.getfullpath,
etc, but no luck so far.
Frankly, vb6 was far easier to use.
dennist
application path so that my connection string will be
short - i.e. the database is in the directory with the
vbproj and forms and NOT the binary directory with the
executable. Is this possible? Or should I put the
database with the executable?
In either case I imported system.io
I tried to make sense of
System.Reflection.Assembly.GetExecutingAssembly.Location
Note The Location property returns the full path
including the file name; the Path property returned only
the path.
and I tried chdir, path.getfullpath,
etc, but no luck so far.
Frankly, vb6 was far easier to use.
dennist