VERSION 5.00 Begin VB.Form Form1 Caption = "Form1" ClientHeight = 3090 ClientLeft = 60 ClientTop = 450 ClientWidth = 4680 LinkTopic = "Form1" ScaleHeight = 3090 ScaleWidth = 4680 StartUpPosition = 3 'Windows Default Begin VB.CommandButton VBCOM Caption = "Test COM Interface" Height = 1095 Left = 480 TabIndex = 0 Top = 480 Width = 3735 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub VBCOM_Click() Set pdf2vec = CreateObject("exeshell.shell") pdf2vec.RunCommandLine "", "", "C:\pdf2vec\pdf2vec.exe C:\test.pdf C:\test.swf" Set pdf2vec = Nothing End Sub