Hi Ted
Spot on thank you.
Took a bit of working out as to what all the constants were for thanks to the
Object Browse but now working fine
With ThisForm.oleControl1
Do Case
Case Thisform.nReturn = 3 && Largest
.ExecWB(19,2,4,.Null.)
Case Thisform.nReturn = 4 && Larger
.ExecWB(19,2,3,.Null.)
Case Thisform.nReturn = 5 && Medium
.ExecWB(19,2,2,.Null.)
Case Thisform.nReturn = 6 && Smaller
.ExecWB(19,2,1,.Null.)
Case Thisform.nReturn = 7 && Smallest
.ExecWB(19,2,0,.Null.)
Endcase
EndWith
Thanks for the comments from Steve and Malcolm but for some reason that doesn't
work I had already tried that, it's how I use IE.
Cheers
Peter
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Ted Roche
Sent: 15 September 2010 14:46
To: [email protected]
Subject: Re: Microsoft Web Browser Control.
On Wed, Sep 15, 2010 at 7:46 AM, Peter Hart <[email protected]>
wrote:
> I am trying to use the Microsoft Web Browser Control to display my
> help files.
>
> I have created a form and it display my help files OK. My problem is
> that the Health & Safety police are insisting that I allow the user to
> increase the font size displayed.
I knew a little bit about HTML Help and CHM files back in the last century,
though I expect MS has obsoleted most of what I used to do, trying to bolt
security features on top of IE.
You might want to try this:
http://lmgtfy.com/?q=microsoft+webbrowser+control+font+size
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af100...@server.peterhartcomputers.local
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.