473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Default MessageBox Title

Hello All.

Dont know if is a simple question, but I have searched it already and tryied
something with no success.

I would like to know if there is any way to set a default title to all my
message boxes (msgbox) from my application, so I dont need to set it
manually.

Actually, it shows, by default, the assembly name (obs: I got no success
changing the assembly info file)

Cesar
Jun 27 '06 #1
2 2087
I don't think there is a way to do so. But the easiest way is to create
a method/function that calls your messageboxes like the following:

sub messageboxcreator(.....The parameters you usually use...) as
DialogeResults

return messagebox.show(....Your parameters and you set the title
to whatever you want....)

end sub

Ahmed
ronchese (a) wrote:
Hello All.

Dont know if is a simple question, but I have searched it already and tryied
something with no success.

I would like to know if there is any way to set a default title to all my
message boxes (msgbox) from my application, so I dont need to set it
manually.

Actually, it shows, by default, the assembly name (obs: I got no success
changing the assembly info file)

Cesar


Jun 27 '06 #2
hmmm.. ok. That's the way you use.
If I really cant find any setting to do it, ill use that too
:^P

Thanks
Cesar

"Ahmed" <ah*******@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
I don't think there is a way to do so. But the easiest way is to create
a method/function that calls your messageboxes like the following:

sub messageboxcreator(.....The parameters you usually use...) as
DialogeResults

return messagebox.show(....Your parameters and you set the title
to whatever you want....)

end sub

Ahmed
ronchese (a) wrote:
Hello All.

Dont know if is a simple question, but I have searched it already and
tryied
something with no success.

I would like to know if there is any way to set a default title to all my
message boxes (msgbox) from my application, so I dont need to set it
manually.

Actually, it shows, by default, the assembly name (obs: I got no success
changing the assembly info file)

Cesar

Jun 27 '06 #3

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

Similar topics

0
by: Billy Jacobs | last post by:
You will need to use client side script to display a message box: The following code demonstrates the results of the alert using a hidden input box, and javascript. Do the following. 1....
4
by: Drew Lettington | last post by:
I'm making a simple call to display error messages in a MessageBox from a Windows form and the MessageBox is not behaving in a modal fashion. My modal form displays, the user clicks a button and...
1
by: RajaRengham | last post by:
Hi all Please have a look at the following code. problem with this is when the button1_click is initiated by keyborad it works well. But when it is initiated by mouse,focus on the default button...
2
by: Alvo von Cossel I | last post by:
hi, i am creating an app wich uses lots of messageboxes. messagrbox.show("cheese", "is tasty");sets the message's title to cheese and the text is "is tasty". how do i change the iocon for it...
0
by: peng.wu_cn | last post by:
I use MessageBox to show a command usage.I hope parameters and comments keep left alignment,so I insert space char to format them. But the result was not like I expected, it looks all space char...
2
by: James Curran | last post by:
Here's a question for the group. I am presently writing a class, which is a simple Dialog/Form. It handles a fairly common function, so I writing it to be generic enough to be dropped into any...
5
by: Wonder | last post by:
How can I create or use the msgobx to show a message without a default button. The user has explicity to click on the button, so the msgbox closes it. Thanks,
6
by: =?Utf-8?B?VmVybm9uIFBlcHBlcnM=?= | last post by:
I have an application that is designed for using with a bar code scanner. I want the user to know that the scan was complete and the data was entered, so I am playing a system sound after data...
9
by: sovht | last post by:
System: Intel, Windows XP Pro, SP2 IDE: VC++ 6.0 Problem: *Very* simple program to create a MessageBox only ever displays the first character of the given string. I checked the spec for the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.