• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Can't open MS Access Table shortcut from Dos

I have an access database with a table called ABC.  I drag this table to a folder called myFolder and create a shortcut.  I try launching the shortcut from the Windows  Start --> Run command  using  C:\myFolder\ABC.lnk  and receive a message that the file cannot be found.  

I can launch other shortcuts (Access Databases)  without a problem but cannot launch tables.

The reason I want to launch a table from a shortcut is that I want to do it from a vb.net program.

The OS is XP.


Any help would be appreciated.
0
esemmoc
Asked:
esemmoc
  • 2
  • 2
1 Solution
 
mbizupCommented:
You cant open a table in this manner at all.

What you can do in VB.Net is set up a connection to your Access Database, and reference the table as needed through that connection.
0
 
esemmocAuthor Commented:
Thank you.   Do you know why or what shortcuts can be opened and which type can't?
0
 
mbizupCommented:
Hi -

You can open a database (.mdb, .accdb, etc) file through a shortcut - but you can't open the component forms, tables, queries, etc like this, since they are not files.

This should give you an idea of how to connect to and use an Access database through VB.net:
http://www.techrepublic.com/forum/discussions/102-249095
0
 
esemmocAuthor Commented:
Thank you.
0
 
peter57rCommented:
You can set up direct links to any  specific object by dragging the object name onto your desktop from the database window or navigation panel.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now