Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling OCX Control

Status
Not open for further replies.

AMakovoz

MIS
Jun 20, 2000
19
US
I am trying to program MapMarker OCX but whenever a call is made to one of its methods I am getting "Type mismath" error. The parameters types are: Long, Text and integer. The OCX works fine with Visual Basic calls. Why can't I use VFP variables? I don't expect you tried this control but maybe you have some similar experience with others? Thanks
 
<font color=blue>The parameters types are: Long, Text and integer</font><br><br>What types are you passing it? <p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br>
 
Hi, Robert. Thats the types I am trying to pass to. A sample code in VB looks like that: <br>objMM.GeocodeAddress(lngEngHandle,txtFirm,txtStreet,status,numCandiates).<br>Thanks for attention.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top