473,569 Members | 2,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2092
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 messageboxcreat or(.....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*******@gmai l.com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.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 messageboxcreat or(.....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
3049
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. Create a webform and copy the following into the Load function: lblResult.Text = Request.Form("ReturnValue")
4
10921
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 error handling code calls MessageBox.Show. The user is then allowed to click the button on my form again before clicking OK on the MessageBox. ...
1
1164
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 is missing. Is there any problem with MessageBox Class private void button1_Click(object sender, System.EventArgs e ...
2
13954
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 e.g. warning (a red exclamation mark)? thanks in advance --
0
689
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 was taken place by '\t' when box popup. I want MessageBox show alignment just like using printf. Who can tell me how to resolve it? Thanks....
2
1725
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 application. Now, here's the problem: At one point, it pops up a MessageBox --- What should I put into the Caption of that MessageBox. The...
5
5413
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
2973
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 entry. The data is being put into a text box, and a Return is sent after the data. I use the keypress event to capture the Return, and save the data....
9
7961
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 MessageBox function and I believe I am adhering to it. I have also done a search for this issue, but have come up empty handed. Perhaps my search...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
950
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.