Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How can I pop up a window in VB.net?

How can I pop up a window in VB.net?

Scheduled Pinned Locked Moved Visual Basic
questioncsharpdatabase
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    walalawll
    wrote on last edited by
    #1

    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

    J O 2 Replies Last reply
    0
    • W walalawll

      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

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      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 help

      Best Regards 3ala2 :)

      W 1 Reply Last reply
      0
      • J just3ala2

        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 help

        Best Regards 3ala2 :)

        W Offline
        W Offline
        walalawll
        wrote on last edited by
        #3

        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

        J 1 Reply Last reply
        0
        • W walalawll

          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

          J Offline
          J Offline
          just3ala2
          wrote on last edited by
          #4

          :-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 :)

          W 1 Reply Last reply
          0
          • J just3ala2

            :-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 :)

            W Offline
            W Offline
            walalawll
            wrote on last edited by
            #5

            Many Many Thanks

            J 1 Reply Last reply
            0
            • W walalawll

              Many Many Thanks

              J Offline
              J Offline
              just3ala2
              wrote on last edited by
              #6

              :-D No problem ...

              Best Regards 3ala2 :)

              1 Reply Last reply
              0
              • W walalawll

                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

                O Offline
                O Offline
                OldWarhorse
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups