473,657 Members | 2,395 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.MessageBo x.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 5349
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.redire ct("Home.aspx") ;
after System.Windows. Forms.MessageBo x.Show("WELCOME ");

In some pages i have written System.Windows. Forms.MessageBo x.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.MessageBo x.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
1499
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 Deployment app from Internet Explorer. Sometimes the app will show up in the background without showing up in the taskbar. Plus if it is minimized, sometimes it just appears hidden without being in the taskbar and only comes back by clicking Alt-Tab...
1
5196
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 launch MS applications such as MS Word, Excel, IE etc apart from third party applications which include web based and client server applications. This taskbar would require to hold applications which are launched from the applications console....
2
1195
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 width while the window is minimised? I want to save the state of my application windows, including those that are minimised, but I need to save the restore dimensions and not the minimised dimensions. TIA
4
1343
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 = FormWindowState.Minimized but the form opens sort-of minimised but it minimises to a small bar above the start button. I dont want to see the small bar, i want it minimised and not visible except forthe notify icon in the system tray.
2
24894
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 top" feature? I would like my program to automatically "hide" the taskbar when running. Thanks. John
2
3066
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 way of doing this?
6
2307
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 the taskbar properties? When I run this program it seems like the taskbar's opacity=0 or invisible but still it has a little space below. Do you get what I mean? I want to show how is it really looks like but I don't know how to insert an image...
3
8740
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. Supposedly the window handle for an entry is in the dwData structure in the TBBUTTON structure but I'm having a hard time retrieving the handle from the structure correctly. It seems when I look at the data I've retrieved, it is not a handle (negative...
5
1024
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 user can see that it is doing something? I did this years ago in MS Access. Should be able to do this in ..NET. I'm querying a SQL database using a DA. Thanks
0
8394
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4152
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
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
2
1615
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.