KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/mguerinweb/Offline_Archive/vb asp to excel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/mguerinweb/Offline_Archive/vb asp to excel/frmMain.frm
VERSION 5.00
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form frmMain 
   Caption         =   "Access to Excel Converter"
   ClientHeight    =   5325
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   10605
   LinkTopic       =   "Form1"
   ScaleHeight     =   5325
   ScaleWidth      =   10605
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdTransfer 
      Caption         =   "Transfer Row to Excel"
      Height          =   375
      Left            =   3840
      TabIndex        =   6
      Top             =   1200
      Width           =   2295
   End
   Begin VB.CommandButton cmdRefresh 
      Caption         =   "Refresh Grid"
      Height          =   375
      Left            =   240
      TabIndex        =   4
      Top             =   1680
      Width           =   2895
   End
   Begin VB.CommandButton cmdSave 
      Caption         =   "Update Access DB"
      Height          =   375
      Left            =   240
      TabIndex        =   3
      Top             =   1200
      Width           =   2895
   End
   Begin VB.CommandButton cmdClose 
      Caption         =   "Exit"
      Height          =   375
      Left            =   8400
      TabIndex        =   2
      Top             =   360
      Width           =   1575
   End
   Begin MSDataGridLib.DataGrid grdNew 
      Height          =   2775
      Left            =   240
      TabIndex        =   1
      Top             =   2280
      Width           =   10095
      _ExtentX        =   17806
      _ExtentY        =   4895
      _Version        =   393216
      HeadLines       =   1
      RowHeight       =   15
      AllowDelete     =   -1  'True
      BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ColumnCount     =   2
      BeginProperty Column00 
         DataField       =   ""
         Caption         =   ""
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   1033
            SubFormatType   =   0
         EndProperty
      EndProperty
      BeginProperty Column01 
         DataField       =   ""
         Caption         =   ""
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   1033
            SubFormatType   =   0
         EndProperty
      EndProperty
      SplitCount      =   1
      BeginProperty Split0 
         BeginProperty Column00 
         EndProperty
         BeginProperty Column01 
         EndProperty
      EndProperty
   End
   Begin VB.CommandButton cmdShow 
      Caption         =   "Show New Records"
      Height          =   375
      Left            =   240
      TabIndex        =   0
      Top             =   720
      Width           =   2895
   End
   Begin VB.Label lblTitle 
      Caption         =   "Guerin Associates Inc. Database Converter"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   240
      TabIndex        =   5
      Top             =   120
      Width           =   2295
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    cmdSave.Enabled = False
    cmdRefresh.Enabled = False
    cmdTransfer.Enabled = False
End Sub

Private Sub cmdShow_Click()
    On Error GoTo ErrorHandler
    
    modAccess.Initialize
    modAccess.OpenAccess
    
    Exit Sub
ErrorHandler:
    MsgBox Err.Number & ": " & Err.Description
    Resume Next
End Sub

Private Sub cmdSave_Click()
    modAccess.UpdateAccess
End Sub

Private Sub cmdTransfer_Click()
    modExcel.OpenExcel
    modExcel.TransferData
    modExcel.CloseExcel
End Sub

Private Sub cmdRefresh_Click()
    grdNew.Refresh
End Sub

Private Sub Form_Unload(Cancel As Integer)
    modAccess.CloseDatabase
    modAccess.CloseConnection
End Sub

Private Sub cmdClose_Click()
    Unload Me
End Sub

Anon7 - 2021