Reputation: 433
In my previous question heading as bellow:
"How to avoid Linked Table manager message while opening the Access DB."
I have asked how to disable Macro (programmatically vb.net) while opening the MSAccess DB and I got some good reference and code samples to do so. But unfortunately I could not able to achieve the expected result. I have tried API to enable/disable Keys (SHIFT) at run time and also use some command-line options programmatically but still it’s not working even not getting any error as well.
Problem:
I need to resolve both the problem and run the application smoothly.
Please anyone there to help me someway....
Thank you.
Upvotes: 1
Views: 2980
Reputation: 7882
See By Pass Shift Key Code
This code simply lets you browse to a mdb database of your choice, and enable, or disable the shift key during the startup of the mdb/mde.
Down a ways on the following page: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
Upvotes: 3
Reputation: 4353
On one of the MS support pages I found a reference to the /nostartup switch. Can you try to add that to your startup command?
Upvotes: 0