Question Msgbox not working with Runtime

Lobster1071

Registered User.
Local time
Today, 17:04
Joined
May 18, 2008
Messages
23
OK, I'm stumped on this one...

Anyone having an issue with "msgbox" commands not appearing when running on systems with Access Runtime 2010/2013 ?

I create an application on my system (Access 2007), distribute it to other workstations (using everything from Win XP to Win 7), and install the Runtime 2010 (for XP) or 2013. The program works fine in all respects except any message I want displayed using msgbox simply doesn't appear.

Is it simply that I created it using Access 2007, but the Runtime is 2010 or 2013?

I've even done the registry modification on those workstations to make the working directory a Trusted Source, but that doesn't help either.

Any ideas from anyone? Thanks.
 
Hmm, seems odd, what line are you using to show the MsgBox?
 
Hmm, seems odd, what line are you using to show the MsgBox?

Just the standard MsgBox command like I've always used.

This is just one use of it in my code, but there is nothing different than how I've always used them:

MsgBox "There is a problem with the database file selected." & vbCrLf & vbCrLf & _
"Please make sure it is the correct file." & vbCrLf & vbCrLf _
, , "Database error!"

The MsgBox windows work fine on the machine I've developed the program on. They even work on this machine when I put a "/runtime" after running the prorgam to simulate a Runtime enviroment. They just don't work on any machine with only the Access Runtime 2010 or 2013 installed (not the full Access program).

Honestly, I have to test this further. I want to try a simple form with just a button that activates a MsgBox and see if the same thing happens, or if it's just with this particular program I've developed. It's just very strange and annoying, and I just wanted to see if anyone had a suggestion like.."oh yeah knucklehead, just check this option in the settings..." I was hoping it was that simple.

Thanks for the reply.
 
Yes, please do try a fresh Form because that should work no matter what version.
 
Hmm, since this is just a message box I wonder if the actual problem is the line before it. What is the code that leads up to this line?
 

Users who are viewing this thread

Back
Top Bottom