>Hi > >Does anyone know how I can translate this VB code to VFP8? It is supposed to modify the text size displayed on an HTML document rendered by the Webbrowser control. > >
Dim Z As Variant 'Z is the value to hold the zoom level.
>WebBrowser1.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Null, Z
> >In particular, to what do I change the constants like OLECMDID_ZOOM so that VFP know what to pass to the ExecWB function? > >TIA > >