Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDB not deployed in VB 2008 clickonce app

Status
Not open for further replies.

RustyAfro

Programmer
Jan 12, 2005
332
US
Hi all,

I have a basic console application with an mdb file added as a file to copy always.

After publishing the app using click-once, the published directory has the myaccess.mdb.deploy file.

When setup.exe is run, the app installs fine. But when I look in the actual installation directory on the C: (buried way deep in documents and settings), the .mdb file is not there.

I've so far tried making the mdb a reference in the project settings which also produced the same results.

Any help is appreciated!
 
Thanks, that definitely helped! I needed to go to the Publish tab and click on "Application Files" and set the mdb to "Include" instead of "Data File" (I'm using it for other purposes than data).

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top