tags:

views:

30

answers:

2

How do i open a webpage in vb6.... inside the window frame ??

(i hope the question is clear and it is program related...sad my 1st 2 posts were closed so soon)

Thanks in advance -subanki

A: 

Just drop in a web browser component and then use it's Navigate method.

Christian Sciberras
thanks for replying Mr. Christian Sciberras, how do i put a web browser component in my frame (do i need to answer this in a another post.) can u porvide a simple code ..so that i can undertsand clearly. just started learning 3 days ago . so sorry for asking silly questions.
subanki
A: 

Take a look at MSDN article. Steps

  1. Start Visual Basic and create a new Standard project.
  2. From the Project menu, select Components to open the Components dialog box. In the Components dialog box, add references to the Microsoft Internet Controls. Click OK to add the items to the toolbox.
  3. Add an instance of the WebBrowser control, CommonDialog control, and a CommandButton to Form1.
adatapost
oh like u dude , u r the first person who gave me complete and gud answer, thanks * 9999
subanki
oh can u also show me the navigate method ??
subanki
ok as u said in the component window, in the controls tab, i selected Microsoft Common Dialog Control 6.0 (sp3) and Microsoft Internet Controls. and i unchecked selected items only. but i am getting the error "File not found 'C:\Windows\sytem32\ieframe.dll\1'".... is thsi prob due to my vb6 or sp3 or i did something wrong.
subanki
friend i am still getting this error "File not found 'C:\Windows\sytem32\ieframe.dll\1'"
subanki
Please read this thread - http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab
adatapost
A big thanks for taking the effort to find this ....<b>THANKS</b>
subanki
wat should i do next to open the C:/file1.html
subanki