473,505 Members | 14,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Message box gets minimised on taskbar

18 New Member
Hi,

I am using the messagebox code as System.Windows.Forms.MessageBox.Show("WELCOME"); , in my application to get a message box. I get as a minimised window of the messagebox on the taskbar. I want to avoid this minimising of the messagebox and it should come in the application as any other normal messageboxes. Can anybody tell me what am I supposed to do to remove this minimising of the messagebox window on the taskbar and instead to get it in the center of the page at runtime.
Mar 5 '09 #1
8 5337
r035198x
13,262 MVP
What other code do you run after the
Expand|Select|Wrap|Line Numbers
  1. System.Windows.Forms.MessageBox.Show("WELCOME");
line?
Mar 5 '09 #2
kunal pawar
297 Contributor
Can you submit code from your are calling MessageBox.show(...); This will help us to know your problem.
Mar 5 '09 #3
hiranmaie
18 New Member
for some pages like loginpage, I will write responce.redirect("Home.aspx");
after System.Windows.Forms.MessageBox.Show("WELCOME");

In some pages i have written System.Windows.Forms.MessageBox.Show("WELCOME"); after saving the values into the database in try block, after try block i write the catch block and close the save function.
Mar 5 '09 #4
r035198x
13,262 MVP
If you open another page after showing the pop up then the pop up may be minimized. Better show the pop up from that Home.aspx page.
Mar 5 '09 #5
hiranmaie
18 New Member
I am getting the same result irrespective of where ever I use the message box. I am getting the minimised message box. I am using the message box in web based project and its not a console application.
Mar 6 '09 #6
Plater
7,872 Recognized Expert Expert
You should not be using System.Windows.Forms.MessageBox.Show in a webapplication.
You should be using javascript's Alert()
Mar 6 '09 #7
hiranmaie
18 New Member
I tried using alert messages, it shows the heading of the messagebox window as Internet Explorer and an icon of warning message come in the message box which I dont need. How to remove the icon and customise the heading of the message box window. If I can get any example code for this type of message box it would be helpful. Please help.
Mar 9 '09 #8
Plater
7,872 Recognized Expert Expert
I'm not sure you can, I don't see why it matters but thats up to you.

Using windows.forms will only work in IE though.
Mar 9 '09 #9

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

Similar topics

0
1489
by: D Witherspoon | last post by:
An application I've just finished developing is not showing up in the taskbar on startup until the application is clicked on. This makes it difficult as it is being launched as a No Touch...
1
5183
by: vijay | last post by:
To add a taskbar to a C# application Am currently developing a windows console application in C# (.NET 2003) and have a requirement to build a taskbar. The windows application is designed to...
2
1189
by: Charles Law | last post by:
When an MDI child window is minimised its height attribute returns 24 (on my system), but when it is restored it goes back to its former height (and width). How can I get the restore height and...
4
1335
by: - Dan - | last post by:
I have an assembly that opens minimised and uses a notify icon in the system tray. IN the new() I have Me.ShowInTaskbar = False and when the form loads I use Me.WindowState =...
2
24805
by: JohnProgrammer | last post by:
I know I can fill the screen in VB.NET by starting my window maximized and without a border. My question is; in VB.NET is there a way to enable/disable the taskbar much like doing the "always on...
2
3061
by: John Smith | last post by:
I display some alerts dynamically in a div. This is great when the browser is maximised but I need some way of alerting the user if the browser is minimised to the taskbar. Is there some effective...
6
2281
lotus18
by: lotus18 | last post by:
Hello World I have an API here that shows and hides the windows taskbar. My question is ... how can I completely hide the taskbar without a space below? Like setting it to Auto-hide the taskbar on...
3
8714
by: BlackShadow33p1 | last post by:
I'm trying to write a program in C++ that gets the handles of all the visible entries in the windows taskbar. The method I've used so far is to send the TB_GETBUTTON message to the taskbar. ...
5
1019
by: axapta | last post by:
Hi Group, I've got a search screen whereby it could take a couple of seconds or minutes for the results to be returned. Is there a way to place a "working message" in the taskbar area, so the...
0
7098
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
7303
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,...
1
7018
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...
0
7471
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...
1
5028
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
4699
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
3187
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
1528
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 ...
0
407
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.