>Peter,
>To add an activex in code use its dll.classname as OleClass property. ie: A treeview with ImageList in code (sorry this was a test code and there is more than needed code):
Hi Cetin,
thanks that works. But yur tip did not help with the browser control.
Actually I am playing with Rick Strahls code fro mFoxalk2 May 2005
The property sheet for the browser control says
OLECLASS : ShellExplorer.2
so I did:
ADD OBJECT oWB AS OLECONTROL WITH ;
TOP = 0, ;
LEFT = 300, ;
HEIGHT = 100, ;
WIDTH = 100, ;
NAME = "oWB",;
OLECLASS = 'ShellExplorer.2'
and get an error
Peter
Peter Cortiel