?
Solved

Copied Tab controler from on program to another now the pages appear in developer but not in debug

Posted on 2011-10-06
10
Medium Priority
?
252 Views
Last Modified: 2012-05-12
I copied a tab controller over from vb.net 2005 to vb.net 2010.  In the design area i see all the content, but when i run the debugger only the first page has content on it all the others are blank.  I have moved other pages to the lead with the same result.  
0
Comment
Question by:Millkind
  • 5
  • 5
10 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36928442
Are you referring to a TabControl in a Windows Forms application?  You need to look at the parent for each of the controls.
0
 

Author Comment

by:Millkind
ID: 36930675
Is this what you mean.  I tried googling it with no help.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class AdminSettings
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    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.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.admintabtc = New System.Windows.Forms.TabControl()
        Me.admintabdbcontrolstp = New System.Windows.Forms.TabPage()
        Me.Panel3 = New System.Windows.Forms.Panel()
        Me.newdbpath = New System.Windows.Forms.Button()
        Me.Label34 = New System.Windows.Forms.Label()
        Me.Label33 = New System.Windows.Forms.Label()
        Me.Panel5 = New System.Windows.Forms.Panel()
        Me.Label49 = New System.Windows.Forms.Label()
        Me.adminsettingsarchivedatacreatearchivebtn = New System.Windows.Forms.Button()
        Me.adminsettingarchivedatareloadarchivedatabtn = New System.Windows.Forms.Button()
        Me.adminsettnigsarchivedatadtp = New System.Windows.Forms.DateTimePicker()
        Me.Label48 = New System.Windows.Forms.Label()
        Me.admintabsetuseraccesstp = New System.Windows.Forms.TabPage()
        Me.Panel2 = New System.Windows.Forms.Panel()
        Me.Label20 = New System.Windows.Forms.Label()
        Me.Label25 = New System.Windows.Forms.Label()
        Me.Label24 = New System.Windows.Forms.Label()
        Me.Label21 = New System.Windows.Forms.Label()
        Me.btnadminsettingssavechanges = New System.Windows.Forms.Button()
        Me.btnadminsettingsresetnochanges = New System.Windows.Forms.Button()
        Me.useraccessgrid = New System.Windows.Forms.DataGrid()
        Me.admintabemailsettingstp = New System.Windows.Forms.TabPage()
        Me.Panel1 = New System.Windows.Forms.Panel()
        Me.adminsettingsemailsettingssavebtn = New System.Windows.Forms.Button()
        Me.Label42 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingssentfromtb = New System.Windows.Forms.TextBox()
        Me.Label41 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingssubjectlinetb = New System.Windows.Forms.TextBox()
        Me.Label27 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingsdomaintb = New System.Windows.Forms.TextBox()
        Me.Label23 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingssmtpclienttb = New System.Windows.Forms.TextBox()
        Me.Label16 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingspasswordtb = New System.Windows.Forms.TextBox()
        Me.Label15 = New System.Windows.Forms.Label()
        Me.adminsettingsemailsettingsusernametb = New System.Windows.Forms.TextBox()
        Me.adminsettingsemailsettingsusenetworkauthenticationcb = New System.Windows.Forms.CheckBox()
        Me.Label2 = New System.Windows.Forms.Label()
        Me.admintabgenericsettingstp = New System.Windows.Forms.TabPage()
        Me.Panel8 = New System.Windows.Forms.Panel()
        Me.cbadminsettingsgeneralsettingsprintoption = New System.Windows.Forms.CheckBox()
        Me.Label58 = New System.Windows.Forms.Label()
        Me.Panel4 = New System.Windows.Forms.Panel()
        Me.summercheckbox = New System.Windows.Forms.CheckBox()
        Me.Label36 = New System.Windows.Forms.Label()
        Me.admintabprintersettingstp = New System.Windows.Forms.TabPage()
        Me.Panel7 = New System.Windows.Forms.Panel()
        Me.admintabprintersettingtablabelspapersource = New System.Windows.Forms.TextBox()
        Me.Label54 = New System.Windows.Forms.Label()
        Me.Button1 = New System.Windows.Forms.Button()
        Me.Button2 = New System.Windows.Forms.Button()
        Me.Label55 = New System.Windows.Forms.Label()
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb = New System.Windows.Forms.TextBox()
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb = New System.Windows.Forms.TextBox()
        Me.admintabprintersettingslabelprinterpapersourcelb = New System.Windows.Forms.ListBox()
        Me.Label56 = New System.Windows.Forms.Label()
        Me.Label57 = New System.Windows.Forms.Label()
        Me.Panel6 = New System.Windows.Forms.Panel()
        Me.admintabprintersettingtabpapersource = New System.Windows.Forms.TextBox()
        Me.Label53 = New System.Windows.Forms.Label()
        Me.admintabprintersettingspostcardtestprintbtn = New System.Windows.Forms.Button()
        Me.admintabprintersettingspostcardsavesettingsbtn = New System.Windows.Forms.Button()
        Me.Label52 = New System.Windows.Forms.Label()
        Me.admintabprintersettingspostcardxcoordtb = New System.Windows.Forms.TextBox()
        Me.admintabprintersettingspostcardycoordtb = New System.Windows.Forms.TextBox()
        Me.admintabprintersettingspostcardprinterpapersourcelb = New System.Windows.Forms.ListBox()
        Me.Label51 = New System.Windows.Forms.Label()
        Me.Label50 = New System.Windows.Forms.Label()
        Me.admintabtc.SuspendLayout()
        Me.admintabdbcontrolstp.SuspendLayout()
        Me.Panel3.SuspendLayout()
        Me.Panel5.SuspendLayout()
        Me.admintabsetuseraccesstp.SuspendLayout()
        Me.Panel2.SuspendLayout()
        CType(Me.useraccessgrid, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.admintabemailsettingstp.SuspendLayout()
        Me.Panel1.SuspendLayout()
        Me.admintabgenericsettingstp.SuspendLayout()
        Me.Panel8.SuspendLayout()
        Me.Panel4.SuspendLayout()
        Me.admintabprintersettingstp.SuspendLayout()
        Me.Panel7.SuspendLayout()
        Me.Panel6.SuspendLayout()
        Me.SuspendLayout()
        '
        'admintabtc
        '
        Me.admintabtc.Controls.Add(Me.admintabdbcontrolstp)
        Me.admintabtc.Controls.Add(Me.admintabsetuseraccesstp)
        Me.admintabtc.Controls.Add(Me.admintabemailsettingstp)
        Me.admintabtc.Controls.Add(Me.admintabgenericsettingstp)
        Me.admintabtc.Controls.Add(Me.admintabprintersettingstp)
        Me.admintabtc.Location = New System.Drawing.Point(12, 12)
        Me.admintabtc.Name = "admintabtc"
        Me.admintabtc.SelectedIndex = 0
        Me.admintabtc.Size = New System.Drawing.Size(842, 512)
        Me.admintabtc.TabIndex = 62
        '
        'admintabdbcontrolstp
        '
        Me.admintabdbcontrolstp.Controls.Add(Me.Panel3)
        Me.admintabdbcontrolstp.Controls.Add(Me.Panel5)
        Me.admintabdbcontrolstp.Location = New System.Drawing.Point(4, 22)
        Me.admintabdbcontrolstp.Name = "admintabdbcontrolstp"
        Me.admintabdbcontrolstp.Padding = New System.Windows.Forms.Padding(3)
        Me.admintabdbcontrolstp.Size = New System.Drawing.Size(834, 486)
        Me.admintabdbcontrolstp.TabIndex = 0
        Me.admintabdbcontrolstp.Text = "Database Controls"
        Me.admintabdbcontrolstp.UseVisualStyleBackColor = True
        '
        'Panel3
        '
        Me.Panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel3.Controls.Add(Me.newdbpath)
        Me.Panel3.Controls.Add(Me.Label34)
        Me.Panel3.Controls.Add(Me.Label33)
        Me.Panel3.Location = New System.Drawing.Point(6, 6)
        Me.Panel3.Name = "Panel3"
        Me.Panel3.Size = New System.Drawing.Size(822, 29)
        Me.Panel3.TabIndex = 58
        '
        'newdbpath
        '
        Me.newdbpath.Location = New System.Drawing.Point(697, 1)
        Me.newdbpath.Name = "newdbpath"
        Me.newdbpath.Size = New System.Drawing.Size(120, 23)
        Me.newdbpath.TabIndex = 52
        Me.newdbpath.Text = "New DB Path"
        '
        'Label34
        '
        Me.Label34.Location = New System.Drawing.Point(183, 3)
        Me.Label34.Name = "Label34"
        Me.Label34.Size = New System.Drawing.Size(416, 23)
        Me.Label34.TabIndex = 53
        Me.Label34.Text = "Label34"
        '
        'Label33
        '
        Me.Label33.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label33.Location = New System.Drawing.Point(8, 3)
        Me.Label33.Name = "Label33"
        Me.Label33.Size = New System.Drawing.Size(169, 23)
        Me.Label33.TabIndex = 51
        Me.Label33.Text = "Change Path to Database"
        '
        'Panel5
        '
        Me.Panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel5.Controls.Add(Me.Label49)
        Me.Panel5.Controls.Add(Me.adminsettingsarchivedatacreatearchivebtn)
        Me.Panel5.Controls.Add(Me.adminsettingarchivedatareloadarchivedatabtn)
        Me.Panel5.Controls.Add(Me.adminsettnigsarchivedatadtp)
        Me.Panel5.Controls.Add(Me.Label48)
        Me.Panel5.Location = New System.Drawing.Point(6, 41)
        Me.Panel5.Name = "Panel5"
        Me.Panel5.Size = New System.Drawing.Size(822, 29)
        Me.Panel5.TabIndex = 60
        '
        'Label49
        '
        Me.Label49.AutoSize = True
        Me.Label49.Location = New System.Drawing.Point(86, 6)
        Me.Label49.Name = "Label49"
        Me.Label49.Size = New System.Drawing.Size(262, 13)
        Me.Label49.TabIndex = 5
        Me.Label49.Text = "Archive data recieved before this date (DropOff Date):"
        '
        'adminsettingsarchivedatacreatearchivebtn
        '
        Me.adminsettingsarchivedatacreatearchivebtn.Location = New System.Drawing.Point(564, 1)
        Me.adminsettingsarchivedatacreatearchivebtn.Name = "adminsettingsarchivedatacreatearchivebtn"
        Me.adminsettingsarchivedatacreatearchivebtn.Size = New System.Drawing.Size(120, 23)
        Me.adminsettingsarchivedatacreatearchivebtn.TabIndex = 4
        Me.adminsettingsarchivedatacreatearchivebtn.Text = "Create Archive"
        Me.adminsettingsarchivedatacreatearchivebtn.UseVisualStyleBackColor = True
        '
        'adminsettingarchivedatareloadarchivedatabtn
        '
        Me.adminsettingarchivedatareloadarchivedatabtn.Location = New System.Drawing.Point(697, 1)
        Me.adminsettingarchivedatareloadarchivedatabtn.Name = "adminsettingarchivedatareloadarchivedatabtn"
        Me.adminsettingarchivedatareloadarchivedatabtn.Size = New System.Drawing.Size(120, 23)
        Me.adminsettingarchivedatareloadarchivedatabtn.TabIndex = 3
        Me.adminsettingarchivedatareloadarchivedatabtn.Text = "Reload Arcive"
        Me.adminsettingarchivedatareloadarchivedatabtn.UseVisualStyleBackColor = True
        '
        'adminsettnigsarchivedatadtp
        '
        Me.adminsettnigsarchivedatadtp.Location = New System.Drawing.Point(369, 4)
        Me.adminsettnigsarchivedatadtp.Name = "adminsettnigsarchivedatadtp"
        Me.adminsettnigsarchivedatadtp.Size = New System.Drawing.Size(189, 20)
        Me.adminsettnigsarchivedatadtp.TabIndex = 1
        '
        'Label48
        '
        Me.Label48.AutoSize = True
        Me.Label48.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label48.Location = New System.Drawing.Point(8, 6)
        Me.Label48.Name = "Label48"
        Me.Label48.Size = New System.Drawing.Size(81, 13)
        Me.Label48.TabIndex = 0
        Me.Label48.Text = "Archive Data"
        '
        'admintabsetuseraccesstp
        '
        Me.admintabsetuseraccesstp.Controls.Add(Me.Panel2)
        Me.admintabsetuseraccesstp.Location = New System.Drawing.Point(4, 22)
        Me.admintabsetuseraccesstp.Name = "admintabsetuseraccesstp"
        Me.admintabsetuseraccesstp.Padding = New System.Windows.Forms.Padding(3)
        Me.admintabsetuseraccesstp.Size = New System.Drawing.Size(834, 486)
        Me.admintabsetuseraccesstp.TabIndex = 1
        Me.admintabsetuseraccesstp.Text = "Set User Access"
        Me.admintabsetuseraccesstp.UseVisualStyleBackColor = True
        '
        'Panel2
        '
        Me.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel2.Controls.Add(Me.Label20)
        Me.Panel2.Controls.Add(Me.Label25)
        Me.Panel2.Controls.Add(Me.Label24)
        Me.Panel2.Controls.Add(Me.Label21)
        Me.Panel2.Controls.Add(Me.btnadminsettingssavechanges)
        Me.Panel2.Controls.Add(Me.btnadminsettingsresetnochanges)
        Me.Panel2.Controls.Add(Me.useraccessgrid)
        Me.Panel2.Location = New System.Drawing.Point(4, 6)
        Me.Panel2.Name = "Panel2"
        Me.Panel2.Size = New System.Drawing.Size(827, 474)
        Me.Panel2.TabIndex = 57
        '
        'Label20
        '
        Me.Label20.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label20.Location = New System.Drawing.Point(8, 1)
        Me.Label20.Name = "Label20"
        Me.Label20.Size = New System.Drawing.Size(136, 23)
        Me.Label20.TabIndex = 24
        Me.Label20.Text = "Set User Access"
        '
        'Label25
        '
        Me.Label25.Location = New System.Drawing.Point(16, 23)
        Me.Label25.Name = "Label25"
        Me.Label25.Size = New System.Drawing.Size(608, 16)
        Me.Label25.TabIndex = 46
        Me.Label25.Text = "To Edit: Makes changes in boxes and click Save Changes"
        '
        'Label24
        '
        Me.Label24.Location = New System.Drawing.Point(16, 46)
        Me.Label24.Name = "Label24"
        Me.Label24.Size = New System.Drawing.Size(608, 16)
        Me.Label24.TabIndex = 47
        Me.Label24.Text = "To Delete: Select row to delete then press delete on your key board, then click S" & _
            "ave Changesboxes"
        '
        'Label21
        '
        Me.Label21.Location = New System.Drawing.Point(16, 62)
        Me.Label21.Name = "Label21"
        Me.Label21.Size = New System.Drawing.Size(597, 22)
        Me.Label21.TabIndex = 48
        Me.Label21.Text = "To Create: Click in the empty boxes at the bottom enter data, then click Save Cha" & _
            "nges, users password defaults to password"
        '
        'btnadminsettingssavechanges
        '
        Me.btnadminsettingssavechanges.Location = New System.Drawing.Point(702, 6)
        Me.btnadminsettingssavechanges.Name = "btnadminsettingssavechanges"
        Me.btnadminsettingssavechanges.Size = New System.Drawing.Size(120, 23)
        Me.btnadminsettingssavechanges.TabIndex = 49
        Me.btnadminsettingssavechanges.Text = "Save Changes"
        '
        'btnadminsettingsresetnochanges
        '
        Me.btnadminsettingsresetnochanges.Location = New System.Drawing.Point(702, 46)
        Me.btnadminsettingsresetnochanges.Name = "btnadminsettingsresetnochanges"
        Me.btnadminsettingsresetnochanges.Size = New System.Drawing.Size(120, 23)
        Me.btnadminsettingsresetnochanges.TabIndex = 50
        Me.btnadminsettingsresetnochanges.Text = "Reset (No Save)"
        '
        'useraccessgrid
        '
        Me.useraccessgrid.DataMember = ""
        Me.useraccessgrid.HeaderForeColor = System.Drawing.SystemColors.ControlText
        Me.useraccessgrid.Location = New System.Drawing.Point(-1, 87)
        Me.useraccessgrid.Name = "useraccessgrid"
        Me.useraccessgrid.Size = New System.Drawing.Size(827, 386)
        Me.useraccessgrid.TabIndex = 45
        '
        'admintabemailsettingstp
        '
        Me.admintabemailsettingstp.Controls.Add(Me.Panel1)
        Me.admintabemailsettingstp.Location = New System.Drawing.Point(4, 22)
        Me.admintabemailsettingstp.Name = "admintabemailsettingstp"
        Me.admintabemailsettingstp.Padding = New System.Windows.Forms.Padding(3)
        Me.admintabemailsettingstp.Size = New System.Drawing.Size(834, 486)
        Me.admintabemailsettingstp.TabIndex = 2
        Me.admintabemailsettingstp.Text = "Email Settings"
        Me.admintabemailsettingstp.UseVisualStyleBackColor = True
        '
        'Panel1
        '
        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingssavebtn)
        Me.Panel1.Controls.Add(Me.Label42)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingssentfromtb)
        Me.Panel1.Controls.Add(Me.Label41)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingssubjectlinetb)
        Me.Panel1.Controls.Add(Me.Label27)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingsdomaintb)
        Me.Panel1.Controls.Add(Me.Label23)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingssmtpclienttb)
        Me.Panel1.Controls.Add(Me.Label16)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingspasswordtb)
        Me.Panel1.Controls.Add(Me.Label15)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingsusernametb)
        Me.Panel1.Controls.Add(Me.adminsettingsemailsettingsusenetworkauthenticationcb)
        Me.Panel1.Controls.Add(Me.Label2)
        Me.Panel1.Location = New System.Drawing.Point(6, 6)
        Me.Panel1.Name = "Panel1"
        Me.Panel1.Size = New System.Drawing.Size(822, 128)
        Me.Panel1.TabIndex = 56
        '
        'adminsettingsemailsettingssavebtn
        '
        Me.adminsettingsemailsettingssavebtn.Location = New System.Drawing.Point(697, 22)
        Me.adminsettingsemailsettingssavebtn.Name = "adminsettingsemailsettingssavebtn"
        Me.adminsettingsemailsettingssavebtn.Size = New System.Drawing.Size(120, 23)
        Me.adminsettingsemailsettingssavebtn.TabIndex = 69
        Me.adminsettingsemailsettingssavebtn.Text = "Save Changes"
        Me.adminsettingsemailsettingssavebtn.UseVisualStyleBackColor = True
        '
        'Label42
        '
        Me.Label42.AutoSize = True
        Me.Label42.Location = New System.Drawing.Point(705, 109)
        Me.Label42.Name = "Label42"
        Me.Label42.Size = New System.Drawing.Size(97, 13)
        Me.Label42.TabIndex = 68
        Me.Label42.Text = "Sent from for email."
        '
        'adminsettingsemailsettingssentfromtb
        '
        Me.adminsettingsemailsettingssentfromtb.Location = New System.Drawing.Point(460, 102)
        Me.adminsettingsemailsettingssentfromtb.Name = "adminsettingsemailsettingssentfromtb"
        Me.adminsettingsemailsettingssentfromtb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingssentfromtb.TabIndex = 67
        '
        'Label41
        '
        Me.Label41.AutoSize = True
        Me.Label41.Location = New System.Drawing.Point(705, 83)
        Me.Label41.Name = "Label41"
        Me.Label41.Size = New System.Drawing.Size(107, 13)
        Me.Label41.TabIndex = 66
        Me.Label41.Text = "Subject line for email."
        '
        'adminsettingsemailsettingssubjectlinetb
        '
        Me.adminsettingsemailsettingssubjectlinetb.Location = New System.Drawing.Point(460, 76)
        Me.adminsettingsemailsettingssubjectlinetb.Name = "adminsettingsemailsettingssubjectlinetb"
        Me.adminsettingsemailsettingssubjectlinetb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingssubjectlinetb.TabIndex = 65
        '
        'Label27
        '
        Me.Label27.AutoSize = True
        Me.Label27.Location = New System.Drawing.Point(252, 109)
        Me.Label27.Name = "Label27"
        Me.Label27.Size = New System.Drawing.Size(158, 13)
        Me.Label27.TabIndex = 64
        Me.Label27.Text = "Domain for email authentication."
        '
        'adminsettingsemailsettingsdomaintb
        '
        Me.adminsettingsemailsettingsdomaintb.Location = New System.Drawing.Point(11, 102)
        Me.adminsettingsemailsettingsdomaintb.Name = "adminsettingsemailsettingsdomaintb"
        Me.adminsettingsemailsettingsdomaintb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingsdomaintb.TabIndex = 63
        '
        'Label23
        '
        Me.Label23.AutoSize = True
        Me.Label23.Location = New System.Drawing.Point(705, 57)
        Me.Label23.Name = "Label23"
        Me.Label23.Size = New System.Drawing.Size(101, 13)
        Me.Label23.TabIndex = 62
        Me.Label23.Text = "Smtpclient for email."
        '
        'adminsettingsemailsettingssmtpclienttb
        '
        Me.adminsettingsemailsettingssmtpclienttb.Location = New System.Drawing.Point(460, 50)
        Me.adminsettingsemailsettingssmtpclienttb.Name = "adminsettingsemailsettingssmtpclienttb"
        Me.adminsettingsemailsettingssmtpclienttb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingssmtpclienttb.TabIndex = 61
        '
        'Label16
        '
        Me.Label16.AutoSize = True
        Me.Label16.Location = New System.Drawing.Point(252, 83)
        Me.Label16.Name = "Label16"
        Me.Label16.Size = New System.Drawing.Size(168, 13)
        Me.Label16.TabIndex = 60
        Me.Label16.Text = "Password for email authentication."
        '
        'adminsettingsemailsettingspasswordtb
        '
        Me.adminsettingsemailsettingspasswordtb.Location = New System.Drawing.Point(11, 76)
        Me.adminsettingsemailsettingspasswordtb.Name = "adminsettingsemailsettingspasswordtb"
        Me.adminsettingsemailsettingspasswordtb.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
        Me.adminsettingsemailsettingspasswordtb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingspasswordtb.TabIndex = 59
        '
        'Label15
        '
        Me.Label15.AutoSize = True
        Me.Label15.Location = New System.Drawing.Point(252, 57)
        Me.Label15.Name = "Label15"
        Me.Label15.Size = New System.Drawing.Size(170, 13)
        Me.Label15.TabIndex = 58
        Me.Label15.Text = "Username for email authentication."
        '
        'adminsettingsemailsettingsusernametb
        '
        Me.adminsettingsemailsettingsusernametb.Location = New System.Drawing.Point(11, 50)
        Me.adminsettingsemailsettingsusernametb.Name = "adminsettingsemailsettingsusernametb"
        Me.adminsettingsemailsettingsusernametb.Size = New System.Drawing.Size(239, 20)
        Me.adminsettingsemailsettingsusernametb.TabIndex = 57
        '
        'adminsettingsemailsettingsusenetworkauthenticationcb
        '
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.AutoSize = True
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.Location = New System.Drawing.Point(11, 26)
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.Name = "adminsettingsemailsettingsusenetworkauthenticationcb"
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.Size = New System.Drawing.Size(444, 17)
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.TabIndex = 56
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.Text = "Check here if the software should use the workstation user authentication data fo" & _
            "r email?"
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
        Me.adminsettingsemailsettingsusenetworkauthenticationcb.UseVisualStyleBackColor = True
        '
        'Label2
        '
        Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
        Me.Label2.Location = New System.Drawing.Point(8, 0)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(96, 23)
        Me.Label2.TabIndex = 55
        Me.Label2.Text = "Email Settings"
        Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'admintabgenericsettingstp
        '
        Me.admintabgenericsettingstp.Controls.Add(Me.Panel8)
        Me.admintabgenericsettingstp.Controls.Add(Me.Panel4)
        Me.admintabgenericsettingstp.Location = New System.Drawing.Point(4, 22)
        Me.admintabgenericsettingstp.Name = "admintabgenericsettingstp"
        Me.admintabgenericsettingstp.Padding = New System.Windows.Forms.Padding(3)
        Me.admintabgenericsettingstp.Size = New System.Drawing.Size(834, 486)
        Me.admintabgenericsettingstp.TabIndex = 3
        Me.admintabgenericsettingstp.Text = "General Settings"
        Me.admintabgenericsettingstp.UseVisualStyleBackColor = True
        '
        'Panel8
        '
        Me.Panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel8.Controls.Add(Me.cbadminsettingsgeneralsettingsprintoption)
        Me.Panel8.Controls.Add(Me.Label58)
        Me.Panel8.Location = New System.Drawing.Point(8, 39)
        Me.Panel8.Name = "Panel8"
        Me.Panel8.Size = New System.Drawing.Size(821, 26)
        Me.Panel8.TabIndex = 60
        '
        'cbadminsettingsgeneralsettingsprintoption
        '
        Me.cbadminsettingsgeneralsettingsprintoption.Location = New System.Drawing.Point(487, 2)
        Me.cbadminsettingsgeneralsettingsprintoption.Name = "cbadminsettingsgeneralsettingsprintoption"
        Me.cbadminsettingsgeneralsettingsprintoption.Size = New System.Drawing.Size(319, 24)
        Me.cbadminsettingsgeneralsettingsprintoption.TabIndex = 55
        Me.cbadminsettingsgeneralsettingsprintoption.Text = "Can this computer Print Cards/Send Emails?"
        '
        'Label58
        '
        Me.Label58.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label58.Location = New System.Drawing.Point(8, 2)
        Me.Label58.Name = "Label58"
        Me.Label58.Size = New System.Drawing.Size(273, 23)
        Me.Label58.TabIndex = 54
        Me.Label58.Text = "Can this computer Print Cards/Send Emails?"
        '
        'Panel4
        '
        Me.Panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel4.Controls.Add(Me.summercheckbox)
        Me.Panel4.Controls.Add(Me.Label36)
        Me.Panel4.Location = New System.Drawing.Point(7, 6)
        Me.Panel4.Name = "Panel4"
        Me.Panel4.Size = New System.Drawing.Size(821, 26)
        Me.Panel4.TabIndex = 59
        '
        'summercheckbox
        '
        Me.summercheckbox.Location = New System.Drawing.Point(686, 2)
        Me.summercheckbox.Name = "summercheckbox"
        Me.summercheckbox.Size = New System.Drawing.Size(120, 24)
        Me.summercheckbox.TabIndex = 55
        Me.summercheckbox.Text = "Is it summer?"
        '
        'Label36
        '
        Me.Label36.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label36.Location = New System.Drawing.Point(8, 2)
        Me.Label36.Name = "Label36"
        Me.Label36.Size = New System.Drawing.Size(93, 23)
        Me.Label36.TabIndex = 54
        Me.Label36.Text = "Is it Summer?"
        '
        'admintabprintersettingstp
        '
        Me.admintabprintersettingstp.Controls.Add(Me.Panel7)
        Me.admintabprintersettingstp.Controls.Add(Me.Panel6)
        Me.admintabprintersettingstp.Location = New System.Drawing.Point(4, 22)
        Me.admintabprintersettingstp.Name = "admintabprintersettingstp"
        Me.admintabprintersettingstp.Padding = New System.Windows.Forms.Padding(3)
        Me.admintabprintersettingstp.Size = New System.Drawing.Size(834, 486)
        Me.admintabprintersettingstp.TabIndex = 4
        Me.admintabprintersettingstp.Text = "Printer Settings"
        Me.admintabprintersettingstp.UseVisualStyleBackColor = True
        '
        'Panel7
        '
        Me.Panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel7.Controls.Add(Me.admintabprintersettingtablabelspapersource)
        Me.Panel7.Controls.Add(Me.Label54)
        Me.Panel7.Controls.Add(Me.Button1)
        Me.Panel7.Controls.Add(Me.Button2)
        Me.Panel7.Controls.Add(Me.Label55)
        Me.Panel7.Controls.Add(Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb)
        Me.Panel7.Controls.Add(Me.adminsettingsprintersettingslabelsettingstopleftypixeltb)
        Me.Panel7.Controls.Add(Me.admintabprintersettingslabelprinterpapersourcelb)
        Me.Panel7.Controls.Add(Me.Label56)
        Me.Panel7.Controls.Add(Me.Label57)
        Me.Panel7.Location = New System.Drawing.Point(119, 6)
        Me.Panel7.Name = "Panel7"
        Me.Panel7.Size = New System.Drawing.Size(113, 474)
        Me.Panel7.TabIndex = 29
        '
        'admintabprintersettingtablabelspapersource
        '
        Me.admintabprintersettingtablabelspapersource.Location = New System.Drawing.Point(6, 231)
        Me.admintabprintersettingtablabelspapersource.Name = "admintabprintersettingtablabelspapersource"
        Me.admintabprintersettingtablabelspapersource.ReadOnly = True
        Me.admintabprintersettingtablabelspapersource.Size = New System.Drawing.Size(100, 20)
        Me.admintabprintersettingtablabelspapersource.TabIndex = 29
        Me.admintabprintersettingtablabelspapersource.Text = "auto"
        Me.admintabprintersettingtablabelspapersource.Visible = False
        '
        'Label54
        '
        Me.Label54.AutoSize = True
        Me.Label54.Location = New System.Drawing.Point(14, 112)
        Me.Label54.Name = "Label54"
        Me.Label54.Size = New System.Drawing.Size(77, 13)
        Me.Label54.TabIndex = 28
        Me.Label54.Text = "Paper Sources"
        '
        'Button1
        '
        Me.Button1.Location = New System.Drawing.Point(11, 417)
        Me.Button1.Name = "Button1"
        Me.Button1.Size = New System.Drawing.Size(86, 23)
        Me.Button1.TabIndex = 26
        Me.Button1.Text = "Test Print"
        Me.Button1.UseVisualStyleBackColor = True
        '
        'Button2
        '
        Me.Button2.Location = New System.Drawing.Point(11, 446)
        Me.Button2.Name = "Button2"
        Me.Button2.Size = New System.Drawing.Size(86, 23)
        Me.Button2.TabIndex = 27
        Me.Button2.Text = "Save Settings"
        Me.Button2.UseVisualStyleBackColor = True
        '
        'Label55
        '
        Me.Label55.AutoSize = True
        Me.Label55.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label55.Location = New System.Drawing.Point(8, 14)
        Me.Label55.Name = "Label55"
        Me.Label55.Size = New System.Drawing.Size(88, 13)
        Me.Label55.TabIndex = 0
        Me.Label55.Text = "Label Settings"
        '
        'adminsettingsprintersettingslabelsettingstopleftxpixeltb
        '
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb.Location = New System.Drawing.Point(11, 50)
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb.Name = "adminsettingsprintersettingslabelsettingstopleftxpixeltb"
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb.Size = New System.Drawing.Size(87, 20)
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb.TabIndex = 21
        Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb.Text = "250"
        '
        'adminsettingsprintersettingslabelsettingstopleftypixeltb
        '
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb.Location = New System.Drawing.Point(11, 89)
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb.Name = "adminsettingsprintersettingslabelsettingstopleftypixeltb"
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb.Size = New System.Drawing.Size(86, 20)
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb.TabIndex = 22
        Me.adminsettingsprintersettingslabelsettingstopleftypixeltb.Text = "1050"
        '
        'admintabprintersettingslabelprinterpapersourcelb
        '
        Me.admintabprintersettingslabelprinterpapersourcelb.FormattingEnabled = True
        Me.admintabprintersettingslabelprinterpapersourcelb.Location = New System.Drawing.Point(6, 128)
        Me.admintabprintersettingslabelprinterpapersourcelb.Name = "admintabprintersettingslabelprinterpapersourcelb"
        Me.admintabprintersettingslabelprinterpapersourcelb.Size = New System.Drawing.Size(98, 277)
        Me.admintabprintersettingslabelprinterpapersourcelb.TabIndex = 25
        '
        'Label56
        '
        Me.Label56.AutoSize = True
        Me.Label56.Location = New System.Drawing.Point(14, 34)
        Me.Label56.Name = "Label56"
        Me.Label56.Size = New System.Drawing.Size(82, 13)
        Me.Label56.TabIndex = 23
        Me.Label56.Text = "Top Left X Pixel"
        '
        'Label57
        '
        Me.Label57.AutoSize = True
        Me.Label57.Location = New System.Drawing.Point(14, 73)
        Me.Label57.Name = "Label57"
        Me.Label57.Size = New System.Drawing.Size(82, 13)
        Me.Label57.TabIndex = 24
        Me.Label57.Text = "Top Left Y Pixel"
        '
        'Panel6
        '
        Me.Panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Panel6.Controls.Add(Me.admintabprintersettingtabpapersource)
        Me.Panel6.Controls.Add(Me.Label53)
        Me.Panel6.Controls.Add(Me.admintabprintersettingspostcardtestprintbtn)
        Me.Panel6.Controls.Add(Me.admintabprintersettingspostcardsavesettingsbtn)
        Me.Panel6.Controls.Add(Me.Label52)
        Me.Panel6.Controls.Add(Me.admintabprintersettingspostcardxcoordtb)
        Me.Panel6.Controls.Add(Me.admintabprintersettingspostcardycoordtb)
        Me.Panel6.Controls.Add(Me.admintabprintersettingspostcardprinterpapersourcelb)
        Me.Panel6.Controls.Add(Me.Label51)
        Me.Panel6.Controls.Add(Me.Label50)
        Me.Panel6.Location = New System.Drawing.Point(6, 6)
        Me.Panel6.Name = "Panel6"
        Me.Panel6.Size = New System.Drawing.Size(113, 474)
        Me.Panel6.TabIndex = 28
        '
        'admintabprintersettingtabpapersource
        '
        Me.admintabprintersettingtabpapersource.Location = New System.Drawing.Point(6, 231)
        Me.admintabprintersettingtabpapersource.Name = "admintabprintersettingtabpapersource"
        Me.admintabprintersettingtabpapersource.ReadOnly = True
        Me.admintabprintersettingtabpapersource.Size = New System.Drawing.Size(100, 20)
        Me.admintabprintersettingtabpapersource.TabIndex = 29
        Me.admintabprintersettingtabpapersource.Text = "auto"
        Me.admintabprintersettingtabpapersource.Visible = False
        '
        'Label53
        '
        Me.Label53.AutoSize = True
        Me.Label53.Location = New System.Drawing.Point(14, 112)
        Me.Label53.Name = "Label53"
        Me.Label53.Size = New System.Drawing.Size(77, 13)
        Me.Label53.TabIndex = 28
        Me.Label53.Text = "Paper Sources"
        '
        'admintabprintersettingspostcardtestprintbtn
        '
        Me.admintabprintersettingspostcardtestprintbtn.Location = New System.Drawing.Point(11, 417)
        Me.admintabprintersettingspostcardtestprintbtn.Name = "admintabprintersettingspostcardtestprintbtn"
        Me.admintabprintersettingspostcardtestprintbtn.Size = New System.Drawing.Size(86, 23)
        Me.admintabprintersettingspostcardtestprintbtn.TabIndex = 26
        Me.admintabprintersettingspostcardtestprintbtn.Text = "Test Print"
        Me.admintabprintersettingspostcardtestprintbtn.UseVisualStyleBackColor = True
        '
        'admintabprintersettingspostcardsavesettingsbtn
        '
        Me.admintabprintersettingspostcardsavesettingsbtn.Location = New System.Drawing.Point(11, 446)
        Me.admintabprintersettingspostcardsavesettingsbtn.Name = "admintabprintersettingspostcardsavesettingsbtn"
        Me.admintabprintersettingspostcardsavesettingsbtn.Size = New System.Drawing.Size(86, 23)
        Me.admintabprintersettingspostcardsavesettingsbtn.TabIndex = 27
        Me.admintabprintersettingspostcardsavesettingsbtn.Text = "Save Settings"
        Me.admintabprintersettingspostcardsavesettingsbtn.UseVisualStyleBackColor = True
        '
        'Label52
        '
        Me.Label52.AutoSize = True
        Me.Label52.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label52.Location = New System.Drawing.Point(8, 14)
        Me.Label52.Name = "Label52"
        Me.Label52.Size = New System.Drawing.Size(83, 13)
        Me.Label52.TabIndex = 0
        Me.Label52.Text = "Card Settings"
        '
        'admintabprintersettingspostcardxcoordtb
        '
        Me.admintabprintersettingspostcardxcoordtb.Location = New System.Drawing.Point(11, 50)
        Me.admintabprintersettingspostcardxcoordtb.Name = "admintabprintersettingspostcardxcoordtb"
        Me.admintabprintersettingspostcardxcoordtb.Size = New System.Drawing.Size(87, 20)
        Me.admintabprintersettingspostcardxcoordtb.TabIndex = 21
        Me.admintabprintersettingspostcardxcoordtb.Text = "250"
        '
        'admintabprintersettingspostcardycoordtb
        '
        Me.admintabprintersettingspostcardycoordtb.Location = New System.Drawing.Point(11, 89)
        Me.admintabprintersettingspostcardycoordtb.Name = "admintabprintersettingspostcardycoordtb"
        Me.admintabprintersettingspostcardycoordtb.Size = New System.Drawing.Size(87, 20)
        Me.admintabprintersettingspostcardycoordtb.TabIndex = 22
        Me.admintabprintersettingspostcardycoordtb.Text = "1050"
        '
        'admintabprintersettingspostcardprinterpapersourcelb
        '
        Me.admintabprintersettingspostcardprinterpapersourcelb.FormattingEnabled = True
        Me.admintabprintersettingspostcardprinterpapersourcelb.Location = New System.Drawing.Point(6, 128)
        Me.admintabprintersettingspostcardprinterpapersourcelb.Name = "admintabprintersettingspostcardprinterpapersourcelb"
        Me.admintabprintersettingspostcardprinterpapersourcelb.Size = New System.Drawing.Size(98, 277)
        Me.admintabprintersettingspostcardprinterpapersourcelb.TabIndex = 25
        '
        'Label51
        '
        Me.Label51.AutoSize = True
        Me.Label51.Location = New System.Drawing.Point(14, 34)
        Me.Label51.Name = "Label51"
        Me.Label51.Size = New System.Drawing.Size(82, 13)
        Me.Label51.TabIndex = 23
        Me.Label51.Text = "Top Left X Pixel"
        '
        'Label50
        '
        Me.Label50.AutoSize = True
        Me.Label50.Location = New System.Drawing.Point(14, 73)
        Me.Label50.Name = "Label50"
        Me.Label50.Size = New System.Drawing.Size(82, 13)
        Me.Label50.TabIndex = 24
        Me.Label50.Text = "Top Left Y Pixel"
        '
        'AdminSettings
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(865, 536)
        Me.Controls.Add(Me.admintabtc)
        Me.Name = "AdminSettings"
        Me.Text = "AdminSettings"
        Me.admintabtc.ResumeLayout(False)
        Me.admintabdbcontrolstp.ResumeLayout(False)
        Me.Panel3.ResumeLayout(False)
        Me.Panel5.ResumeLayout(False)
        Me.Panel5.PerformLayout()
        Me.admintabsetuseraccesstp.ResumeLayout(False)
        Me.Panel2.ResumeLayout(False)
        CType(Me.useraccessgrid, System.ComponentModel.ISupportInitialize).EndInit()
        Me.admintabemailsettingstp.ResumeLayout(False)
        Me.Panel1.ResumeLayout(False)
        Me.Panel1.PerformLayout()
        Me.admintabgenericsettingstp.ResumeLayout(False)
        Me.Panel8.ResumeLayout(False)
        Me.Panel4.ResumeLayout(False)
        Me.admintabprintersettingstp.ResumeLayout(False)
        Me.Panel7.ResumeLayout(False)
        Me.Panel7.PerformLayout()
        Me.Panel6.ResumeLayout(False)
        Me.Panel6.PerformLayout()
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents admintabtc As System.Windows.Forms.TabControl
    Friend WithEvents admintabdbcontrolstp As System.Windows.Forms.TabPage
    Friend WithEvents Panel3 As System.Windows.Forms.Panel
    Friend WithEvents newdbpath As System.Windows.Forms.Button
    Friend WithEvents Label34 As System.Windows.Forms.Label
    Friend WithEvents Label33 As System.Windows.Forms.Label
    Friend WithEvents Panel5 As System.Windows.Forms.Panel
    Friend WithEvents Label49 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsarchivedatacreatearchivebtn As System.Windows.Forms.Button
    Friend WithEvents adminsettingarchivedatareloadarchivedatabtn As System.Windows.Forms.Button
    Friend WithEvents adminsettnigsarchivedatadtp As System.Windows.Forms.DateTimePicker
    Friend WithEvents Label48 As System.Windows.Forms.Label
    Friend WithEvents admintabsetuseraccesstp As System.Windows.Forms.TabPage
    Friend WithEvents Panel2 As System.Windows.Forms.Panel
    Friend WithEvents Label20 As System.Windows.Forms.Label
    Friend WithEvents Label25 As System.Windows.Forms.Label
    Friend WithEvents Label24 As System.Windows.Forms.Label
    Friend WithEvents Label21 As System.Windows.Forms.Label
    Friend WithEvents btnadminsettingssavechanges As System.Windows.Forms.Button
    Friend WithEvents btnadminsettingsresetnochanges As System.Windows.Forms.Button
    Friend WithEvents useraccessgrid As System.Windows.Forms.DataGrid
    Friend WithEvents admintabemailsettingstp As System.Windows.Forms.TabPage
    Friend WithEvents Panel1 As System.Windows.Forms.Panel
    Friend WithEvents adminsettingsemailsettingssavebtn As System.Windows.Forms.Button
    Friend WithEvents Label42 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingssentfromtb As System.Windows.Forms.TextBox
    Friend WithEvents Label41 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingssubjectlinetb As System.Windows.Forms.TextBox
    Friend WithEvents Label27 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingsdomaintb As System.Windows.Forms.TextBox
    Friend WithEvents Label23 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingssmtpclienttb As System.Windows.Forms.TextBox
    Friend WithEvents Label16 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingspasswordtb As System.Windows.Forms.TextBox
    Friend WithEvents Label15 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsemailsettingsusernametb As System.Windows.Forms.TextBox
    Friend WithEvents adminsettingsemailsettingsusenetworkauthenticationcb As System.Windows.Forms.CheckBox
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents admintabgenericsettingstp As System.Windows.Forms.TabPage
    Friend WithEvents Panel8 As System.Windows.Forms.Panel
    Friend WithEvents cbadminsettingsgeneralsettingsprintoption As System.Windows.Forms.CheckBox
    Friend WithEvents Label58 As System.Windows.Forms.Label
    Friend WithEvents Panel4 As System.Windows.Forms.Panel
    Friend WithEvents summercheckbox As System.Windows.Forms.CheckBox
    Friend WithEvents Label36 As System.Windows.Forms.Label
    Friend WithEvents admintabprintersettingstp As System.Windows.Forms.TabPage
    Friend WithEvents Panel7 As System.Windows.Forms.Panel
    Friend WithEvents admintabprintersettingtablabelspapersource As System.Windows.Forms.TextBox
    Friend WithEvents Label54 As System.Windows.Forms.Label
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents Label55 As System.Windows.Forms.Label
    Friend WithEvents adminsettingsprintersettingslabelsettingstopleftxpixeltb As System.Windows.Forms.TextBox
    Friend WithEvents adminsettingsprintersettingslabelsettingstopleftypixeltb As System.Windows.Forms.TextBox
    Friend WithEvents Label56 As System.Windows.Forms.Label
    Friend WithEvents Label57 As System.Windows.Forms.Label
    Friend WithEvents Panel6 As System.Windows.Forms.Panel
    Friend WithEvents admintabprintersettingtabpapersource As System.Windows.Forms.TextBox
    Friend WithEvents Label53 As System.Windows.Forms.Label
    Friend WithEvents admintabprintersettingspostcardtestprintbtn As System.Windows.Forms.Button
    Friend WithEvents admintabprintersettingspostcardsavesettingsbtn As System.Windows.Forms.Button
    Friend WithEvents Label52 As System.Windows.Forms.Label
    Friend WithEvents admintabprintersettingspostcardxcoordtb As System.Windows.Forms.TextBox
    Friend WithEvents admintabprintersettingspostcardycoordtb As System.Windows.Forms.TextBox
    Friend WithEvents admintabprintersettingspostcardprinterpapersourcelb As System.Windows.Forms.ListBox
    Friend WithEvents Label51 As System.Windows.Forms.Label
    Friend WithEvents Label50 As System.Windows.Forms.Label
    Public WithEvents admintabprintersettingslabelprinterpapersourcelb As System.Windows.Forms.ListBox
