>Hi, Bob
>
>Yes, olecontrol1 is Webbrowser control !
>
>And I can't find topic. (Keyword = HTML, WEB, WEBBROWSER, HTML+PRINT)
>
>Please give me full code...
>
>ASAP
I found my test form... I have the following code in the click method of a button on the form that says print...
this.Enabled = .f.
Do While ThisForm.OleControl1.Busy
DoEvents()
enddo
ThisForm.Olecontrol1.ExecWB( 6, 0 )
this.Enabled = .t.
As you can see... my memory transposed ExecWB to WBExec that I gave you. Hope this helps.
BOb