home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "SQLLog MTS Sample Application"
- ClientHeight = 3660
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3660
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton cmdDoit
- Caption = "Do It"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 3000
- Width = 4455
- End
- Begin VB.Label lblNotes
- Caption = "This sample works against the pubs database. It logs an insert, update and delete action on the authors table."
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 855
- Left = 120
- TabIndex = 3
- Top = 2040
- Width = 4455
- End
- Begin VB.Label lblReminder
- Caption = "Please remember to update the source code in the SampleMTSDLL project to change connection settings to match your environment."
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 735
- Left = 120
- TabIndex = 2
- Top = 1200
- Width = 4455
- End
- Begin VB.Label lblDescription
- Caption = $"Form1.frx":0000
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 1095
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 4455
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdDoit_Click()
- Dim obj As SampleMTSDLL.Application
- Dim rs As ADODB.Recordset
- Dim objField As ADODB.Field
- Dim strTemp As String
- Set obj = New SampleMTSDLL.Application
- Set rs = obj.CallSP
- Set obj = Nothing
- End Sub
-