Recent

Author Topic: Where is ActiveX Class Name for OleClassName  (Read 2364 times)

greertr

  • Full Member
  • ***
  • Posts: 113
    • Virtual Pilot Dashboard
Where is ActiveX Class Name for OleClassName
« on: June 06, 2016, 05:30:50 pm »
RE:  http://wiki.freepascal.org/LazActiveX  "drop the TActiveXContainer on a form and assign the ActiveX ClassName to the OleClassName property"

Dumb Q:  Where do you find the ActiveX Class Name?  I used the MS OLE viewer but wasn't sure if what I saw was the proper class name.

GetMem

  • Hero Member
  • *****
  • Posts: 3758
Re: Where is ActiveX Class Name for OleClassName
« Reply #1 on: June 06, 2016, 05:54:50 pm »
Hi greertr,

Go to $(LazrusDir)\components\activex\ then install LazActiveX.lpk package.

greertr

  • Full Member
  • ***
  • Posts: 113
    • Virtual Pilot Dashboard
Re: Where is ActiveX Class Name for OleClassName
« Reply #2 on: June 06, 2016, 07:48:11 pm »
I did that and have the active X control on my laz menu - but when you put it onto your form, you're supposed to type in the activex name into the ole name property - that is where my issue is

I'm trying to use the TActiveXContainer late binding option to implement a default browser in a form

draggon

  • New Member
  • *
  • Posts: 41
Re: Where is ActiveX Class Name for OleClassName
« Reply #3 on: January 16, 2020, 09:52:16 am »
I am encountering the same issue. How to identify OleClassName in ComServer properties section? Setting ActiveXcontainer ans/ or ComServer property to Active results in message "Invald Type Cast".

 

TinyPortal © 2005-2018