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. vb.net

vb.net

Scheduled Pinned Locked Moved Visual Basic
csharp
20 Posts 5 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.
  • B bhawna_k

    whtever ur saying is the main problem,if i hav to put 100 quesion then there ll be 100 forms. is there nyway with which i can decrease no.of forms

    M Offline
    M Offline
    manni_n
    wrote on last edited by
    #10

    i think its yr requirement only that each forms shud have one questions only... if u want u can add any no. of questions on one form... otherwise i think connecting it with DB cud be the option... not the nice one but jst one more way.. in wich u connect it wid DB and on each click next question will appear on same window and same label... but as i think ts jst an asssignment for u not any project.. so u need not to go dat much deep.... if u want that way .. i think i can try that... bye

    B 1 Reply Last reply
    0
    • M manni_n

      i think its yr requirement only that each forms shud have one questions only... if u want u can add any no. of questions on one form... otherwise i think connecting it with DB cud be the option... not the nice one but jst one more way.. in wich u connect it wid DB and on each click next question will appear on same window and same label... but as i think ts jst an asssignment for u not any project.. so u need not to go dat much deep.... if u want that way .. i think i can try that... bye

      B Offline
      B Offline
      bhawna_k
      wrote on last edited by
      #11

      this is not an assignment,my project is online test.there are three categories,computers mathematics and general english.my requirement is 1 form for each subject to display quesions. Db connectivity is not a gud options splly for me who dont knw anything abt db connectivity. somone has given me a suggesion .ill try that first otherwise definately conern

      M 1 Reply Last reply
      0
      • B balakpn

        hi dont get confused just add a label r richtext box r text box wat ever u want for displaying question on every next u just cahange the text of the control wat u r using for displaying question to next questions text just write this event on the button which is being used for retrival of next question

        with regards Balagurunathan.B

        B Offline
        B Offline
        bhawna_k
        wrote on last edited by
        #12

        hiii whtever u said is working for only one click. click event on the same button is not working for second time. displaying an error " Method 'Button1_Click' has multiple definitions with identical signatures."

        B 1 Reply Last reply
        0
        • B bhawna_k

          my project is online test in vb.net.i m new to vb.net. i want to knw if ill use 1 form for each quesion then there is going to be lots of forms.is there nyway to combine multiple forms with single form bhawna

          T Offline
          T Offline
          taherjaorawala
          wrote on last edited by
          #13

          just copy paste the code which I think that can solve your problem this is the designer file _ Partial Class Form1 Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) If disposing AndAlso components IsNot Nothing Then components.Dispose() End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. _ Private Sub InitializeComponent() Me.GroupBox3 = New System.Windows.Forms.GroupBox Me.GroupBox4 = New System.Windows.Forms.GroupBox Me.GroupBox6 = New System.Windows.Forms.GroupBox Me.GroupBox7 = New System.Windows.Forms.GroupBox Me.RadioButton25 = New System.Windows.Forms.RadioButton Me.RadioButton26 = New System.Windows.Forms.RadioButton Me.Label7 = New System.Windows.Forms.Label Me.RadioButton27 = New System.Windows.Forms.RadioButton Me.RadioButton28 = New System.Windows.Forms.RadioButton Me.RadioButton21 = New System.Windows.Forms.RadioButton Me.RadioButton22 = New System.Windows.Forms.RadioButton Me.Label6 = New System.Windows.Forms.Label Me.RadioButton23 = New System.Windows.Forms.RadioButton Me.RadioButton24 = New System.Windows.Forms.RadioButton Me.RadioButton13 = New System.Windows.Forms.RadioButton Me.RadioButton14 = New System.Windows.Forms.RadioButton Me.Label4 = New System.Windows.Forms.Label Me.RadioButton15 = New System.Windows.Forms.RadioButton Me.RadioButton16 = New System.Windows.Forms.RadioButton Me.RadioButton9 = New System.Windows.Forms.RadioButton Me.RadioButton10 = New System.Windows.Forms.RadioButton Me.Label3 = New System.Windows.Forms.Label Me.RadioButton11 = New System.Windows.Forms.RadioButton Me.RadioButton12 = New System.Windows.Forms.RadioButton Me.Button1 = New System.Windows.Forms.Button Me.Button2 = New System.Windows.Forms.Button Me.GroupBo

          B 1 Reply Last reply
          0
          • B bhawna_k

            this is not an assignment,my project is online test.there are three categories,computers mathematics and general english.my requirement is 1 form for each subject to display quesions. Db connectivity is not a gud options splly for me who dont knw anything abt db connectivity. somone has given me a suggesion .ill try that first otherwise definately conern

            M Offline
            M Offline
            manni_n
            wrote on last edited by
            #14

            yr problem is changin wid each reply yaar.... earlier u were in need of one question on one form.... then u wanna decrease no. of forms... and nw its three subjects.... finally make three forms for three subjects... and put all the questions on respective forms.. hw u have to join them , i have already told ya... if still its nt resolved.... then probably u r not able to describe yr problems... put yr requiement in specific and easy manner

            B 1 Reply Last reply
            0
            • M manni_n

              yr problem is changin wid each reply yaar.... earlier u were in need of one question on one form.... then u wanna decrease no. of forms... and nw its three subjects.... finally make three forms for three subjects... and put all the questions on respective forms.. hw u have to join them , i have already told ya... if still its nt resolved.... then probably u r not able to describe yr problems... put yr requiement in specific and easy manner

              B Offline
              B Offline
              bhawna_k
              wrote on last edited by
              #15

              aap ek subject ke liye reply karo mai tino par same apply karungi.ur right i cannot specify my problem. leave it i got solution for my problem which create another problem if ur interested then i ll explain u

              M 1 Reply Last reply
              0
              • B bhawna_k

                hiii whtever u said is working for only one click. click event on the same button is not working for second time. displaying an error " Method 'Button1_Click' has multiple definitions with identical signatures."

                B Offline
                B Offline
                balakpn
                wrote on last edited by
                #16

                if u dont mind send me the coding i think u have done mistkae take the values in dataset have a static variable r any thing to loop and display it

                with regards Balagurunathan.B

                1 Reply Last reply
                0
                • T taherjaorawala

                  just copy paste the code which I think that can solve your problem this is the designer file _ Partial Class Form1 Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) If disposing AndAlso components IsNot Nothing Then components.Dispose() End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. _ Private Sub InitializeComponent() Me.GroupBox3 = New System.Windows.Forms.GroupBox Me.GroupBox4 = New System.Windows.Forms.GroupBox Me.GroupBox6 = New System.Windows.Forms.GroupBox Me.GroupBox7 = New System.Windows.Forms.GroupBox Me.RadioButton25 = New System.Windows.Forms.RadioButton Me.RadioButton26 = New System.Windows.Forms.RadioButton Me.Label7 = New System.Windows.Forms.Label Me.RadioButton27 = New System.Windows.Forms.RadioButton Me.RadioButton28 = New System.Windows.Forms.RadioButton Me.RadioButton21 = New System.Windows.Forms.RadioButton Me.RadioButton22 = New System.Windows.Forms.RadioButton Me.Label6 = New System.Windows.Forms.Label Me.RadioButton23 = New System.Windows.Forms.RadioButton Me.RadioButton24 = New System.Windows.Forms.RadioButton Me.RadioButton13 = New System.Windows.Forms.RadioButton Me.RadioButton14 = New System.Windows.Forms.RadioButton Me.Label4 = New System.Windows.Forms.Label Me.RadioButton15 = New System.Windows.Forms.RadioButton Me.RadioButton16 = New System.Windows.Forms.RadioButton Me.RadioButton9 = New System.Windows.Forms.RadioButton Me.RadioButton10 = New System.Windows.Forms.RadioButton Me.Label3 = New System.Windows.Forms.Label Me.RadioButton11 = New System.Windows.Forms.RadioButton Me.RadioButton12 = New System.Windows.Forms.RadioButton Me.Button1 = New System.Windows.Forms.Button Me.Button2 = New System.Windows.Forms.Button Me.GroupBo

                  B Offline
                  B Offline
                  balakpn
                  wrote on last edited by
                  #17

                  dont use group box and all ur query is very simple u use just a single label set ur question as text its over

                  with regards Balagurunathan.B

                  T 1 Reply Last reply
                  0
                  • B bhawna_k

                    aap ek subject ke liye reply karo mai tino par same apply karungi.ur right i cannot specify my problem. leave it i got solution for my problem which create another problem if ur interested then i ll explain u

                    M Offline
                    M Offline
                    manni_n
                    wrote on last edited by
                    #18

                    no problem... go ahead...

                    1 Reply Last reply
                    0
                    • B balakpn

                      dont use group box and all ur query is very simple u use just a single label set ur question as text its over

                      with regards Balagurunathan.B

                      T Offline
                      T Offline
                      taherjaorawala
                      wrote on last edited by
                      #19

                      but u cannot go back to the previous question u can only navigate the next question

                      B 1 Reply Last reply
                      0
                      • T taherjaorawala

                        but u cannot go back to the previous question u can only navigate the next question

                        B Offline
                        B Offline
                        balakpn
                        wrote on last edited by
                        #20

                        u have to think a lot in concept if u want only the question you have to use another button and reduce the value one by one . if with answers then u have to store in database and have to do some extra thinks toretrive think a bit same as increasing the count we going to decrease the count

                        with regards Balagurunathan.B

                        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