Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Com Object
#2
check com libraries first
on qm window click Tools then COM Libraries
it will open this window
   
check to see if its listed there if its not will most likely need to register it.
May need to copy the type library to qm folder
if it's listed then select it in the list and then click
Insert declaration from list button
it will insert the typelib code in your function
if the word after typelib is black then need to compile first (Ctrl+Shift+R)
then you can see the library and its functions when you type a period.
example using excel

Function ExampleExcel
Code:
Copy      Help
typelib Excel {00020813-0000-0000-C000-000000000046} 1.6

Excel.Application exApp
exApp._getactive
;or
;exApp._getfile
;or
;exApp._create


Messages In This Thread
Creating Com Object - by InterestedNewbie - 08-01-2018, 03:50 PM
RE: Creating Com Object - by Kevin - 08-01-2018, 04:24 PM
RE: Creating Com Object - by Gintaras - 08-01-2018, 06:05 PM
RE: Creating Com Object - by InterestedNewbie - 08-01-2018, 07:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)