If you use press space bar when you use this method, VB will show you a list of constants which you can use. They're pretty self explanatory. For example if you want to print from the WebBrowser control, you would use:

WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER

The second parameter as you can see tells WebBrowser if the user should get the Print Dialog Box.

For the rest of the things of ExecWB mentod, you can search the MSDN library.

Regards,

------------------

Serge

Software Developer
[email protected]
[email protected]
ICQ#: 51055819