Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: try this.... Pin
bhawna_k28-Feb-07 1:16
bhawna_k28-Feb-07 1:16 
Answerfinally... Pin
manni_n28-Feb-07 2:20
manni_n28-Feb-07 2:20 
GeneralRe: finally... Pin
bhawna_k28-Feb-07 2:54
bhawna_k28-Feb-07 2:54 
GeneralRe: finally... Pin
manni_n28-Feb-07 3:38
manni_n28-Feb-07 3:38 
AnswerRe: vb.net Pin
balakpn28-Feb-07 0:55
balakpn28-Feb-07 0:55 
GeneralRe: vb.net Pin
bhawna_k28-Feb-07 1:24
bhawna_k28-Feb-07 1:24 
GeneralRe: vb.net Pin
balakpn28-Feb-07 3:20
balakpn28-Feb-07 3:20 
AnswerRe: vb.net Pin
taherjaorawala28-Feb-07 2:20
taherjaorawala28-Feb-07 2:20 
just copy paste the code which I think that can solve your problem

this is the designer file
<br />
<br />
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _<br />
Partial Class Form1<br />
    Inherits System.Windows.Forms.Form<br />
<br />
    'Form overrides dispose to clean up the component list.<br />
    <System.Diagnostics.DebuggerNonUserCode()> _<br />
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)<br />
        If disposing AndAlso components IsNot Nothing Then<br />
            components.Dispose()<br />
        End If<br />
        MyBase.Dispose(disposing)<br />
    End Sub<br />
<br />
    'Required by the Windows Form Designer<br />
    Private components As System.ComponentModel.IContainer<br />
