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:
00823386
Vues:
37
Hi Sergey,

I am trying to run some interface and reports in VFP through VB and thats the reason i need to make the visible true but it flickers.

Thanks

>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
>>
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform