473,508 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Viewing web pages in a form

Can i use A97 to act like a browser?

I want to allow users to access certain internet sites without having to
change from my Access DB to internet explorer

thanks

Dave
Nov 12 '05 #1
1 1221
Yes, follow the instructions below

1) Place a Microsoft WebBrowser contol on your form
2) Size the control to the desired size
(this can only be achieved by dragging on the sizing handles - the
property page does not work)
3) Cut the control to the clipboard
4) Paste the control back onto the form from the clipboard
5) Position the control

If you need to resize the control follow the instructions from 2 above.

To use the control the easiest way is to get a handle to the Webbrowser
object, in code you could do something like

' *************************************
Dim w1 As SHDocVw.WebBrowser
If TypeOf Me.ActiveXCtl2.Object Is SHDocVw.WebBrowser Then
Set w1 = Me.ActiveXCtl2.Object

w1.Navigate2 "www.microsoft.com"
Set w1 = Nothing
End If

' *************************************

Where ActiveXCtl2 is the name of the control obkject on your form.
--
Terry Kreft
MVP Microsoft Access
"Dave" <e@mail.co.uk> wrote in message
news:c7**********@titan.btinternet.com...
Can i use A97 to act like a browser?

I want to allow users to access certain internet sites without having to
change from my Access DB to internet explorer

thanks

Dave

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3651
by: NotGiven | last post by:
I have a web page where certain pages have to be opened in a certain order and should only be available when the user openes them in HTTPS. They are all forms and the form action sends you to the...
1
1785
by: Jas | last post by:
Hi All I am not an ASP expert but do some coding in ASP. I am lookng to learn how to code a form/page which can be used to view, create or edit/update a record. I have simple 3 field table...
2
4570
by: Wolfgang | last post by:
Hi, I need to timestamp printed records with the printing date. According to the customer's requests the report must be opened in preview-mode and the user clicks on the printer button if he...
10
5281
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
1
1138
by: Jck | last post by:
Could someone let me know how to get the current top row in a datagrid that is viewing by the user please? I got a datagrid connected with a datatable with 5000 records. I can use the...
0
1079
by: jai80 | last post by:
hi frenz, I have developed ASP pages with VB Script and for client side validation purpose i have used JavaScript. I have uploaded my pages and when working on the pages using IE6, its working...
0
959
by: snt | last post by:
Hi, I have many pages with datagrid. But, when I am viewing a few pages in design mode, the IDE starts expanding the datagrid by itself and hangs subsequently. Can anyone help me with this? ...
3
1974
by: Tom | last post by:
I have a PHP 4.4.7, MySql 5.0 and I.E. 7. My PHP queries the database and renders the info into html forms. Submitting the forms manipulates the data. Now, the problem is that the browsers are...
0
1410
by: Deceneu | last post by:
Hi everyone, this is my first post so please bear with me. I have the following situation: i have a local report that needs to have two "versions": one for viewing in the report viewer (with all...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7494
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
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
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...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.