>>I have limited Visual Basic knowledge. How would this code look in Visusal FoxPro? This code is to display the status of a fax control I have on a form and shows the status of the fax control during the sending of a fax.
>
>Here is the VB code:
>
>*** ActiveX Control Event ***
>LPARAMETERS pstatobj
>Private Sub FaxManJr1_Status(ByVal pStatObj As FaxmanJrCtl.IfaxStatusObj)
>THISFORM.cStatus.Value = pStatObj.CurrentStatusDesc
>
>Thanks for the help. I will keep working on my own translation, but you might be able to save me some time.
>
>Steve;
>
>Could you post the original VB code? It appears much is missing and the last line would address Visual FoxPro and not Visual Basic.
>
>Tom
Yes, the last line suggests, that the code was already modified. VB doesn't have thisform, as I recall.
If it's not broken, fix it until it is.
My Blog