Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retreiving file(specifcally activex controls) information

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
as part of an instalation program I have already written, I want to write a dianostic utility, two of the task that concern me for now(I have others, which mainly check out ODBC and DSN, and such , which should be no prob, getting IIS server info later should be fun) <br><br>for one Given a directory, I want to search through , and identify all the ActiveX controls, dll and exe, normally I could just search for *.ocx *.dll *.exe, the ocx should be easy, but I want to be sure that the dll and exe I find are indeed ActiveXs<br><br>the second task, is to be able to get version information about the ActiveX objects I find.<br><br>I am writing this project in an ActiveX dll, so that it can be incorperated into an ASP(going to be used as the Dianostic page)<br><br>Any help will be appreciated. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
SO far I've found a few API that should help, but I am kind of stuck as how to use them so far.<br><br><FONT FACE=monospace><br>Public Type VS_FIXEDFILEINFO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwSignature As Long<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwStrucVersion As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0x00000042 = &quot;0.42&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileVersionMS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0x00030075 = &quot;3.75&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileVersionLS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0x00000031 = &quot;0.31&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwProductVersionMS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0x00030010 = &quot;3.10&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwProductVersionLS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0x00000031 = &quot;0.31&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileFlagsMask As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;= 0x3F for version &quot;0.42&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileFlags As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFF_DEBUG Or VFF_PRERELEASE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileOS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VOS_DOS_WINDOWS16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileType As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFT_DRIVER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileSubtype As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFT2_DRV_KEYBOARD<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileDateMS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dwFileDateLS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0<br>End Type<br><br><br>Public Declare Function GetFileVersionInfo _<br>&nbsp;&nbsp;&nbsp;Lib &quot;version.dll&quot; Alias &quot;GetFileVersionInfoA&quot; _<br>&nbsp;&nbsp;&nbsp;(ByVal lptstrFilename As String, ByVal dwHandle As _<br>&nbsp;&nbsp;&nbsp;Long, ByVal dwLen As Long, lpData As Any) As Long<br><br>Public Declare Function GetFileVersionInfoSize _<br>&nbsp;&nbsp;&nbsp;Lib &quot;version.dll&quot; Alias &quot;GetFileVersionInfoSizeA&quot; _<br>&nbsp;&nbsp;&nbsp;(ByVal lptstrFilename As String, lpdwHandle As Long) As Long<br><br>Public Declare Function VerQueryValue _<br>&nbsp;&nbsp;&nbsp;Lib &quot;version.dll&quot; (pBlock As Any, ByVal lpSubBlock As String, _<br>&nbsp;&nbsp;&nbsp;ByVal lplpBuffer As Long, puLen As Long) As Long<br><br>'My Function which is elesewhere<br><br>Public Function VersionInfo(file As String) As Variant<br>&nbsp;&nbsp;&nbsp;Dim rt As Long<br>&nbsp;&nbsp;&nbsp;Dim vt As Long<br>&nbsp;&nbsp;&nbsp;Dim verH As Long<br>&nbsp;&nbsp;&nbsp;Dim VerInfo As VS_FIXEDFILEINFO<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;rt = GetFileVersionInfoSize(file, verH)<br>&nbsp;&nbsp;&nbsp;If rt &lt;&gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vt = GetFileVersionInfo(file, Null, rt, VerInfo)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If vt &lt;&gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'?? then what?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br>&nbsp;&nbsp;&nbsp;End If<br>End Function<br><br></font><br><br>I can understand, checking if its non-zero for sucess, and using the return to determine the size, but I am kind of in need to figure out how to get the information from the result, considering it indulges me in pointers, and even though I may know pointers in C++, in VB its a bit fuzzy to my usage. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
I found out how to get the versioning information however I cant find the value for <br>VFT2_FONT_RASTER, VFT2_FONT_VECTOR, and VFT2_FONT_TREUTYPE, I seem some values from the 16bit example, but it wouldnt be right because they would be the same value as DRV_PRINTER, DRV_KEYBOARD, and DRV_LANGUAGE in the same select case.<br><br>well here's the thing from the MSDN that shows how to use the version.dll (32bit)<br><br><FONT FACE=monospace><br>How to Use Functions in VERSION.DLL -- A 32-bit Sample App <br><br>--------------------------------------------------------------------------------<br>The information in this article applies to:<br><br>Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 32-bit only, for Windows, version 4.0<br><br>--------------------------------------------------------------------------------<br><br><br>SUMMARY<br>This article contains code and instructions that demonstrate how to create a sample application that uses some of the functions in VERSION.DLL to retrieve file information embedded into a file with the resource compiler (RC.EXE). <br><br>NOTE: This code only works in Visual Basic version 4.0, 32-bit for Windows. To obtain a Visual Basic version 4.0 16-bit for Windows, example of this code, please see the following article in the Microsoft Knowledge Base: <br><br><br>Q112731 : How to Use Functions in VER.DLL -- a 16-bit Sample Application <br><br>This Visual Basic application was modeled after the Verstamp sample program included in the Microsoft Windows Software Development Kit (SDK). <br><br>Additional information can be found in the following documents: <br><br>Microsoft Win32 SDK<br><br><br>Win32 API Declarations for Visual Basic (WIN32API.TXT) located in the WINAPI subdirectory of Visual Basic 4.0 <br><br><br><br><br><br>MORE INFORMATION<br>Instead of offering this article in a number of steps, we have modified our usual format to make it easier for you to create and use this Visual Basic application. Therefore, the three files you need (VERINFO.BAS, VERINFO1.FRM, VERINFO2.FRM) are listed below so you can easily copy them into a text editor and save them as separate files. Instructions on how to use the files are embedded in the files as comments. <br><br><br>VERINFO.BAS<br>' Place the following code in a single text file called VERINFO.BAS:<br>'<br>' The Global constants below are defined in the VER.H header file, also<br>' included in Microsoft C/C++ 7.0, and the Windows SDK.<br>'<br>' **** Global variables used in both forms ****<br>Public Filename As String<br>Public Directory As String<br>Public FullFileName As String<br><br>Public StrucVer As String<br>Public FileVer As String<br>Public ProdVer As String<br>Public FileFlags As String<br>Public FileOS As String<br>Public FileType As String<br>Public FileSubType As String<br><br>Type VS_FIXEDFILEINFO<br>&nbsp;&nbsp;&nbsp;dwSignature As Long<br>&nbsp;&nbsp;&nbsp;dwStrucVersionl As Integer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0000 = 0<br>&nbsp;&nbsp;&nbsp;dwStrucVersionh As Integer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0042 = .42<br>&nbsp;&nbsp;&nbsp;dwFileVersionMSl As Integer&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0003 = 3<br>&nbsp;&nbsp;&nbsp;dwFileVersionMSh As Integer&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0075 = .75<br>&nbsp;&nbsp;&nbsp;dwFileVersionLSl As Integer&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0000 = 0<br>&nbsp;&nbsp;&nbsp;dwFileVersionLSh As Integer&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. = &h0031 = .31<br>&nbsp;&nbsp;&nbsp;dwProductVersionMSl As Integer '&nbsp;&nbsp;e.g. = &h0003 = 3<br>&nbsp;&nbsp;&nbsp;dwProductVersionMSh As Integer '&nbsp;&nbsp;e.g. = &h0010 = .1<br>&nbsp;&nbsp;&nbsp;dwProductVersionLSl As Integer '&nbsp;&nbsp;e.g. = &h0000 = 0<br>&nbsp;&nbsp;&nbsp;dwProductVersionLSh As Integer '&nbsp;&nbsp;e.g. = &h0031 = .31<br>&nbsp;&nbsp;&nbsp;dwFileFlagsMask As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;= &h3F for version &quot;0.42&quot;<br>&nbsp;&nbsp;&nbsp;dwFileFlags As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFF_DEBUG Or VFF_PRERELEASE<br>&nbsp;&nbsp;&nbsp;dwFileOS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VOS_DOS_WINDOWS16<br>&nbsp;&nbsp;&nbsp;dwFileType As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFT_DRIVER<br>&nbsp;&nbsp;&nbsp;dwFileSubtype As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. VFT2_DRV_KEYBOARD<br>&nbsp;&nbsp;&nbsp;dwFileDateMS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0<br>&nbsp;&nbsp;&nbsp;dwFileDateLS As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;e.g. 0<br>End Type<br><br>Declare Function GetFileVersionInfo Lib &quot;Version.dll&quot; Alias _<br>&nbsp;&nbsp;&nbsp;&quot;GetFileVersionInfoA&quot; (ByVal lptstrFilename As String, ByVal _<br>&nbsp;&nbsp;&nbsp;dwhandle As Long, ByVal dwlen As Long, lpData As Any) As Long<br>Declare Function GetFileVersionInfoSize Lib &quot;Version.dll&quot; Alias _<br>&nbsp;&nbsp;&nbsp;&quot;GetFileVersionInfoSizeA&quot; (ByVal lptstrFilename As String, _<br>&nbsp;&nbsp;&nbsp;lpdwHandle As Long) As Long<br>Declare Function VerQueryValue Lib &quot;Version.dll&quot; Alias _<br>&nbsp;&nbsp;&nbsp;&quot;VerQueryValueA&quot; (pBlock As Any, ByVal lpSubBlock As String, _<br>&nbsp;&nbsp;&nbsp;lplpBuffer As Any, puLen As Long) As Long<br>Declare Sub MoveMemory Lib &quot;kernel32&quot; Alias &quot;RtlMoveMemory&quot; _<br>&nbsp;&nbsp;&nbsp;(dest As Any, ByVal Source As Long, ByVal length As Long)<br>Declare Function GetSystemDirectory Lib &quot;kernel32&quot; Alias _<br>&nbsp;&nbsp;&nbsp;&quot;GetSystemDirectoryA&quot; (ByVal Path As String, ByVal cbBytes As Long) As<br>Long<br><br>' ===== From Win32 Ver.h =================<br>' ----- VS_VERSION.dwFileFlags -----<br>Public Const VS_FFI_SIGNATURE = &HFEEF04BD<br>Public Const VS_FFI_STRUCVERSION = &H10000<br>Public Const VS_FFI_FILEFLAGSMASK = &H3F&<br><br>' ----- VS_VERSION.dwFileFlags -----<br>Public Const VS_FF_DEBUG = &H1<br>Public Const VS_FF_PRERELEASE = &H2<br>Public Const VS_FF_PATCHED = &H4<br>Public Const VS_FF_PRIVATEBUILD = &H8<br>Public Const VS_FF_INFOINFERRED = &H10<br>Public Const VS_FF_SPECIALBUILD = &H20<br><br>' ----- VS_VERSION.dwFileOS -----<br>Public Const VOS_UNKNOWN = &H0<br>Public Const VOS_DOS = &H10000<br>Public Const VOS_OS216 = &H20000<br>Public Const VOS_OS232 = &H30000<br>Public Const VOS_NT = &H40000<br><br>Public Const VOS__BASE = &H0<br>Public Const VOS__WINDOWS16 = &H1<br>Public Const VOS__PM16 = &H2<br>Public Const VOS__PM32 = &H3<br>Public Const VOS__WINDOWS32 = &H4<br><br>Public Const VOS_DOS_WINDOWS16 = &H10001<br>Public Const VOS_DOS_WINDOWS32 = &H10004<br>Public Const VOS_OS216_PM16 = &H20002<br>Public Const VOS_OS232_PM32 = &H30003<br>Public Const VOS_NT_WINDOWS32 = &H40004<br><br>' ----- VS_VERSION.dwFileType -----<br>Public Const VFT_UNKNOWN = &H0<br>Public Const VFT_APP = &H1<br>Public Const VFT_DLL = &H2<br>Public Const VFT_DRV = &H3<br>Public Const VFT_FONT = &H4<br>Public Const VFT_VXD = &H5<br>Public Const VFT_STATIC_LIB = &H7<br><br>' ----- VS_VERSION.dwFileSubtype for VFT_WINDOWS_DRV -----<br>Public Const VFT2_UNKNOWN = &H0<br>Public Const VFT2_DRV_PRINTER = &H1<br>Public Const VFT2_DRV_KEYBOARD = &H2<br>Public Const VFT2_DRV_LANGUAGE = &H3<br>Public Const VFT2_DRV_DISPLAY = &H4<br>Public Const VFT2_DRV_MOUSE = &H5<br>Public Const VFT2_DRV_NETWORK = &H6<br>Public Const VFT2_DRV_SYSTEM = &H7<br>Public Const VFT2_DRV_INSTALLABLE = &H8<br>Public Const VFT2_DRV_SOUND = &H9<br>Public Const VFT2_DRV_COMM = &HA <br><br><br>VERINFO1.FRM<br>' The following is a text dump of the form VERINFO1. It includes the form<br>' and control description as well as necessary Function and Sub procedures.<br>' Save the code in a single TEXT file called VERINFO1.FRM and you can then<br>' load it as a form in Visual Basic.<br>'<br>VERSION 4.00<br>Begin VB.Form Form1<br>&nbsp;&nbsp;&nbsp;Appearance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;'Flat<br>&nbsp;&nbsp;&nbsp;BackColor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;&H80000005&<br>&nbsp;&nbsp;&nbsp;BorderStyle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;'Fixed Single<br>&nbsp;&nbsp;&nbsp;Caption&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;&quot;VerInfo Demo&quot;<br>&nbsp;&nbsp;&nbsp;ClientHeight&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;4290<br>&nbsp;&nbsp;&nbsp;ClientLeft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;2340<br>&nbsp;&nbsp;&nbsp;ClientTop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;2160<br>&nbsp;&nbsp;&nbsp;ClientWidth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;120<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TabIndex&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Top&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;252<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Width&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;936<br>&nbsp;&nbsp;&nbsp;End<br>End<br>Attribute VB_Name = &quot;Form1&quot;<br>Attribute VB_Creatable = False<br>Attribute VB_Exposed = False<br>Private Sub Dir1_Change()<br>&nbsp;&nbsp;&nbsp;File1.Path = Dir1.Path<br>&nbsp;&nbsp;&nbsp;Label1(2).Caption = File1.Path<br>End Sub<br><br>Private Sub DisplayVerInfo()<br>&nbsp;&nbsp;&nbsp;'*** Get Version Info ****<br><br>&nbsp;&nbsp;&nbsp;Filename = File1.List(File1.ListIndex)<br>&nbsp;&nbsp;&nbsp;Directory = Label1(2).Caption<br>&nbsp;&nbsp;&nbsp;FullFileName = Label1(2).Caption + &quot;\&quot; + Filename$<br><br>&nbsp;&nbsp;&nbsp;Dim rc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Long<br>&nbsp;&nbsp;&nbsp;Dim lDummy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Long<br>&nbsp;&nbsp;&nbsp;Dim sBuffer()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Byte<br>&nbsp;&nbsp;&nbsp;Dim lBufferLen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Long<br>&nbsp;&nbsp;&nbsp;Dim lVerPointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Long<br>&nbsp;&nbsp;&nbsp;Dim udtVerBuffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As VS_FIXEDFILEINFO<br>&nbsp;&nbsp;&nbsp;Dim lVerbufferLen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;As Long<br><br><br>&nbsp;&nbsp;&nbsp;'*** Get size ****<br>&nbsp;&nbsp;&nbsp;lBufferLen = GetFileVersionInfoSize(FullFileName, lDummy)<br>&nbsp;&nbsp;&nbsp;If lBufferLen &lt; 1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &quot;No Version Info available!&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exit Sub<br>&nbsp;&nbsp;&nbsp;End If<br><br>&nbsp;&nbsp;&nbsp;'**** Store info to udtVerBuffer struct ****<br>&nbsp;&nbsp;&nbsp;ReDim sBuffer(lBufferLen)<br>&nbsp;&nbsp;&nbsp;rc = GetFileVersionInfo(FullFileName, 0&, lBufferLen, sBuffer(0))<br>&nbsp;&nbsp;&nbsp;rc = VerQueryValue(sBuffer(0), &quot;\&quot;, lVerPointer, lVerbufferLen)<br>&nbsp;&nbsp;&nbsp;MoveMemory udtVerBuffer, lVerPointer, Len(udtVerBuffer)<br><br>&nbsp;&nbsp;&nbsp;'**** Determine Structure Version number - NOT USED ****<br>&nbsp;&nbsp;&nbsp;StrucVer = Format$(udtVerBuffer.dwStrucVersionh) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwStrucVersionl)<br><br>&nbsp;&nbsp;&nbsp;'**** Determine File Version number ****<br>&nbsp;&nbsp;&nbsp;FileVer = Format$(udtVerBuffer.dwFileVersionMSh) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwFileVersionMSl) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwFileVersionLSh) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwFileVersionLSl)<br><br>&nbsp;&nbsp;&nbsp;'**** Determine Product Version number ****<br>&nbsp;&nbsp;&nbsp;ProdVer = Format$(udtVerBuffer.dwProductVersionMSh) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwProductVersionMSl) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwProductVersionLSh) & &quot;.&quot; & _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format$(udtVerBuffer.dwProductVersionLSl)<br><br>&nbsp;&nbsp;&nbsp;'**** Determine Boolean attributes of File ****<br>&nbsp;&nbsp;&nbsp;FileFlags = &quot;&quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_DEBUG _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = &quot;Debug &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_PRERELEASE _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags & &quot;PreRel &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_PATCHED _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags & &quot;Patched &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_PRIVATEBUILD _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags & &quot;Private &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_INFOINFERRED _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags & &quot;Info &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VS_FF_SPECIALBUILD _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags & &quot;Special &quot;<br>&nbsp;&nbsp;&nbsp;If udtVerBuffer.dwFileFlags And VFT2_UNKNOWN _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then FileFlags = FileFlags + &quot;Unknown &quot;<br><br>&nbsp;&nbsp;&nbsp;'**** Determine OS for which file was designed ****<br>&nbsp;&nbsp;&nbsp;Select Case udtVerBuffer.dwFileOS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VOS_DOS_WINDOWS16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;DOS-Win16&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VOS_DOS_WINDOWS32<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;DOS-Win32&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VOS_OS216_PM16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;OS/2-16 PM-16&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VOS_OS232_PM32<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;OS/2-16 PM-32&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VOS_NT_WINDOWS32<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;NT-Win32&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case other<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOS = &quot;Unknown&quot;<br>&nbsp;&nbsp;&nbsp;End Select<br>&nbsp;&nbsp;&nbsp;Select Case udtVerBuffer.dwFileType<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_APP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;App&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_DLL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;DLL&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_DRV<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;Driver&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select Case udtVerBuffer.dwFileSubtype<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_PRINTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Printer drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_KEYBOARD<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Keyboard drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_LANGUAGE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Language drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_DISPLAY<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Display drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_MOUSE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Mouse drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_NETWORK<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Network drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_SYSTEM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;System drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_INSTALLABLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Installable&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_SOUND<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Sound drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_DRV_COMM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Comm drv&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT2_UNKNOWN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Unknown&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End Select<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_FONT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;Font&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select Case udtVerBuffer.dwFileSubtype<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_FONT_RASTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Raster Font&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_FONT_VECTOR<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;Vector Font&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_FONT_TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileSubType = &quot;TrueType Font&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End Select<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_VXD<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;VxD&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case VFT_STATIC_LIB<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;Lib&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileType = &quot;Unknown&quot;<br>&nbsp;&nbsp;&nbsp;End Select<br>&nbsp;&nbsp;&nbsp;Form2.Show 1<br>End Sub<br><br>Private Sub Drive1_Change()<br>&nbsp;&nbsp;&nbsp;Dir1.Path = Drive1.Drive<br>&nbsp;&nbsp;&nbsp;File1.Path = Dir1.Path<br>&nbsp;&nbsp;&nbsp;Label1(2).Caption = File1.Path<br>End Sub<br><br>Private Sub File1_Click()<br>&nbsp;&nbsp;&nbsp;Text1.Text = File1.List(File1.ListIndex)<br>End Sub<br><br>Private Sub File1_DblClick()<br>&nbsp;&nbsp;&nbsp;DisplayVerInfo<br>End Sub<br><br>Private Sub File1_PathChange()<br>&nbsp;&nbsp;&nbsp;Text1.Text = &quot;*.*&quot;<br>&nbsp;&nbsp;&nbsp;File1.Pattern = &quot;*.*&quot;<br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp;Dim Buffer As String<br>&nbsp;&nbsp;&nbsp;Dim rc As Long<br><br>&nbsp;&nbsp;&nbsp;' **** Set Default Dir to Windows System Subdirectory ****<br>&nbsp;&nbsp;&nbsp;Buffer = Space$(256)<br>&nbsp;&nbsp;&nbsp;rc = GetSystemDirectory(Buffer, Len(Buffer))<br>&nbsp;&nbsp;&nbsp;Buffer = LCase$(Mid$(Buffer, 1, InStr(Buffer, Chr(0)) - 1))<br>&nbsp;&nbsp;&nbsp;Dir1.Path = Buffer<br>&nbsp;&nbsp;&nbsp;File1.Path = Buffer<br>&nbsp;&nbsp;&nbsp;Drive1.Drive = Left$(Buffer, 1)<br>End Sub<br><br>Private Sub Form_Unload(Cancel As Integer)<br>&nbsp;&nbsp;&nbsp;End<br>End Sub<br><br>Private Sub Text1_KeyPress(KeyAscii As Integer)<br>&nbsp;&nbsp;&nbsp;If KeyAscii = 13 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File1.Pattern = Text1.Text<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KeyAscii = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If File1.ListCount = 1 Then DisplayVerInfo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If File1.ListCount = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &quot;Invalid Filename&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File1.Pattern = &quot;*.*&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text1.Text = &quot;*.*&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File1.SetFocus<br>&nbsp;&nbsp;&nbsp;End If<br>End Sub <br><br><br>VERINFO2.FRM<br>' The following is a text dump of the form VERINFO2. It includes the form<br>' and control description as well as necessary Function and Sub procedures.<br>' Save the code in a single text file called VERINFO2.FRM and you can then<br>' load it as a form in Visual Basic.<br>'<br>VERSION 4.00<br>Begin VB.Form Form2<br>&nbsp;&nbsp;&nbsp;Appearance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;'Flat<br>&nbsp;&nbsp;&nbsp;BackColor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;&H80000005&<br>&nbsp;&nbsp;&nbsp;BorderStyle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;'Fixed Single<br>&nbsp;&nbsp;&nbsp;Caption&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;&quot;File Version Info&quot;<br>&nbsp;&nbsp;&nbsp;ClientHeight&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;3345<br>&nbsp;&nbsp;&nbsp;ClientLeft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;6630<br>&nbsp;&nbsp;&nbsp;ClientTop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;2175<br>&nbsp;&nbsp;&nbsp;ClientWidth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;4500<br>&nbsp;&nbsp;&nbsp;ForeColor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;&H80000008&<br>&nbsp;&nbsp;&nbsp;Height&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;3810<br>&nbsp;&nbsp;&nbsp;Left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;6540<br>&nbsp;&nbsp;&nbsp;LinkMode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;'Source<br>&nbsp;&nbsp;&nbsp;LinkTopic&nbsp;&nbsp;&nbsp;&nbsp;&n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sp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;'False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strikethrough&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;'False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EndProperty<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Height&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;372<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;1680<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TabIndex&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Top&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;2880<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Width&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;1452<br>&nbsp;&nbsp;&nbsp;End<br>End<br>Attribute VB_Name = &quot;Form2&quot;<br>Attribute VB_Creatable = False<br>Attribute VB_Exposed = False<br>Private Sub Command1_Click()<br>&nbsp;&nbsp;&nbsp;Form2.Hide<br>End Sub<br><br>Private Sub Command1_GotFocus()<br>&nbsp;&nbsp;Form_Paint<br>End Sub<br><br>Private Sub Form_Paint()<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.CurrentY = 1<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;FileName:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;Directory:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;File Version:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;Product Version:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;File Flags:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;File OS:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;File Type:&quot;<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 2<br>&nbsp;&nbsp;&nbsp;Form2.Print &quot;File Sub-type:&quot;<br><br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.CurrentY = 1<br>&nbsp;&nbsp;&nbsp;Form2.Print Filename<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print Directory<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print FileVer<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print ProdVer<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print FileFlags<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print FileOS<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print FileType<br>&nbsp;&nbsp;&nbsp;Form2.CurrentX = 18<br>&nbsp;&nbsp;&nbsp;Form2.Print FileSubType<br>End Sub <br><br><br>How to Create and Run the Program<br>Start Visual Basic. Form1 is created by default. <br><br><br>From the File menu, choose Remove File to remove Form1. <br><br><br>From the File menu, choose Add File to add VERINFO.BAS. <br><br><br>Repeat step 3 to add VERINFO1.FRM and VERINFO2.FRM to the project. <br><br><br>From the Options menu, choose Project and set Start Up Form to Form1. <br><br><br>Run the application.<br></font> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top