home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / certsvr / policyvb / policyvb.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-05-29  |  8.1 KB  |  262 lines

  1. VERSION 4.00
  2. Begin VB.Form policyvb 
  3.    Caption         =   "Certificate Authority Policy Module"
  4.    ClientHeight    =   7545
  5.    ClientLeft      =   1305
  6.    ClientTop       =   1590
  7.    ClientWidth     =   5790
  8.    Height          =   7950
  9.    Left            =   1245
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   7545
  12.    ScaleWidth      =   5790
  13.    Top             =   1245
  14.    Width           =   5910
  15.    Begin VB.CommandButton cmdPending 
  16.       Caption         =   "Make Pending"
  17.       Height          =   975
  18.       Left            =   2160
  19.       TabIndex        =   2
  20.       Top             =   6240
  21.       Width           =   1455
  22.    End
  23.    Begin VB.TextBox RequestTypeText 
  24.       BackColor       =   &H00C0C0C0&
  25.       Height          =   285
  26.       Left            =   3600
  27.       Locked          =   -1  'True
  28.       TabIndex        =   17
  29.       TabStop         =   0   'False
  30.       Top             =   4920
  31.       Width           =   1095
  32.    End
  33.    Begin VB.TextBox VersionText 
  34.       BackColor       =   &H00C0C0C0&
  35.       Height          =   285
  36.       Left            =   1200
  37.       Locked          =   -1  'True
  38.       TabIndex        =   16
  39.       TabStop         =   0   'False
  40.       Top             =   4920
  41.       Width           =   495
  42.    End
  43.    Begin VB.TextBox StatusText 
  44.       BackColor       =   &H00C0C0C0&
  45.       ForeColor       =   &H00000000&
  46.       Height          =   495
  47.       Left            =   480
  48.       Locked          =   -1  'True
  49.       TabIndex        =   14
  50.       TabStop         =   0   'False
  51.       Text            =   "Status"
  52.       Top             =   5520
  53.       Width           =   4815
  54.    End
  55.    Begin VB.Frame Information 
  56.       Caption         =   "Certificate Request Information"
  57.       Height          =   4335
  58.       Left            =   405
  59.       TabIndex        =   13
  60.       Top             =   360
  61.       Width           =   4995
  62.       Begin VB.TextBox Disposition 
  63.          Height          =   375
  64.          Left            =   3840
  65.          Locked          =   -1  'True
  66.          TabIndex        =   23
  67.          TabStop         =   0   'False
  68.          Text            =   "TimeOut"
  69.          Top             =   3000
  70.          Visible         =   0   'False
  71.          Width           =   855
  72.       End
  73.       Begin VB.TextBox NotAfterText 
  74.          BackColor       =   &H00C0C0C0&
  75.          Height          =   375
  76.          Left            =   3120
  77.          Locked          =   -1  'True
  78.          TabIndex        =   22
  79.          TabStop         =   0   'False
  80.          Text            =   "NotAfter"
  81.          Top             =   3720
  82.          Width           =   1600
  83.       End
  84.       Begin VB.TextBox NotBeforeText 
  85.          BackColor       =   &H00C0C0C0&
  86.          Height          =   375
  87.          Left            =   1080
  88.          Locked          =   -1  'True
  89.          TabIndex        =   21
  90.          TabStop         =   0   'False
  91.          Text            =   "NotBefore"
  92.          Top             =   3720
  93.          Width           =   1600
  94.       End
  95.       Begin VB.Timer DisplayTimer 
  96.          Enabled         =   0   'False
  97.          Interval        =   3000
  98.          Left            =   4080
  99.          Top             =   2400
  100.       End
  101.       Begin VB.TextBox NameText 
  102.          BackColor       =   &H00C0C0C0&
  103.          Height          =   375
  104.          Left            =   2040
  105.          Locked          =   -1  'True
  106.          TabIndex        =   7
  107.          TabStop         =   0   'False
  108.          Top             =   3000
  109.          Width           =   1500
  110.       End
  111.       Begin VB.TextBox CountryText 
  112.          BackColor       =   &H00C0C0C0&
  113.          Height          =   375
  114.          Left            =   2040
  115.          Locked          =   -1  'True
  116.          TabIndex        =   6
  117.          TabStop         =   0   'False
  118.          Top             =   2400
  119.          Width           =   1500
  120.       End
  121.       Begin VB.TextBox LocalityText 
  122.          BackColor       =   &H00C0C0C0&
  123.          Height          =   375
  124.          Left            =   2040
  125.          Locked          =   -1  'True
  126.          TabIndex        =   5
  127.          TabStop         =   0   'False
  128.          Top             =   1800
  129.          Width           =   1500
  130.       End
  131.       Begin VB.TextBox OrgUnitText 
  132.          BackColor       =   &H00C0C0C0&
  133.          Height          =   375
  134.          Left            =   2040
  135.          Locked          =   -1  'True
  136.          TabIndex        =   4
  137.          TabStop         =   0   'False
  138.          Top             =   1200
  139.          Width           =   1500
  140.       End
  141.       Begin VB.TextBox OrgText 
  142.          BackColor       =   &H00C0C0C0&
  143.          Height          =   375
  144.          Left            =   2040
  145.          Locked          =   -1  'True
  146.          TabIndex        =   0
  147.          TabStop         =   0   'False
  148.          Top             =   600
  149.          Width           =   1500
  150.       End
  151.       Begin VB.Label ToLabel 
  152.          Caption         =   "To"
  153.          Height          =   375
  154.          Left            =   2800
  155.          TabIndex        =   20
  156.          Top             =   3720
  157.          Width           =   615
  158.       End
  159.       Begin VB.Label ValidLabel 
  160.          Caption         =   "Valid From"
  161.          Height          =   495
  162.          Left            =   240
  163.          TabIndex        =   19
  164.          Top             =   3720
  165.          Width           =   855
  166.       End
  167.       Begin VB.Label NameLabel 
  168.          Caption         =   "Name"
  169.          Height          =   405
  170.          Left            =   240
  171.          TabIndex        =   12
  172.          Top             =   3000
  173.          Width           =   1500
  174.       End
  175.       Begin VB.Label LocalityLabel 
  176.          Caption         =   "Locality"
  177.          Height          =   405
  178.          Left            =   240
  179.          TabIndex        =   10
  180.          Top             =   1800
  181.          Width           =   1500
  182.       End
  183.       Begin VB.Label CountryLabel 
  184.          Caption         =   "Country"
  185.          Height          =   405
  186.          Left            =   240
  187.          TabIndex        =   11
  188.          Top             =   2400
  189.          Width           =   1500
  190.       End
  191.       Begin VB.Label OrgUnitLabel 
  192.          Caption         =   "Organizational Unit"
  193.          Height          =   405
  194.          Left            =   240
  195.          TabIndex        =   9
  196.          Top             =   1200
  197.          Width           =   1500
  198.       End
  199.       Begin VB.Label OrgLabel 
  200.          Caption         =   "Organization"
  201.          Height          =   400
  202.          Left            =   240
  203.          TabIndex        =   8
  204.          Top             =   600
  205.          Width           =   1500
  206.       End
  207.    End
  208.    Begin VB.CommandButton cmdDeny 
  209.       Cancel          =   -1  'True
  210.       Caption         =   "Deny Certificate"
  211.       Height          =   975
  212.       Left            =   3840
  213.       TabIndex        =   3
  214.       Top             =   6240
  215.       Width           =   1455
  216.    End
  217.    Begin VB.CommandButton cmdIssue 
  218.       Caption         =   "Issue Certificate"
  219.       Default         =   -1  'True
  220.       Height          =   975
  221.       Left            =   480
  222.       TabIndex        =   1
  223.       Top             =   6240
  224.       Width           =   1455
  225.    End
  226.    Begin VB.Label RequestTypeLabel 
  227.       Caption         =   "RequestType"
  228.       Height          =   375
  229.       Left            =   2520
  230.       TabIndex        =   18
  231.       Top             =   4920
  232.       Width           =   1095
  233.    End
  234.    Begin VB.Label VersionLabel 
  235.       Caption         =   "Version"
  236.       Height          =   255
  237.       Left            =   600
  238.       TabIndex        =   15
  239.       Top             =   4920
  240.       Width           =   735
  241.    End
  242. Attribute VB_Name = "policyvb"
  243. Attribute VB_Creatable = False
  244. Attribute VB_Exposed = False
  245. Option Explicit
  246. Private Sub cmdDeny_Click()
  247.     Hide
  248.     Disposition.Text = "Deny"
  249. End Sub
  250. Private Sub cmdIssue_Click()
  251.     Hide
  252.     Disposition.Text = "Issue"
  253. End Sub
  254. Private Sub cmdPending_Click()
  255.     Hide
  256.     Disposition.Text = "Pending"
  257. End Sub
  258. Private Sub DisplayTimer_Timer()
  259.     Hide
  260.     Disposition.Text = "TimeOut"
  261. End Sub
  262.