Microsoft Web Browser - Can you resize this in a form?

K

kennyharrill

We are trying to develop a form in an Access database that will display an
image pulled from our website. We are seeing the correct images, but can the
web browser ActiveX Data Control be resized to match the actual size of our
image? (240 x 240 pixels). Any help anyone can give will be appreciated.

Ken
 
S

Sprinks

Kenny.

See Help on the PictureSizeMode property. There are 3 settings:

Clip Picture is displayed actual size. If it's larger than the form,
it's clipped.
Stretch Stretched to fill the form, distorting aspect ratio if necessary.
Zoom Enlarged to maximum extent while keeping original aspect ratio.

Hope that helps.
Sprinks
 
K

kennyharrill

Thanks. Now we're having a time trying to get the image to print when we
print our report. I have checked over all of these properties and cannot
come up with a thing. Any pointers? Thanks again.
 
S

Sprinks

Kenny,

Did you insert the image in the report definition or just the form? Does
the image appear when you preview the report? How are you attempting to
print the report; from a command button on your form? If so, please post the
OnClick event procedure.

Sprinks
 
S

Stephen Lebans

THe contents of the MS Web Browser control cannot be printed from within
a Form or Report. THe control does support a Print method but it will
render its contents to a page by itself and not as part of a form or
report.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
K

kennyharrill

Thanks, Stephen. We are able to see our image printed in a data access page.
I've run this through management team here - as long as we can see the image
in view in the form (which we can), we won't need to print it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top