Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out-Of-VFP execution of ActiveX of Report Manager
Message
From
12/10/2005 08:53:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01057851
Message ID:
01058286
Views:
13
>Hi
>
>main.prg
>
LOCAL loRM, ltTime
>
>
>SET CLASSLIB TO cReportManager.vcx ADDITIVE
>
>
>loRM = CREATEOBJECT("ccntReportManager")
>
>
>ltTime = SECONDS()
>
>DO WHILE SECONDS() < m.ltTime + 5
>	?? CHR(7)
>ENDDO
>
>
>loRM = .NULL.
>
>
>*QUIT
>
>I get the error "Object Class is invalid for this container"

It isn't my fault:) I said I don't know anything about that OCX. Probably you need a form as a container for it.

loForm = createobject('form')
loForm.AddObject("ccntReportManager")

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform