OpenReport action was cancelled in RUNTIME

Vulcan1500

Registered User.
Local time
Today, 18:22
Joined
Nov 13, 2007
Messages
143
My MS Access 2003 database works, but as soon as it's compiled to mde and started in the MS Access 2003 RUNTIME 2003 it generates error 'OpenReport action was cancelled'. If I reject from the mdb in the on open event the code:
Code:
Dim PathLogo As String
PathLogo = CurrentProject.Path & "\logo.jpg"
Me.imgPic.Picture = PathLogo
and compile it to mde this error does not occur. Any idea why?
The reason to get the logo from this path is, that the user is free to install the frontend at any location.
 
I just tried to use a Logo.gif, but same problem. Checked the error message, which says: 'DB does not support the format of the file Logo.jpg or file is too large. Try bmp or gif'.
This only happens when I run the DB in RUNTIME!!!!!:eek: :confused: :mad:
 
***** FOUND IT *****
I had to install 'Office File Converter Pack', which I downloaded from Microsoft, and after that it's working perfect. :) I hope you read this message before you start pulling you head out.
 

Users who are viewing this thread

Back
Top Bottom