<br />
    'NOTE: The following procedure is required by the Windows Form Designer<br />
    'It can be modified using the Windows Form Designer.  <br />
    'Do not modify it using the code editor.<br />
    <System.Diagnostics.DebuggerStepThrough()> _<br />
    Private Sub InitializeComponent()<br />
        Me.GroupBox3 = New System.Windows.Forms.GroupBox<br />
        Me.GroupBox4 = New System.Windows.Forms.GroupBox<br />
        Me.GroupBox6 = New System.Windows.Forms.GroupBox<br />
        Me.GroupBox7 = New System.Windows.Forms.GroupBox<br />
        Me.RadioButton25 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton26 = New System.Windows.Forms.RadioButton<br />
        Me.Label7 = New System.Windows.Forms.Label<br />
        Me.RadioButton27 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton28 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton21 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton22 = New System.Windows.Forms.RadioButton<br />
        Me.Label6 = New System.Windows.Forms.Label<br />
        Me.RadioButton23 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton24 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton13 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton14 = New System.Windows.Forms.RadioButton<br />
        Me.Label4 = New System.Windows.Forms.Label<br />
        Me.RadioButton15 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton16 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton9 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton10 = New System.Windows.Forms.RadioButton<br />
        Me.Label3 = New System.Windows.Forms.Label<br />
        Me.RadioButton11 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton12 = New System.Windows.Forms.RadioButton<br />
        Me.Button1 = New System.Windows.Forms.Button<br />
        Me.Button2 = New System.Windows.Forms.Button<br />
        Me.GroupBox1 = New System.Windows.Forms.GroupBox<br />
        Me.RadioButton1 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton2 = New System.Windows.Forms.RadioButton<br />
        Me.Label1 = New System.Windows.Forms.Label<br />
        Me.RadioButton3 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton4 = New System.Windows.Forms.RadioButton<br />
        Me.GroupBox2 = New System.Windows.Forms.GroupBox<br />
        Me.RadioButton5 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton6 = New System.Windows.Forms.RadioButton<br />
        Me.Label2 = New System.Windows.Forms.Label<br />
        Me.RadioButton7 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton8 = New System.Windows.Forms.RadioButton<br />
        Me.GroupBox5 = New System.Windows.Forms.GroupBox<br />
        Me.RadioButton17 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton18 = New System.Windows.Forms.RadioButton<br />
        Me.Label5 = New System.Windows.Forms.Label<br />
        Me.RadioButton19 = New System.Windows.Forms.RadioButton<br />
        Me.RadioButton20 = New System.Windows.Forms.RadioButton<br />
        Me.GroupBox3.SuspendLayout()<br />
        Me.GroupBox4.SuspendLayout()<br />
        Me.GroupBox6.SuspendLayout()<br />
        Me.GroupBox7.SuspendLayout()<br />
        Me.GroupBox1.SuspendLayout()<br />
        Me.GroupBox2.SuspendLayout()<br />
        Me.GroupBox5.SuspendLayout()<br />
        Me.SuspendLayout()<br />
        '<br />
        'GroupBox3<br />
        '<br />
        Me.GroupBox3.Controls.Add(Me.RadioButton9)<br />
        Me.GroupBox3.Controls.Add(Me.RadioButton10)<br />
        Me.GroupBox3.Controls.Add(Me.Label3)<br />
        Me.GroupBox3.Controls.Add(Me.RadioButton11)<br />
        Me.GroupBox3.Controls.Add(Me.RadioButton12)<br />
        Me.GroupBox3.Location = New System.Drawing.Point(171, 12)<br />
        Me.GroupBox3.Name = "GroupBox3"<br />
        Me.GroupBox3.Size = New System.Drawing.Size(139, 178)<br />
        Me.GroupBox3.TabIndex = 6<br />
        Me.GroupBox3.TabStop = False<br />
        Me.GroupBox3.Text = "Qusetion 1"<br />
        Me.GroupBox3.Visible = False<br />
        '<br />
        'GroupBox4<br />
        '<br />
        Me.GroupBox4.Controls.Add(Me.RadioButton13)<br />
        Me.GroupBox4.Controls.Add(Me.RadioButton14)<br />
        Me.GroupBox4.Controls.Add(Me.Label4)<br />
        Me.GroupBox4.Controls.Add(Me.RadioButton15)<br />
        Me.GroupBox4.Controls.Add(Me.RadioButton16)<br />
        Me.GroupBox4.Location = New System.Drawing.Point(12, 255)<br />
        Me.GroupBox4.Name = "GroupBox4"<br />
        Me.GroupBox4.Size = New System.Drawing.Size(139, 178)<br />
        Me.GroupBox4.TabIndex = 6<br />
        Me.GroupBox4.TabStop = False<br />
        Me.GroupBox4.Text = "Qusetion 1"<br />
        Me.GroupBox4.Visible = False<br />
        '<br />
        'GroupBox6<br />
        '<br />
        Me.GroupBox6.Controls.Add(Me.RadioButton21)<br />
        Me.GroupBox6.Controls.Add(Me.RadioButton22)<br />
        Me.GroupBox6.Controls.Add(Me.Label6)<br />
        Me.GroupBox6.Controls.Add(Me.RadioButton23)<br />
        Me.GroupBox6.Controls.Add(Me.RadioButton24)<br />
        Me.GroupBox6.Location = New System.Drawing.Point(483, 13)<br />
        Me.GroupBox6.Name = "GroupBox6"<br />
        Me.GroupBox6.Size = New System.Drawing.Size(141, 178)<br />
        Me.GroupBox6.TabIndex = 6<br />
        Me.GroupBox6.TabStop = False<br />
        Me.GroupBox6.Text = "Qusetion 1"<br />
        Me.GroupBox6.Visible = False<br />
        '<br />
        'GroupBox7<br />
        '<br />
        Me.GroupBox7.Controls.Add(Me.RadioButton25)<br />
        Me.GroupBox7.Controls.Add(Me.RadioButton26)<br />
        Me.GroupBox7.Controls.Add(Me.Label7)<br />
        Me.GroupBox7.Controls.Add(Me.RadioButton27)<br />
        Me.GroupBox7.Controls.Add(Me.RadioButton28)<br />
        Me.GroupBox7.Location = New System.Drawing.Point(340, 255)<br />
        Me.GroupBox7.Name = "GroupBox7"<br />
        Me.GroupBox7.Size = New System.Drawing.Size(138, 178)<br />
        Me.GroupBox7.TabIndex = 6<br />
        Me.GroupBox7.TabStop = False<br />
        Me.GroupBox7.Text = "Qusetion 1"<br />
        Me.GroupBox7.Visible = False<br />
        '<br />
        'RadioButton25<br />
        '<br />
        Me.RadioButton25.AutoSize = True<br />
        Me.RadioButton25.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton25.Name = "RadioButton25"<br />
        Me.RadioButton25.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton25.TabIndex = 1<br />
        Me.RadioButton25.TabStop = True<br />
        Me.RadioButton25.Text = "RadioButton25"<br />
        Me.RadioButton25.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton26<br />
        '<br />
        Me.RadioButton26.AutoSize = True<br />
        Me.RadioButton26.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton26.Name = "RadioButton26"<br />
        Me.RadioButton26.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton26.TabIndex = 4<br />
        Me.RadioButton26.TabStop = True<br />
        Me.RadioButton26.Text = "RadioButton26"<br />
        Me.RadioButton26.UseVisualStyleBackColor = True<br />
        '<br />
        'Label7<br />
        '<br />
        Me.Label7.AutoSize = True<br />
        Me.Label7.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label7.Name = "Label7"<br />
        Me.Label7.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label7.TabIndex = 0<br />
        Me.Label7.Text = "Label7"<br />
        '<br />
        'RadioButton27<br />
        '<br />
        Me.RadioButton27.AutoSize = True<br />
        Me.RadioButton27.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton27.Name = "RadioButton27"<br />
        Me.RadioButton27.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton27.TabIndex = 3<br />
        Me.RadioButton27.TabStop = True<br />
        Me.RadioButton27.Text = "RadioButton27"<br />
        Me.RadioButton27.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton28<br />
        '<br />
        Me.RadioButton28.AutoSize = True<br />
        Me.RadioButton28.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton28.Name = "RadioButton28"<br />
        Me.RadioButton28.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton28.TabIndex = 2<br />
        Me.RadioButton28.TabStop = True<br />
        Me.RadioButton28.Text = "RadioButton28"<br />
        Me.RadioButton28.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton21<br />
        '<br />
        Me.RadioButton21.AutoSize = True<br />
        Me.RadioButton21.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton21.Name = "RadioButton21"<br />
        Me.RadioButton21.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton21.TabIndex = 1<br />
        Me.RadioButton21.TabStop = True<br />
        Me.RadioButton21.Text = "RadioButton21"<br />
        Me.RadioButton21.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton22<br />
        '<br />
        Me.RadioButton22.AutoSize = True<br />
        Me.RadioButton22.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton22.Name = "RadioButton22"<br />
        Me.RadioButton22.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton22.TabIndex = 4<br />
        Me.RadioButton22.TabStop = True<br />
        Me.RadioButton22.Text = "RadioButton22"<br />
        Me.RadioButton22.UseVisualStyleBackColor = True<br />
        '<br />
        'Label6<br />
        '<br />
        Me.Label6.AutoSize = True<br />
        Me.Label6.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label6.Name = "Label6"<br />
        Me.Label6.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label6.TabIndex = 0<br />
        Me.Label6.Text = "Label6"<br />
        '<br />
        'RadioButton23<br />
        '<br />
        Me.RadioButton23.AutoSize = True<br />
        Me.RadioButton23.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton23.Name = "RadioButton23"<br />
        Me.RadioButton23.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton23.TabIndex = 3<br />
        Me.RadioButton23.TabStop = True<br />
        Me.RadioButton23.Text = "RadioButton23"<br />
        Me.RadioButton23.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton24<br />
        '<br />
        Me.RadioButton24.AutoSize = True<br />
        Me.RadioButton24.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton24.Name = "RadioButton24"<br />
        Me.RadioButton24.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton24.TabIndex = 2<br />
        Me.RadioButton24.TabStop = True<br />
        Me.RadioButton24.Text = "RadioButton24"<br />
        Me.RadioButton24.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton13<br />
        '<br />
        Me.RadioButton13.AutoSize = True<br />
        Me.RadioButton13.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton13.Name = "RadioButton13"<br />
        Me.RadioButton13.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton13.TabIndex = 1<br />
        Me.RadioButton13.TabStop = True<br />
        Me.RadioButton13.Text = "RadioButton13"<br />
        Me.RadioButton13.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton14<br />
        '<br />
        Me.RadioButton14.AutoSize = True<br />
        Me.RadioButton14.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton14.Name = "RadioButton14"<br />
        Me.RadioButton14.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton14.TabIndex = 4<br />
        Me.RadioButton14.TabStop = True<br />
        Me.RadioButton14.Text = "RadioButton14"<br />
        Me.RadioButton14.UseVisualStyleBackColor = True<br />
        '<br />
        'Label4<br />
        '<br />
        Me.Label4.AutoSize = True<br />
        Me.Label4.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label4.Name = "Label4"<br />
        Me.Label4.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label4.TabIndex = 0<br />
        Me.Label4.Text = "Label4"<br />
        '<br />
        'RadioButton15<br />
        '<br />
        Me.RadioButton15.AutoSize = True<br />
        Me.RadioButton15.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton15.Name = "RadioButton15"<br />
        Me.RadioButton15.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton15.TabIndex = 3<br />
        Me.RadioButton15.TabStop = True<br />
        Me.RadioButton15.Text = "RadioButton15"<br />
        Me.RadioButton15.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton16<br />
        '<br />
        Me.RadioButton16.AutoSize = True<br />
        Me.RadioButton16.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton16.Name = "RadioButton16"<br />
        Me.RadioButton16.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton16.TabIndex = 2<br />
        Me.RadioButton16.TabStop = True<br />
        Me.RadioButton16.Text = "RadioButton16"<br />
        Me.RadioButton16.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton9<br />
        '<br />
        Me.RadioButton9.AutoSize = True<br />
        Me.RadioButton9.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton9.Name = "RadioButton9"<br />
        Me.RadioButton9.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton9.TabIndex = 1<br />
        Me.RadioButton9.TabStop = True<br />
        Me.RadioButton9.Text = "RadioButton9"<br />
        Me.RadioButton9.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton10<br />
        '<br />
        Me.RadioButton10.AutoSize = True<br />
        Me.RadioButton10.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton10.Name = "RadioButton10"<br />
        Me.RadioButton10.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton10.TabIndex = 4<br />
        Me.RadioButton10.TabStop = True<br />
        Me.RadioButton10.Text = "RadioButton10"<br />
        Me.RadioButton10.UseVisualStyleBackColor = True<br />
        '<br />
        'Label3<br />
        '<br />
        Me.Label3.AutoSize = True<br />
        Me.Label3.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label3.Name = "Label3"<br />
        Me.Label3.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label3.TabIndex = 0<br />
        Me.Label3.Text = "Label3"<br />
        '<br />
        'RadioButton11<br />
        '<br />
        Me.RadioButton11.AutoSize = True<br />
        Me.RadioButton11.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton11.Name = "RadioButton11"<br />
        Me.RadioButton11.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton11.TabIndex = 3<br />
        Me.RadioButton11.TabStop = True<br />
        Me.RadioButton11.Text = "RadioButton11"<br />
        Me.RadioButton11.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton12<br />
        '<br />
        Me.RadioButton12.AutoSize = True<br />
        Me.RadioButton12.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton12.Name = "RadioButton12"<br />
        Me.RadioButton12.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton12.TabIndex = 2<br />
        Me.RadioButton12.TabStop = True<br />
        Me.RadioButton12.Text = "RadioButton12"<br />
        Me.RadioButton12.UseVisualStyleBackColor = True<br />
        '<br />
        'Button1<br />
        '<br />
        Me.Button1.Location = New System.Drawing.Point(12, 196)<br />
        Me.Button1.Name = "Button1"<br />
        Me.Button1.Size = New System.Drawing.Size(75, 23)<br />
        Me.Button1.TabIndex = 6<br />
        Me.Button1.Text = "Previous"<br />
        Me.Button1.UseVisualStyleBackColor = True<br />
        '<br />
        'Button2<br />
        '<br />
        Me.Button2.Location = New System.Drawing.Point(310, 196)<br />
        Me.Button2.Name = "Button2"<br />
        Me.Button2.Size = New System.Drawing.Size(75, 23)<br />
        Me.Button2.TabIndex = 7<br />
        Me.Button2.Text = "Next"<br />
        Me.Button2.UseVisualStyleBackColor = True<br />
        '<br />
        'GroupBox1<br />
        '<br />
        Me.GroupBox1.Controls.Add(Me.RadioButton1)<br />
        Me.GroupBox1.Controls.Add(Me.RadioButton2)<br />
        Me.GroupBox1.Controls.Add(Me.Label1)<br />
        Me.GroupBox1.Controls.Add(Me.RadioButton3)<br />
        Me.GroupBox1.Controls.Add(Me.RadioButton4)<br />
        Me.GroupBox1.Location = New System.Drawing.Point(12, 12)<br />
        Me.GroupBox1.Name = "GroupBox1"<br />
        Me.GroupBox1.Size = New System.Drawing.Size(132, 178)<br />
        Me.GroupBox1.TabIndex = 7<br />
        Me.GroupBox1.TabStop = False<br />
        Me.GroupBox1.Text = "Qusetion 1"<br />
        Me.GroupBox1.Visible = False<br />
        '<br />
        'RadioButton1<br />
        '<br />
        Me.RadioButton1.AutoSize = True<br />
        Me.RadioButton1.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton1.Name = "RadioButton1"<br />
        Me.RadioButton1.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton1.TabIndex = 1<br />
        Me.RadioButton1.TabStop = True<br />
        Me.RadioButton1.Text = "RadioButton1"<br />
        Me.RadioButton1.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton2<br />
        '<br />
        Me.RadioButton2.AutoSize = True<br />
        Me.RadioButton2.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton2.Name = "RadioButton2"<br />
        Me.RadioButton2.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton2.TabIndex = 4<br />
        Me.RadioButton2.TabStop = True<br />
        Me.RadioButton2.Text = "RadioButton2"<br />
        Me.RadioButton2.UseVisualStyleBackColor = True<br />
        '<br />
        'Label1<br />
        '<br />
        Me.Label1.AutoSize = True<br />
        Me.Label1.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label1.Name = "Label1"<br />
        Me.Label1.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label1.TabIndex = 0<br />
        Me.Label1.Text = "Label1"<br />
        '<br />
        'RadioButton3<br />
        '<br />
        Me.RadioButton3.AutoSize = True<br />
        Me.RadioButton3.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton3.Name = "RadioButton3"<br />
        Me.RadioButton3.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton3.TabIndex = 3<br />
        Me.RadioButton3.TabStop = True<br />
        Me.RadioButton3.Text = "RadioButton3"<br />
        Me.RadioButton3.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton4<br />
        '<br />
        Me.RadioButton4.AutoSize = True<br />
        Me.RadioButton4.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton4.Name = "RadioButton4"<br />
        Me.RadioButton4.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton4.TabIndex = 2<br />
        Me.RadioButton4.TabStop = True<br />
        Me.RadioButton4.Text = "RadioButton4"<br />
        Me.RadioButton4.UseVisualStyleBackColor = True<br />
        '<br />
        'GroupBox2<br />
        '<br />
        Me.GroupBox2.Controls.Add(Me.RadioButton5)<br />
        Me.GroupBox2.Controls.Add(Me.RadioButton6)<br />
        Me.GroupBox2.Controls.Add(Me.Label2)<br />
        Me.GroupBox2.Controls.Add(Me.RadioButton7)<br />
        Me.GroupBox2.Controls.Add(Me.RadioButton8)<br />
        Me.GroupBox2.Location = New System.Drawing.Point(325, 13)<br />
        Me.GroupBox2.Name = "GroupBox2"<br />
        Me.GroupBox2.Size = New System.Drawing.Size(143, 178)<br />
        Me.GroupBox2.TabIndex = 7<br />
        Me.GroupBox2.TabStop = False<br />
        Me.GroupBox2.Text = "Qusetion 1"<br />
        Me.GroupBox2.Visible = False<br />
        '<br />
        'RadioButton5<br />
        '<br />
        Me.RadioButton5.AutoSize = True<br />
        Me.RadioButton5.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton5.Name = "RadioButton5"<br />
        Me.RadioButton5.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton5.TabIndex = 1<br />
        Me.RadioButton5.TabStop = True<br />
        Me.RadioButton5.Text = "RadioButton5"<br />
        Me.RadioButton5.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton6<br />
        '<br />
        Me.RadioButton6.AutoSize = True<br />
        Me.RadioButton6.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton6.Name = "RadioButton6"<br />
        Me.RadioButton6.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton6.TabIndex = 4<br />
        Me.RadioButton6.TabStop = True<br />
        Me.RadioButton6.Text = "RadioButton6"<br />
        Me.RadioButton6.UseVisualStyleBackColor = True<br />
        '<br />
        'Label2<br />
        '<br />
        Me.Label2.AutoSize = True<br />
        Me.Label2.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label2.Name = "Label2"<br />
        Me.Label2.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label2.TabIndex = 0<br />
        Me.Label2.Text = "Label2"<br />
        '<br />
        'RadioButton7<br />
        '<br />
        Me.RadioButton7.AutoSize = True<br />
        Me.RadioButton7.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton7.Name = "RadioButton7"<br />
        Me.RadioButton7.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton7.TabIndex = 3<br />
        Me.RadioButton7.TabStop = True<br />
        Me.RadioButton7.Text = "RadioButton7"<br />
        Me.RadioButton7.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton8<br />
        '<br />
        Me.RadioButton8.AutoSize = True<br />
        Me.RadioButton8.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton8.Name = "RadioButton8"<br />
        Me.RadioButton8.Size = New System.Drawing.Size(90, 17)<br />
        Me.RadioButton8.TabIndex = 2<br />
        Me.RadioButton8.TabStop = True<br />
        Me.RadioButton8.Text = "RadioButton8"<br />
        Me.RadioButton8.UseVisualStyleBackColor = True<br />
        '<br />
        'GroupBox5<br />
        '<br />
        Me.GroupBox5.Controls.Add(Me.RadioButton17)<br />
        Me.GroupBox5.Controls.Add(Me.RadioButton18)<br />
        Me.GroupBox5.Controls.Add(Me.Label5)<br />
        Me.GroupBox5.Controls.Add(Me.RadioButton19)<br />
        Me.GroupBox5.Controls.Add(Me.RadioButton20)<br />
        Me.GroupBox5.Location = New System.Drawing.Point(171, 255)<br />
        Me.GroupBox5.Name = "GroupBox5"<br />
        Me.GroupBox5.Size = New System.Drawing.Size(146, 178)<br />
        Me.GroupBox5.TabIndex = 7<br />
        Me.GroupBox5.TabStop = False<br />
        Me.GroupBox5.Text = "Qusetion 1"<br />
        Me.GroupBox5.Visible = False<br />
        '<br />
        'RadioButton17<br />
        '<br />
        Me.RadioButton17.AutoSize = True<br />
        Me.RadioButton17.Location = New System.Drawing.Point(15, 66)<br />
        Me.RadioButton17.Name = "RadioButton17"<br />
        Me.RadioButton17.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton17.TabIndex = 1<br />
        Me.RadioButton17.TabStop = True<br />
        Me.RadioButton17.Text = "RadioButton17"<br />
        Me.RadioButton17.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton18<br />
        '<br />
        Me.RadioButton18.AutoSize = True<br />
        Me.RadioButton18.Location = New System.Drawing.Point(15, 135)<br />
        Me.RadioButton18.Name = "RadioButton18"<br />
        Me.RadioButton18.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton18.TabIndex = 4<br />
        Me.RadioButton18.TabStop = True<br />
        Me.RadioButton18.Text = "RadioButton18"<br />
        Me.RadioButton18.UseVisualStyleBackColor = True<br />
        '<br />
        'Label5<br />
        '<br />
        Me.Label5.AutoSize = True<br />
        Me.Label5.Location = New System.Drawing.Point(12, 24)<br />
        Me.Label5.Name = "Label5"<br />
        Me.Label5.Size = New System.Drawing.Size(39, 13)<br />
        Me.Label5.TabIndex = 0<br />
        Me.Label5.Text = "Label5"<br />
        '<br />
        'RadioButton19<br />
        '<br />
        Me.RadioButton19.AutoSize = True<br />
        Me.RadioButton19.Location = New System.Drawing.Point(15, 112)<br />
        Me.RadioButton19.Name = "RadioButton19"<br />
        Me.RadioButton19.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton19.TabIndex = 3<br />
        Me.RadioButton19.TabStop = True<br />
        Me.RadioButton19.Text = "RadioButton19"<br />
        Me.RadioButton19.UseVisualStyleBackColor = True<br />
        '<br />
        'RadioButton20<br />
        '<br />
        Me.RadioButton20.AutoSize = True<br />
        Me.RadioButton20.Location = New System.Drawing.Point(15, 89)<br />
        Me.RadioButton20.Name = "RadioButton20"<br />
        Me.RadioButton20.Size = New System.Drawing.Size(96, 17)<br />
        Me.RadioButton20.TabIndex = 2<br />
        Me.RadioButton20.TabStop = True<br />
        Me.RadioButton20.Text = "RadioButton20"<br />
        Me.RadioButton20.UseVisualStyleBackColor = True<br />
        '<br />
        'Form1<br />
        '<br />
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)<br />
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font<br />
        Me.ClientSize = New System.Drawing.Size(665, 460)<br />
        Me.Controls.Add(Me.GroupBox2)<br />
        Me.Controls.Add(Me.GroupBox1)<br />
        Me.Controls.Add(Me.GroupBox5)<br />
        Me.Controls.Add(Me.GroupBox7)<br />
        Me.Controls.Add(Me.GroupBox3)<br />
        Me.Controls.Add(Me.GroupBox4)<br />
        Me.Controls.Add(Me.GroupBox6)<br />
        Me.Controls.Add(Me.Button2)<br />
        Me.Controls.Add(Me.Button1)<br />
        Me.Name = "Form1"<br />
        Me.Text = "Form1"<br />
        Me.GroupBox3.ResumeLayout(False)<br />
        Me.GroupBox3.PerformLayout()<br />
        Me.GroupBox4.ResumeLayout(False)<br />
        Me.GroupBox4.PerformLayout()<br />
        Me.GroupBox6.ResumeLayout(False)<br />
        Me.GroupBox6.PerformLayout()<br />
        Me.GroupBox7.ResumeLayout(False)<br />
        Me.GroupBox7.PerformLayout()<br />
        Me.GroupBox1.ResumeLayout(False)<br />
        Me.GroupBox1.PerformLayout()<br />
        Me.GroupBox2.ResumeLayout(False)<br />
        Me.GroupBox2.PerformLayout()<br />
        Me.GroupBox5.ResumeLayout(False)<br />
        Me.GroupBox5.PerformLayout()<br />
        Me.ResumeLayout(False)<br />
