Hi,
Im using the Process.Start method to open Access which is working ok until I use the arguments.
Currently to open a specific access database, i use:
This works fine, but when i have a directory with a space in it such as
my database
I get an error as access looks for the .mdb file called my!
Is there a way to prevent the space causing this error by suplementing the space character with some thing else?
cheers,
Si
Im using the Process.Start method to open Access which is working ok until I use the arguments.
Currently to open a specific access database, i use:
Code:
System.Diagnostics.Process.Start("MSAccess.exe", "C:\mydatabase\databasename")
my database
I get an error as access looks for the .mdb file called my!
Is there a way to prevent the space causing this error by suplementing the space character with some thing else?
cheers,
Si