473,487 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Form instead of Msgbox

102 New Member
I want to use a form to replace the Msgbox. A form will let me control such things like font size, color etc. What I do not know is how to control the form. To keep this simple Form A calls on myMsgbox to display a message. How do I put Form A in a wait state while myMsgbox does it thing and the user presses the OK button in myMsgBox?

Any help is appreciated.
Aug 12 '15 #1
1 1085
Rabbit
12,516 Recognized Expert Moderator MVP
Make the form modal. That forces it to retain focus until it is closed.
Aug 12 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2233
by: RC | last post by:
When I am adding records to a database and each record is unique by the Serial Number. I would like to step through my code adding records unless the Serial Number already exists in the database. ...
5
8092
by: Matthew | last post by:
I would like to make it so when a user clicks the X in the upper right corner it hides the form instead of closing it. I have an icon in the system tray, and other forms running. If the main form...
0
1307
by: weezles | last post by:
hi I'm having trouble with using a linked form instead of a sub form on a 1 to many relationship. Then linked form can be accessed from various other forms. When it opens the linked form, if...
0
2718
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
6
4907
by: Paul Furman | last post by:
I'm getting incorrect response when hitting the enter key instead of actually clicking the button on a form. It activates but the post data isn't being sent I think. The php generated page...
14
5143
by: wassimdaccache | last post by:
Hello everybody :) is there any function in Visual basic that I can use it to have a message box for my form for a certain second and after it will hide automatically for example : ...
2
2429
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
Hi, I am going to write a large application using Visual Studio C#. I am going to use only one Form as main menu and go to other pages by cliking on next button in each page. I dont want to create...
6
1582
by: osman7king | last post by:
Hi dears, When the user press the Save button, the program should insure that a combo box has a value select. If not selected, a message box with single OK button should be opened. but when I...
7
1456
by: yashuaking | last post by:
I once posted an issue on this platform concerning entering data into a subform with an input box and was advised to rather use another form to enter data into the subform instead of an input box. I...
0
7106
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
6967
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
5442
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
4874
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
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
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
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
267
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.