Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Call from VB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00822677
Message ID:
00822896
Vues:
20
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform