Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't create Shell.Explorer object
Message
From
26/05/2009 20:35:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can't create Shell.Explorer object
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01402143
Message ID:
01402143
Views:
172
Hi all -

I have been using "View PDF in VFP Form" code from http://www.berezniker.com/content/pages/visual-foxpro/view-pdf-vfp-form, but currently I get an "OLE error code 0x8004005: Unspecified error" when I try to create the form which contains
	ADD OBJECT oWB As OleControl WITH ;
		Top = 25, left = 50,;
		Height = 500, Width = 700, Visible = .T., ;
		OleClass = 'Shell.Explorer', anchor=195
I have also tried
	ADD OBJECT oWB AS olecontrol WITH ;
		Top = 24, Left = 12, Height = 433, Width = 709, ;
		OleClass = "Shell.Explorer.2", Name = "oWB"
with no luck. The error pops up when i attempt to Show() the form.

Any ideas?
Carsten M. Thode
Next
Reply
Map
View

Click here to load this message in the networking platform