Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM DLL Error
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00193057
Message ID:
00193944
Views:
17
>Thanks for your help Rick, Jim and Tim.
>
>The problem is certainly that the command 'REPORT FORM' inherently has a UI, the popup dialog for starters which counts the no. of pages spooled. It might interest you to know that the same behaviour is encountered when we treat VFP as an OLE server from within VB. Namely,
>
>Dim oVFP as Object
>Set oVFP = CreateObject(VisualFoxpro.Application)
>oVFP.DoCmd("REPORT FORM 'myReport' TO PRINT")
>
>An identical error message is received.

Are you sure? VFP.Application is an OutOfProcess server. What happens
if you set oVFP.visible = .T.?

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform