vbcom.frm 903 B

123456789101112131415161718192021222324252627282930313233
  1. VERSION 5.00
  2. Begin VB.Form Form1
  3. Caption = "Form1"
  4. ClientHeight = 3090
  5. ClientLeft = 60
  6. ClientTop = 450
  7. ClientWidth = 4680
  8. LinkTopic = "Form1"
  9. ScaleHeight = 3090
  10. ScaleWidth = 4680
  11. StartUpPosition = 3 'Windows Default
  12. Begin VB.CommandButton VBCOM
  13. Caption = "Test COM Interface"
  14. Height = 1095
  15. Left = 480
  16. TabIndex = 0
  17. Top = 480
  18. Width = 3735
  19. End
  20. End
  21. Attribute VB_Name = "Form1"
  22. Attribute VB_GlobalNameSpace = False
  23. Attribute VB_Creatable = False
  24. Attribute VB_PredeclaredId = True
  25. Attribute VB_Exposed = False
  26. Private Sub VBCOM_Click()
  27. Set pdf2vec = CreateObject("exeshell.shell")
  28. pdf2vec.RunCommandLine "", "", "C:\pdf2vec\pdf2vec.exe C:\test.pdf C:\test.swf"
  29. Set pdf2vec = Nothing
  30. End Sub