I do not know the correct place for this thred, but hopefully someone can help me here.
I have a piece of code that luanches an Access database. When the database lauches it imports some inforation from Paradox table and does soem other things and then the Access database automatically closes. Here is my vb .net code for starting the Access database:
When I try running this code, I get the following error:
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.dll
Additional information: An error occurred in sending the command to the application
Any Ideas? I have used this code before to launch notepad and never had a problem.
Thanks, Chester
I have a piece of code that luanches an Access database. When the database lauches it imports some inforation from Paradox table and does soem other things and then the Access database automatically closes. Here is my vb .net code for starting the Access database:
Code:
Dim strPath As String = "P:\ForACC\Parking\FAPark.mdb" '/// your file's path goes here.
System.Diagnostics.Process.Start(strPath)
When I try running this code, I get the following error:
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.dll
Additional information: An error occurred in sending the command to the application
Any Ideas? I have used this code before to launch notepad and never had a problem.
Thanks, Chester