<br />
    End Sub<br />
    Friend WithEvents Button1 As System.Windows.Forms.Button<br />
    Friend WithEvents Button2 As System.Windows.Forms.Button<br />
    Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents RadioButton25 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton26 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label7 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton27 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton28 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton21 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton22 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label6 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton23 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton24 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton13 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton14 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label4 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton15 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton16 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton9 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton10 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label3 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton11 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton12 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox<br />
    Friend WithEvents RadioButton17 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton18 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label5 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton19 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton20 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton5 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton6 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label2 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton7 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton8 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents Label1 As System.Windows.Forms.Label<br />
    Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton<br />
    Friend WithEvents RadioButton4 As System.Windows.Forms.RadioButton<br />
<br />
End Class<br />

this is vb file
<br />
Public Class Form1<br />
<br />
    Dim flag As Integer = 0<br />
<br />
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
        If flag = 1 Then<br />
            GroupBox2.Visible = False<br />
            GroupBox1.Visible = True<br />
            flag = 1<br />
        ElseIf flag = 2 Then<br />
            GroupBox3.Visible = False<br />
            GroupBox2.Visible = True<br />
            flag = 1<br />
        ElseIf flag = 3 Then<br />
            GroupBox4.Visible = False<br />
            GroupBox3.Visible = True<br />
            flag = 2<br />
        ElseIf flag = 4 Then<br />
            GroupBox5.Visible = False<br />
            GroupBox4.Visible = True<br />
            flag = 3<br />
        ElseIf flag = 5 Then<br />
            GroupBox6.Visible = False<br />
            GroupBox5.Visible = True<br />
            flag = 4<br />
        ElseIf flag = 6 Then<br />
            GroupBox7.Visible = False<br />
            GroupBox6.Visible = True<br />
            flag = 5<br />
        End If<br />
    End Sub<br />
