473,474 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Popup Form + Messagebox

Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve
Nov 12 '05 #1
4 9542
A MsgBox should open on top of a dialog/popup form. Just call it from the
code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve

Nov 12 '05 #2
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"

In this code, MyForm has to either become not visible or close before the
messagebox opens.

I'm looking for a way to have them both open at the same time.

Steve

"Ken Snell" <kt***********@notcomcast.realnet> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl...
A MsgBox should open on top of a dialog/popup form. Just call it from the
code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve


Nov 12 '05 #3
"Steve" <sp**@nospam.net> wrote in news:m%Kjb.7$Uz6.1
@newsread1.news.atl.earthlink.net:
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"


You could try

Private Sub Form_Load()
Me.Visible = True
MsgBox "blah"
End Sub

in the form module.
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
You're right...I didn't understand that this was what you wanted to do.

Open the MsgBox from the Dialog form, not from the calling form. As Lyle
suggests, you can do this in the dialog form's OnLoad event; or you can use
the dialog form's OnOpen event.

--
Ken Snell
<MS ACCESS MVP>
"Steve" <sp**@nospam.net> wrote in message
news:m%***********@newsread1.news.atl.earthlink.ne t...
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"

In this code, MyForm has to either become not visible or close before the
messagebox opens.

I'm looking for a way to have them both open at the same time.

Steve

"Ken Snell" <kt***********@notcomcast.realnet> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl...
A MsgBox should open on top of a dialog/popup form. Just call it from the code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in acDialog mode?

Thanks for any ideas!

Steve



Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Fink | last post by:
I have written a c# windows application which is occasionally throwing this messagebox popup exception in the test environment: "application has generated an exception that could not be handled"...
3
by: glenhong | last post by:
Im trying to display a popup window (similar to a context menu) and return a result from the selection. I want to do this as a modal popup ie. The code runs and displays the popup but pauses...
2
by: Amir Shaz | last post by:
Ive a requirement to display the details in a Popup window. I open the new window using Java Script. I need to save the details on the Popup form. Ive placed a button on the details form. OnClick...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
3
by: Prasun | last post by:
Hello: Is there a way from me to make a second form(a DataGrid) pop-up when the user presses a button on a message box. How do I do this? Thank You Prasun
5
by: SQACSharp | last post by:
I'm trying to automate an action in Internet Explorer.... I'm trying to click an image that open a popup menu. The html code of the iimage look like like <img blabla..OnClick="ShowMenu()"/> I...
1
by: Peter Hann | last post by:
I don't want to create a full Form for this purpose. Is there a simple built-in MessageBox available from CSharp GUI programs similar to: ShowMsgBox("This is a sample text"); ? Peter
2
by: harvindersingh | last post by:
Hello guys, I am developing a Windows Forms application in C#, I am using PostgreSQL as the Database. The application is bassically using the database to store and lookup information, nothing so...
4
by: cmrhema | last post by:
Hi, I have two questions a) I have a registration page which on successfull registration throws an popup alert ClientScript.RegisterStartupScript(this.GetType(), "strJsMessage",...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.