End Class

Open in new window

0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36930733
Here are some examples of what you need to look for:

        Me.Panel7.Controls.Add(Me.admintabprintersettingtablabelspapersource)
        Me.Panel7.Controls.Add(Me.Label54)
        Me.Panel7.Controls.Add(Me.Button1)
        Me.Panel7.Controls.Add(Me.Button2)
        Me.Panel7.Controls.Add(Me.Label55)
        Me.Panel7.Controls.Add(Me.adminsettingsprintersettingslabelsettingstopleftxpixeltb)
        Me.Panel7.Controls.Add(Me.adminsettingsprintersettingslabelsettingstopleftypixeltb)
        Me.Panel7.Controls.Add(Me.admintabprintersettingslabelprinterpapersourcelb)
        Me.Panel7.Controls.Add(Me.Label56)
        Me.Panel7.Controls.Add(Me.Label57)

I see where the controls are add to a panel, but not where the panel is added to the TabPage.  I have to assume some things, since I don't know anything about your form structure.  

One way to see this effect is to create a simple test form, add a TabControl, add one TabPage, and a few TextBox controls, and then look at the .designer file to see how the control hierarchy works.

1) Add controls to a container

2) Add container to the TabPage

3) Add the TabPage to the TabControl

4) Add the TabControl to the Form.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Millkind
ID: 36930889
wow this is confusing.
Created a whole new tabl control and added a date time picker to first and second page.
Can see it on the first not on the second.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36930917
Did you try creating a new form, and checking?
0
 

