Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Call from VB
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00822677
Message ID:
00822896
Views:
18
I'm not sure why do you need SCREEN=OFF if VFP automation server starts invisible anyway. Can you provide more detailas about what are you trying to do? Keep in mind that you'll have to have licensed copy of VFP for each computer that uses VFP as an automation server.


>Dear friends,

>
>Following is the piece of code in VB running succesfully, the only problem I face is the flicker of the screen while activating VFP application.
>
>SCREEN=OFF don't work.
>
>Any ideas ?
>
>
>
>Dim MyVFp As New VisualFoxpro.FoxApplication
>
>Private Sub srs_Click()
>MyVFp.DoCmd ("_screen.visible=.F.")
>MyVFp.Visible = True
>MyVFp.Top = 0
>MyVFp.Left = 0
>MyVFp.Caption = "VB Called VFP"
>MyVFp.DoCmd ("Set default to d:\try\")
>MyVFp.DoCmd ("Do main")
>MyVFp.Visible = False
>MyVFp.Quit
>Set MyVFp = Nothing
>End Sub
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform