473,424 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

rendering DOM in MS access shodocvw

A while ago, I've worked with DOM in MS access, but now I've no idea how to navigate, and get particular element's value, on documentcomplete like events. Is there any file you can refer to that has all the basic of DOM to play with web pages in MS Access VBA.

Thanks
Asif Rehman
May 15 '10 #1
1 2476
Jim Doherty
897 Expert 512MB
@Asif Rehman
Are you an Access developer or webpage designer? are you wanting to expose ie: MS HTML object library amongst other? if so then open a module window in access and set a reference (tools..references) to the particular object model and look at them using the object browser (another reference is Microsoft Internet Controls (shodocvw) which expose its object methods.

Below is a functional example (without setting a reference given we are creating an instance of the object) of Access calling to a webpage such as this site, inserting the values for a query search which is returned (within the site) via an internet explorer page.

Call it like this .....GotoBytes("Querydefs")

Expand|Select|Wrap|Line Numbers
  1. Function GoToBytes(strquestion As String)
  2. Dim iex As Object
  3. Dim iexPage As Object
  4. Set iex = CreateObject("internetexplorer.application")
  5. iex.Visible = True
  6. iex.Navigate "http://www.bytes.com"
  7.     While iex.busy
  8.       DoEvents
  9.     Wend
  10. iex.Document.all("query").Value = strquestion
  11. iex.Document.all("gobutton").Click
  12.     While iex.busy
  13.       DoEvents
  14.     Wend
  15. Set iex = Nothing
  16. End Function
May 16 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: David Opstad | last post by:
I have a question about text rendering I'm hoping someone here can answer. Is there a way of doing linguistically correct rendering of Unicode strings in Python? In simple cases like Latin or...
0
by: threecrans | last post by:
If you create a new server control, and override the Render method with the following code: protected override void Render(HtmlTextWriter output) { // <TABLE id="mytable">...
3
by: David Whitney | last post by:
All: I have a control that renders a table. As the table is rendered, each row in the table is constructed by creating a run-time (dynamic) object that is derived from an HtmlTableRow. The row...
1
by: Jeronimo Bertran | last post by:
I have a WebControl that stores information on the StateBag. Within this control I have a bitmap image which is rendered using another aspx page as the URL for the bitmap. I am basically using an...
3
by: Rahul Agarwal | last post by:
Hi In our web page we use a combination of HTML and server side controls and some of them have a custom attribute based on which we need to find and replace the values once the HTML is ready. ...
0
by: Juan R. | last post by:
Since the idea of encoding mathematics using MathML is being very far from popular due to a number of factors -expensive tools, bad accesibility of generated code, unusual verbosity, lack of...
2
by: Giedrius | last post by:
hi, i have an idea to make admin tool on home computer, that would generate html files using some kind of templates and database data and put these generated html files to public web server, witch...
12
by: Boris Borcic | last post by:
Hello, I am trying to use UI Automation to drive an MS Windows app (with pywinauto). I need to scrape the app's window contents and use some form of OCR to get at the texts (pywinauto can't...
1
by: =?Utf-8?B?U2FkYWdvcGFu?= | last post by:
Hi We are evaluating the process of rendering controls using XML and XSLT in ..Net 2.0 Questions 1. Is there an article which describes the pros and cons and how to go about rendering? 2. What...
12
by: gsal | last post by:
What would be the easiest way to go about offering 3D graphics for the purpose of rendering geometry? Suppose engineers (my co-workes) have to design some enclosure, nozzle, bracket, or whatever...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.