Calling Access from vb.net application - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Calling Access from vb.net application

paulmorrisonpaulmorrison Posts: 127Member
When running inside the Visual Studio program itself, the program runs fine: it opens Access, runs a report, and quits. When running just the EXE by itself, and I try to execute this code, I get errors like "LOG: Attempting download of new URL file:///C:/Library/Access.EXE.". Like it can't find Access (and it should be using MsAccess. Any suggestions?

Comments

  • paulmorrisonpaulmorrison Posts: 127Member
    : When running inside the Visual Studio program itself, the program runs fine: it opens Access, runs a report, and quits. When running just the EXE by itself, and I try to execute this code, I get errors like "LOG: Attempting download of new URL file:///C:/Library/Access.EXE.". Like it can't find Access (and it should be using MsAccess. Any suggestions?
    :

    I may have fixed this myself. I just added the Access.dll to the folder from which the executable was running. I suppose I should have created an installation project?
Sign In or Register to comment.