<br />
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
        GroupBox1.Visible = True<br />
        flag = 1<br />
    End Sub<br />
<br />
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
        If flag = 1 Then<br />
            GroupBox1.Visible = False<br />
            GroupBox2.Visible = True<br />
            flag = 2<br />
        ElseIf flag = 2 Then<br />
            GroupBox2.Visible = False<br />
            GroupBox3.Visible = True<br />
            flag = 3<br />
        ElseIf flag = 3 Then<br />
            GroupBox3.Visible = False<br />
            GroupBox4.Visible = True<br />
            flag = 4<br />
        ElseIf flag = 4 Then<br />
            GroupBox4.Visible = False<br />
            GroupBox5.Visible = True<br />
            flag = 5<br />
        ElseIf flag = 5 Then<br />
            GroupBox5.Visible = False<br />
            GroupBox6.Visible = True<br />
            flag = 6<br />
        ElseIf flag = 6 Then<br />
            GroupBox6.Visible = False<br />
            GroupBox7.Visible = True<br />
            flag = 6<br />
        End If<br />
    End Sub<br />
End Class


you can specify the location n mane the form accordingly
GeneralRe: vb.net Pin
balakpn28-Feb-07 3:23
balakpn28-Feb-07 3:23 
GeneralRe: vb.net Pin
taherjaorawala28-Feb-07 18:53
taherjaorawala28-Feb-07 18:53 
GeneralRe: vb.net Pin
balakpn1-Mar-07 1:33
balakpn1-Mar-07 1:33 
GeneralVB.Net Pin
Priya_200727-Feb-07 22:45
Priya_200727-Feb-07 22:45 
GeneralRe: VB.Net Pin
Steven J Jowett27-Feb-07 23:52
Steven J Jowett27-Feb-07 23:52 
Answertry this.... Pin
manni_n28-Feb-07 0:38
manni_n28-Feb-07 0:38 
Questioncreation of forms Pin
balakpn27-Feb-07 22:15
balakpn27-Feb-07 22:15 
AnswerRe: creation of forms Pin
Tamimi - Code27-Feb-07 22:19
Tamimi - Code27-Feb-07 22:19 
AnswerRe: creation of forms Pin
The ANZAC27-Feb-07 22:34
The ANZAC27-Feb-07 22:34 
AnswerRe: creation of forms Pin
taherjaorawala27-Feb-07 23:12
taherjaorawala27-Feb-07 23:12 
Questioncombo box Pin
taherjaorawala27-Feb-07 22:12
taherjaorawala27-Feb-07 22:12 
AnswerRe: combo box Pin
Tamimi - Code27-Feb-07 22:44
Tamimi - Code27-Feb-07 22:44 
GeneralRe: combo box Pin
taherjaorawala27-Feb-07 23:09
taherjaorawala27-Feb-07 23:09 
GeneralRe: combo box Pin
Tamimi - Code27-Feb-07 23:40
Tamimi - Code27-Feb-07 23:40 
GeneralRe: combo box Pin
TwoFaced28-Feb-07 8:09
TwoFaced28-Feb-07 8:09 
QuestionQuestions on Visual Studio 2005 Pin
eccw27-Feb-07 20:45
eccw27-Feb-07 20:45 
QuestionByte array problem Pin
loksiu0127-Feb-07 20:39
loksiu0127-Feb-07 20:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.