Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB and automation
Message
From
19/06/2002 01:43:17
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VB and automation
Miscellaneous
Thread ID:
00670013
Message ID:
00670013
Views:
53
I made some success in merry VB and VFP and can call VFP form ( as desktop) from VB and pass parameters from VB to VFP form
I failed to provide callback to VB ( to pass any VB objects ) to VFP to provide back calls VB.
Also I failed to make any VB forms, looked like automation for VFP
does not matter what types of the projects I did in VB,
I was not able to make createobject on VFP side to these VB exe or dll
So, any hints on
1 When I do in VB form
Sub Command1_Click ()
Dim xlApp As Object ' Declare variable to hold the reference.
Set xlApp = CreateObject("rem.engine")
xlApp.runform "top"
xlApp.fm.getval "VOVA"

End Sub
Could I pass something form VB , what will be looked at VFP side like vb object for call back or can I put something to my VFP com, that can catch calling VB form
2 is it posible to make VB project, which can be called from VFP like automation
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Reply
Map
View

Click here to load this message in the networking platform