How can I pop up a window in VB.net?
-
I am doing a page for user to editing the information. Before the user click a "SAVE" button, I need to check the time stamp from the database to check whether there is person editing the information before the user. If yes, then I need to pop up a window to show the difference the information. Please kindly assist. Thanks
-
I am doing a page for user to editing the information. Before the user click a "SAVE" button, I need to check the time stamp from the database to check whether there is person editing the information before the user. If yes, then I need to pop up a window to show the difference the information. Please kindly assist. Thanks
create a form for the pop up window (frmPopUp) put the controls that u need in it (labels, textboxes, images,...) Then
dim objPopUp as new frmPopUp objPopUp.(what u need to initialize ...) = ... objpopUp.show/showdialog 'Depending on how u want it to act (modal,modaless)
hope this would helpBest Regards 3ala2 :)
-
create a form for the pop up window (frmPopUp) put the controls that u need in it (labels, textboxes, images,...) Then
dim objPopUp as new frmPopUp objPopUp.(what u need to initialize ...) = ... objpopUp.show/showdialog 'Depending on how u want it to act (modal,modaless)
hope this would helpBest Regards 3ala2 :)
-
I don't have a method of objpopUp.show. May be it is due to I am creating a web form. I still cannot pop up a new window.... But anyway, thanks for 3ala2. Pls kindly help. Many Many Thanks
-
:-D u should have posted this in the ASP.net section. I gave u windows application code for pop ups in web u need to use window.open javascript function
Best Regards 3ala2 :)
-
I am doing a page for user to editing the information. Before the user click a "SAVE" button, I need to check the time stamp from the database to check whether there is person editing the information before the user. If yes, then I need to pop up a window to show the difference the information. Please kindly assist. Thanks
Dude, you need to do a lot more than that. I don't know if your government allows direct access to Microsoft information sites, but if so, start here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconOptimisticConcurrency.asp[^] Then try to read as much as you can of what else is there. They also have examples. Good luck.