window in visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ck123456
    New Member
    • Aug 2007
    • 13

    window in visual basic

    hi ppl..
    can anyone tell me how to open a new window in visual basic so that user can read the info from the window and also play with the program at the same time..
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly pass few more details about your requirment.

    Comment

    • ck123456
      New Member
      • Aug 2007
      • 13

      #3
      hmmm im designing a program that allows user to input data into the textbox but in order for them to understand how to go about using the program, there will be a small window open at the side to provide info for the user and the window will always stay there so that user can still read and follow the instructions in the window.
      i tried using a pop- up box but for a pop-up box, you have to click ok in order to proceed on with the program and then the box will be gone and if the user wants to read again, they have to click the button for the pop-up box and remember the info so its not user-friendly.
      can this window be done??

      Comment

      • muddasirmunir
        Contributor
        • Jan 2007
        • 284

        #4
        just made another form in your project add your desired data in it.
        while on the first form place a button and add the following code
        to the click event of butoon

        Code:
        form2.show
        it will dislpay the second from
        note: if you are using MDI Form and the child property of the form2
        is true then write following code.
        Code:
         
        load form2



        Originally posted by ck123456
        hmmm im designing a program that allows user to input data into the textbox but in order for them to understand how to go about using the program, there will be a small window open at the side to provide info for the user and the window will always stay there so that user can still read and follow the instructions in the window.
        i tried using a pop- up box but for a pop-up box, you have to click ok in order to proceed on with the program and then the box will be gone and if the user wants to read again, they have to click the button for the pop-up box and remember the info so its not user-friendly.
        can this window be done??

        Comment

        • ck123456
          New Member
          • Aug 2007
          • 13

          #5
          Thanks!!! and now i need to input a scroll bar for the user..can tell me what is the code to make the vertical scroll bar work??

          Comment

          • debasisdas
            Recognized Expert Expert
            • Dec 2006
            • 8119

            #6
            Originally posted by ck123456
            Thanks!!! and now i need to input a scroll bar for the user..can tell me what is the code to make the vertical scroll bar work??
            Are you trying to add scrollbar to the form itself.

            Comment

            • ck123456
              New Member
              • Aug 2007
              • 13

              #7
              hi..thx..i had solved the scrollbar problem..but now regarding the new window, i tried putting in a new form(for the info) but when i click back to the main program, the form(with the info) will be minimise. is there any way to make the form(with the info) stay even if i click back to the main program??

              Comment

              • AxleWacl
                New Member
                • Oct 2007
                • 3

                #8
                Originally posted by ck123456
                hi..thx..i had solved the scrollbar problem..but now regarding the new window, i tried putting in a new form(for the info) but when i click back to the main program, the form(with the info) will be minimise. is there any way to make the form(with the info) stay even if i click back to the main program??

                Which version of Visual Studio are you using ?

                Comment

                • Ali Rizwan
                  Banned
                  Contributor
                  • Aug 2007
                  • 931

                  #9
                  Originally posted by muddasirmunir
                  just made another form in your project add your desired data in it.
                  while on the first form place a button and add the following code
                  to the click event of butoon

                  Code:
                  form2.show
                  it will dislpay the second from
                  note: if you are using MDI Form and the child property of the form2
                  is true then write following code.
                  Code:
                   
                  load form2
                  If you use
                  Code:
                  Form2.Show,Me
                  then the info form (Form2) will on top of form 1 else form2 (info form) will get behind the form 1(Where the data is inputing)

                  GOODLUCK
                  ALI

                  Comment

                  Working...