Question

I'm trying to understand how to add Activex control to Intraweb stand-alone application.

I'm placing IWActivex control on unit1 form.

In field ClassID i'm writing the clsid of my registered OCX application. (f.e. C1A8AF28-1257-101B-8FB0-0020AF039CA3). After lauching intraweb application i'm getting the error like "Unknown intraweb command "/$/C1A8AF28-1257-101B-8FB0-0020AF039CA3"" I was trying to google this error but it was unsuccessful. Also i was trying to write ActiveXObject.Filename as 'C:\intaweb_test\mytest.ocx' No results. I was trying to learn manual by eBob Manual

but he is writing on Delphi 7 :(

Can anybody help me?

Thank You.

Was it helpful?

Solution

You can find an example in the demo Features.exe. How to download the demo: http://www.atozed.com/intraweb/download/IntraWebDemos.EN.aspx

In the form ActiveXForm.pas there is a TIWActiveX component.

Set the Properties to

<TIWActiveX>.ClassID:= 'clsid:C1A8AF28-1257-101B-8FB0-0020AF039CA3';
<TIWActiveX>.CodeBase:= '/Files/mytest.ocx';  
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top