473,326 Members | 2,255 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,326 software developers and data experts.

How do I launch Internet Explorer

Hi

I need to get access to refresh a page of internet explorer.

Call Shell("C:\Program Files\Internet Explorer\Iexplore.exe
http://www.google.co.uk", 1)

This works, but it creates a new instance of iexplore everytime.
So instead of launching lots of iexplore windows, does anyone know
enough about vba to suss how to make iexplore refresh a page.

Cheers
Phil.

Nov 13 '05 #1
1 9602
go**********@budget-edi.co.uk wrote:
Hi

I need to get access to refresh a page of internet explorer.

Call Shell("C:\Program Files\Internet Explorer\Iexplore.exe
http://www.google.co.uk", 1)

This works, but it creates a new instance of iexplore everytime.
So instead of launching lots of iexplore windows, does anyone know
enough about vba to suss how to make iexplore refresh a page.

Cheers
Phil.


Well, you need to get the IE object. Do this by making a reference to
the "Microsoft Internet Controls" library (shdocvw.dll). then...

Dim ie as InternetExplorer
set ie = GetObject(, "InternetExplorer") 'gets a running IE instance...

....

Look for code on that, because then you want to get the current page,
and then you should be able to refresh it.

Nov 13 '05 #2

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

Similar topics

10
by: scott | last post by:
From an asp page, i'm trying to auto-open a pop-up page if something exists. I can do this within access via vba using below code. Anyone know how I could modify the below js to auto-lauch from...
8
by: Dutchy | last post by:
Dear reader, In an attempt to obtain the path to the quick-launch-folder in order to create a shortcut to my application-updates during installation , I thought to: 1- check if quick launch...
7
by: Steve | last post by:
I used System.Diagnostics.Process.Start(str) to launch application. str is based on the registry setting, in registry, it might be str = rundll32.exe...
3
by: Martin Dew | last post by:
hi, I want to interogate the Quick Launch folder, looking at each icon and getting the image, and target that it fires when clicked. I can get to the folder and create a filelist of the icons, but...
3
by: felecha | last post by:
I want my VB.Net application to have a button that the user will click to open a browser window, and call the webpage I designate in code. The system is a closed network, no Internet access, but...
1
by: Ad | last post by:
It it possible to launch a windows form from within internet explorer? I need to keep this form on top of anything else, for which i can use the TopMost property of the form to achieve. Thanks
4
by: Faez | last post by:
Dear sir/madam, As part of my project, I need to send queries from my website to Google search engine. The query needs to be send directly to the URL. Thus, need to launch internet explore from...
5
by: garyusenet | last post by:
I have been trying for some time now to launch Internet Explorer from my code. I have read the MSDN notes on this way of starting processes and used their example but couldn't get it to work. I...
4
by: nagar | last post by:
I'm trying to launch a webservice in Debug from visual studio .net 2003. When I do that I get an error: "Cannot start debugging on the webserver". This happens on old and new projects, both using...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.