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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Please!!!Runtime

Status
Not open for further replies.

lymarist

Programmer
Feb 24, 2003
5
PR
I have an aplication in access 2000. I already have the runtime and it's works a 90% :( When the application run in the runtime I can't execute this command And I dont know WHY?????
Dim dbs As Object


Set appAccess = _
CreateObject("Access.Application")
' Open database in Microsoft Access window.
appAccess.NewCurrentDatabase ("A:\FE3.mdb")
I really don't know what is the real problem...HELP ME PLEASSE>>>>>
 
Which error message ?
Which line highlighted when in debug mode ?

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
When I run the program in Access I have no problem with the application...The problem is when I run the application in Runtime, and I can't debug in this mode.

I think that CreateObject("Access.Application")... is a comand that the system in runtime mode doesn't accept....
 
Does Dim appAccess as New Access.Application work?

Ben

----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
 
I had the same problem. I ended up using a shell command to open the access application.

Mark P.

Bleh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top