Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a treview, image control and browser
Message
From
23/05/2005 11:19:27
 
 
To
23/05/2005 10:52:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016749
Message ID:
01016772
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform