home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmMain
- Caption = "File Version"
- ClientHeight = 810
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 7245
- LinkTopic = "Form1"
- ScaleHeight = 810
- ScaleWidth = 7245
- StartUpPosition = 3 'Windows Default
- Begin VB.TextBox Text1
- Height = 285
- Left = 120
- TabIndex = 0
- Text = "Text1"
- Top = 360
- Width = 5295
- End
- Begin VB.CommandButton Command1
- Caption = "Get Info"
- Default = -1 'True
- Height = 615
- Left = 5520
- TabIndex = 1
- Top = 120
- Width = 1455
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "File Path"
- Height = 195
- Left = 120
- TabIndex = 2
- Top = 120
- Width = 615
- End
- Attribute VB_Name = "frmMain"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Dim FileInformation As FILE_INFORMATION
- Call GetFileInformation(Text1, FileInformation, True)
- End Sub
- Private Sub Form_Load()
- Text1 = Environ("WINDIR") & "\System32\GDI32.DLL"
- End Sub
-