473,473 Members | 1,533 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can I navigate the IExplorer....

Hi evreyBody:

I set the text of internet explorer to www.yahoo.com by using sendmessage
function and here what I did:

SendMessage(hWnd, WM_SETTEXT, 0, "http://www.yahoo.com/")

but i found that the Inerenet explorer did not navigate to the url that i
set, some body told me to use shellexcute function:

sFullPathToFile = "http://www.yahoo.com/"
Call ShellExecute(0, "Open", sFullPathToFile, lol, mom, SW_SHOWDEFAULT)

but alos It did not work with me I don't know why, also some body told me to
use the following messages:

SendMessage(hWnd, EM_SETSEL, 0, lol)
SendMessage(hWnd, WM_PASTE, 0, "http://www.yahoo.com/")

where the first message get the text and the second one replace it by
www.yahoo.com,
also this one did not work with me,

so any one can told me how can I let the internet explorer start naviget to
the url that I set?

Any help will be appreciated

regard's

Husam
Nov 21 '05 #1
2 1229
Husam,

It is not needed to tell what others told, is this what you want to achieve?

///Open default browser and go to Yahoo
Dim p As New Process
Dim pi As New ProcessStartInfo
pi.FileName = "http://www.yahoo.com"
p.StartInfo = pi
p.Start()
///
This can be written much shorter however now you see the most used classes
for this in one time.

I hope this helps,

Cor
Nov 21 '05 #2
"Husam" <Hu***@discussions.microsoft.com> schrieb:
[Nothing new]


Please don't repost the same question every day...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #3

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

Similar topics

0
by: George Gre | last post by:
Hi, I would like to set some of the Iexplorer settings programmaticaly. Settings we find in Tools->internet options. If you have some samples pointers to documents etc on how to do it please let...
3
by: The Pritchard | last post by:
I want the user to be able to save the information displayed on a dynamically created page. When I write a script like the following: <SCRIPT> winNew = window.open("","test");...
0
by: katheo via AccessMonster.com | last post by:
Hello, I am using a data access page on a local secure server. As the user changes information, the data updates automatically in the database. But when the user goes to close the page, they get a...
2
by: craigkenisston | last post by:
IExplorer cookies stubbornness. Hi, I'm testing how my asp.net application reacts with a browser that does not accept cookies. Tested it with Opera and Mozilla with cookies off, I can clearly...
0
by: Husam | last post by:
Hi EveryBody: I got this decleration from msdn documntation which is: object.Navigate( _ url As String, _ _ _ _ )
5
by: Steve JORDI | last post by:
Hi, I have a strange behavior when using IExplorer over FireFox. There is an html form that asks for the name of a city and has a dedicated field for that with a submit button next to it. In...
5
by: Steve JORDI | last post by:
Just a question using images as submit buttons and PHP4.4.4. It seems that my code correctly works in FireFox but not in IExplorer. For example, I have a FORM with 2 buttons called "search" and...
9
by: phpmagesh | last post by:
Hi to all, While shutting down my system i ma getting not responding message because of IEXPLORER.EXE. when i press shutdown button, after a long time it asking me again to endtask the...
1
by: shashi shekhar singh | last post by:
Respected Sir, I am currently facing a problem in disabling the back Button of IExplorer. Actually I have taken two UpdatePanel on the page(Page A). At first when Page(Page A ) loads then Update...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
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...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.