| | |
How to create a pop-up window in VB.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Sep 2008
Posts: 3
Reputation:
Solved Threads: 2
Hi,
What do u exactly want do u want to show any message as a pop-up in vb.net or do you want to show entire other form as pop-up???
if u want message as a pop-up then you can write
MsgBox("<<Message To Show>>", MsgBoxStyle.Information, "<<Tital>>")
OR
MessageBox.Show("<<Message To Show>>", "<<Tital>>", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly, False)
if u want to open new form as pop-up then
Dim Obj as new Form1
Obj.Show()
or
Dim Obj As New Form1
Obj.ShowDialog()
Regards,
Vidyadhar
What do u exactly want do u want to show any message as a pop-up in vb.net or do you want to show entire other form as pop-up???
if u want message as a pop-up then you can write
MsgBox("<<Message To Show>>", MsgBoxStyle.Information, "<<Tital>>")
OR
MessageBox.Show("<<Message To Show>>", "<<Tital>>", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly, False)
if u want to open new form as pop-up then
Dim Obj as new Form1
Obj.Show()
or
Dim Obj As New Form1
Obj.ShowDialog()
Regards,
Vidyadhar
Regards,
Vidyadhar
Vidyadhar
Post your code.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Sep 2008
Posts: 3
Reputation:
Solved Threads: 2
Can you tell me what is ur forms name.. In my code give below you will have to replace form1 text with your forms name... Please try this and let me know if you are still getting any error write back to me with exact error message you are getting...
Regards,
Vidyadhar
Vidyadhar
Then post your code, it more help.
and which line of error...
and which line of error...
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Dec 2007
Posts: 27
Reputation:
Solved Threads: 1
Hi, i think i understand your requirement. Is it you want you click the button, and then the current form will be close, and the new form will pop up?
if this is your requirement, then the solution will as the following
when u click the button, then the form1 will close while the form2 will be pop up.
Me.Hide()
Form2.Show()
Hope this can help u..
if this is your requirement, then the solution will as the following
when u click the button, then the form1 will close while the form2 will be pop up.
Me.Hide()
Form2.Show()
Hope this can help u..
![]() |
Similar Threads
- IE Explorer and Mozilla pop up every 5 minutes (Viruses, Spyware and other Nasties)
- One-Click Shutdown (Windows tips 'n' tweaks)
- Partial render or Page Not Found in ASP.NET 1.1 app (ASP.NET)
- Open Gl Programing Error (help)... (Game Development)
- Rogue system tray icons and pop-ups. (Viruses, Spyware and other Nasties)
- Annoying pop-ups (Viruses, Spyware and other Nasties)
- All You Need for Accessibility - Resources List (Site Layout and Usability)
- Please help me with spyware and pop ups (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: Resize Image + Media player
- Next Thread: Vb.net Projects
| Thread Tools | Search this Thread |
"crystal .net .net2005 2008 access add advanced application array assignment basic beginner box button buttons center click client code combo convert cpu data database datagrid datagridview designer dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall forms html image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity pan picturebox picturebox2 port print printpreview record regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase sqlserver storedprocedure string temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winsock wpf wrapingcode xml






