By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,699 Members | 1,453 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,699 IT Pros & Developers. It's quick & easy.

How can I navigate the IExplorer....

P: n/a
Hi evreyBody:

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

SendMessage(hWnd, WM_SETTEXT, 0, "")

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 = ""
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, "")

where the first message get the text and the second one replace it by,
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


Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a

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 = ""
p.StartInfo = pi
This can be written much shorter however now you see the most used classes
for this in one time.

I hope this helps,

Nov 21 '05 #2

P: n/a
"Husam" <Hu***> schrieb:
[Nothing new]

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

M S Herfried K. Wagner
M V P <URL:>
V B <URL:>
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.