I would like to know why this happens, and if there is a VBA solution I can use to ameliorate this. Using the toolbox, add a WebBrowser control, an OpenFileDialog control, and a CommandButton control to Form1. Note In Visual Studio 2005, you do not have to do step 2. The WebBrowser control appears with the text Explorer in the toolbox. Additionally, I am unable to see the webbrowser-control, or the static google map within it, when I export the report object as a pdf. Click OK to add the WebBrowser control to the Windows Forms toolbox. However, this is not the case in the 'Print Preview' view of the 'rpt_Locations'. If you clicked on the picture links above, you could see that the webbrowser-control, and its contents, are visible in the 'Form' view for 'frm_Locations', and 'Report' view for 'rpt_Locations'. Notably, this is the form that contains the webbrowser-control object (where a static google maps is generated from the data in "tbl_Locations").ģ) a report - called "rpt_Locations" (where I have embedded the 'frm_Locations' object) I am using the WebBrowser control (Explorer.Shell.2) from within a VBA application, embedded on an MS Access form to display the contents of a local folder. A numeric expression thats a valid page number in the active form or datasheet. This argument is required if you specify acPages for the PrintRange argument. The table is as follows: LocationID | Location_Name | Address | Zip |Ģ) a form - called "frm_Locations"(the control source of this form is 'tbl_Locations'). A numeric expression thats a valid page number in the active form or datasheet. To make the contents (in this example, a static google map using the api) of my web-browser control visible when my MS Access 2010 report is in print preview and when I export it as a pdf.įor my working example, I have the following three objects in my Access 2010 database:ġ) a table - called "tbl_Locations" (which contains location data on three sites) well as folders on the left sidebar, messages list in the center, and mail view on the. I have been unsuccessful in my attempts to do the following: Change the default web browser or email app on your iPhone, iPad. Un-answered duplicate here: MsAccess Webbrowser Control on a Report not working
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |