שתף באמצעות


how to create windows popup using vb.net

Question

Saturday, April 16, 2011 9:51 AM

please

All replies (4)

Wednesday, April 20, 2011 8:38 AM ✅Answered

What kindaf popup you want? Dialog box style?  

MessageBox.Show("Hello", "Welcome", MessageBoxButtons.OKCancel)

 


Tuesday, May 10, 2011 3:45 AM ✅Answered

Hello prashant_Khilari,

Which kind of windows do you want to pop up?

1) If you want a message as a pop-up, then Jenifer_Q's suggestion is helpful. You could also check below link about MessageBox.Show Method from MSDN for more information.

http://msdn.microsoft.com/en-us/library/365dky5y(VS.80).aspx

2) If you want to open a new form as pop-up then

Dim frm As New Form 
frm.Show()

or

Dim frm As New Form 
frm.ShowDialog()

  

3) If you want to create a custom popup windows, please check this sample code:

http://www.codeproject.com/KB/miscctrl/simplepopup.aspx (Simple Popup Control)

If you have any concerns, please feel free to follow up.

Best regards

Liliane Teng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Wednesday, December 21, 2016 2:42 PM

How would I go about editing the design of the form in the second option?


Wednesday, December 21, 2016 2:58 PM

How would I go about editing the design of the form in the second option?

By hacking an already as answered marked thread you have less chance for an answer, also it looses the value of this thread. 

Create your own question.

Success
Cor