Author Comment

by:Millkind
ID: 36931051
Created an entire now form with tabcontrols and panels and everthing works.  Here is the code.  Cant really see a difference.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    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.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.TabControl1 = New System.Windows.Forms.TabControl()
        Me.TabPage1 = New System.Windows.Forms.TabPage()
        Me.TabPage2 = New System.Windows.Forms.TabPage()
        Me.RadioButton1 = New System.Windows.Forms.RadioButton()
        Me.RadioButton2 = New System.Windows.Forms.RadioButton()
        Me.Panel1 = New System.Windows.Forms.Panel()
        Me.Panel2 = New System.Windows.Forms.Panel()
        Me.TabControl1.SuspendLayout()
        Me.TabPage1.SuspendLayout()
        Me.TabPage2.SuspendLayout()
        Me.Panel1.SuspendLayout()
        Me.Panel2.SuspendLayout()
        Me.SuspendLayout()
        '
        'TabControl1
        '
        Me.TabControl1.Controls.Add(Me.TabPage1)
        Me.TabControl1.Controls.Add(Me.TabPage2)
        Me.TabControl1.Location = New System.Drawing.Point(89, 12)
        Me.TabControl1.Name = "TabControl1"
        Me.TabControl1.SelectedIndex = 0
        Me.TabControl1.Size = New System.Drawing.Size(437, 238)
        Me.TabControl1.TabIndex = 0
        '
        'TabPage1
        '
        Me.TabPage1.Controls.Add(Me.Panel2)
        Me.TabPage1.Location = New System.Drawing.Point(4, 22)
        Me.TabPage1.Name = "TabPage1"
        Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
        Me.TabPage1.Size = New System.Drawing.Size(429, 212)
        Me.TabPage1.TabIndex = 0
        Me.TabPage1.Text = "TabPage1"
        Me.TabPage1.UseVisualStyleBackColor = True
        '
        'TabPage2
        '
        Me.TabPage2.Controls.Add(Me.Panel1)
        Me.TabPage2.Location = New System.Drawing.Point(4, 22)
        Me.TabPage2.Name = "TabPage2"
        Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
        Me.TabPage2.Size = New System.Drawing.Size(429, 212)
        Me.TabPage2.TabIndex = 1
        Me.TabPage2.Text = "TabPage2"
        Me.TabPage2.UseVisualStyleBackColor = True
        '
        'RadioButton1
        '
        Me.RadioButton1.AutoSize = True
        Me.RadioButton1.Location = New System.Drawing.Point(32, 53)
        Me.RadioButton1.Name = "RadioButton1"
        Me.RadioButton1.Size = New System.Drawing.Size(90, 17)
        Me.RadioButton1.TabIndex = 0
        Me.RadioButton1.TabStop = True
        Me.RadioButton1.Text = "RadioButton1"
        Me.RadioButton1.UseVisualStyleBackColor = True
        '
        'RadioButton2
        '
        Me.RadioButton2.AutoSize = True
        Me.RadioButton2.Location = New System.Drawing.Point(56, 38)
        Me.RadioButton2.Name = "RadioButton2"
        Me.RadioButton2.Size = New System.Drawing.Size(90, 17)
        Me.RadioButton2.TabIndex = 0
        Me.RadioButton2.TabStop = True
        Me.RadioButton2.Text = "RadioButton2"
        Me.RadioButton2.UseVisualStyleBackColor = True
        '
        'Panel1
        '
        Me.Panel1.Controls.Add(Me.RadioButton2)
        Me.Panel1.Location = New System.Drawing.Point(229, 109)
        Me.Panel1.Name = "Panel1"
        Me.Panel1.Size = New System.Drawing.Size(200, 100)
        Me.Panel1.TabIndex = 1
        '
        'Panel2
        '
        Me.Panel2.Controls.Add(Me.RadioButton1)
        Me.Panel2.Location = New System.Drawing.Point(3, 6)
        Me.Panel2.Name = "Panel2"
        Me.Panel2.Size = New System.Drawing.Size(200, 100)
        Me.Panel2.TabIndex = 1
        '
        'Form1
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(781, 398)
        Me.Controls.Add(Me.TabControl1)
        Me.Name = "Form1"
        Me.Text = "Form1"
        Me.TabControl1.ResumeLayout(False)
        Me.TabPage1.ResumeLayout(False)
        Me.TabPage2.ResumeLayout(False)
        Me.Panel1.ResumeLayout(False)
        Me.Panel1.PerformLayout()
        Me.Panel2.ResumeLayout(False)
        Me.Panel2.PerformLayout()
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
    Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
    Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
    Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
    Friend WithEvents Panel2 As System.Windows.Forms.Panel
    Friend WithEvents Panel1 As System.Windows.Forms.Panel

End Class

Open in new window

0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36931069
1) Add the TabControl to the form:

        Me.Controls.Add(Me.TabControl1)

2) Add TabPage to the TabControl:

        Me.TabControl1.Controls.Add(Me.TabPage1)
        Me.TabControl1.Controls.Add(Me.TabPage2)

3) Add Panel to TabPage:

        Me.TabPage2.Controls.Add(Me.Panel1)
        Me.TabPage1.Controls.Add(Me.Panel2)

4) Add controls to the Panels:

       Me.Panel1.Controls.Add(Me.RadioButton2)
       Me.Panel2.Controls.Add(Me.RadioButton1)
 
0
 

Author Comment

by:Millkind
ID: 36931101
Yes my code has all that as well.  But it still doesn't work.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 36931225
I would suggest recreating this form in 2010, and see if that works, since your test form worked.
0
 

Author Closing Comment

by:Millkind
ID: 36931433
The solution was one that I already had come up with, I was looking for a shorter solution than rewriting the entire thing.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question