The new code solved the previous error msg. now, new one came.. :)
The situation is this: The file I'm trying to open is MDB or Accdb, not EXE. When I'm trying to open MDB application with process1, without password, and without the above line codes, the MDB application gets open. from that I understand that process1 can hadle opening MDB applications.
When I'm adding the code above I'm getting errors. Using the code...
User Profile
Collapse
-
Hi,
Thank you for your answer my friend.
You are not being condescending; it is me being totally green with VB.net. I usually work with Access and VBA. VBA and VB.net are similar but different… I saw and understood the error msg, but didn’t know how to resolve it.
I've tried to use your suggestion, but there still is an error msg in this line:
Array.ForEach(O f Char) (str.ToCharArra y(), Function(c) do...Leave a comment:
-
VB.net component process1 provide password
I'm trying to open MS Access application (open as independent application, I don't need to read date from it to my VB...) from my VB.net form and to provide MS Access the password.
I tried to use vb.net component process1 but I couldn’t write the password without vb.net errors.
The simple code I used:
...Code:Me.Process1.StartInfo.FileName = "c:\dummy.mdb" Me.Process1.StartInfo.Password = "1234"
No activity results to display
Show More
Leave a comment: