Hi friends,
I am new to VB.Net. I am using VS 2005. I have to call a website, which has 3 frame, after calling the first main mapge, example : index.html (contains 3 frames), i need to open search.html in the "main" frame. How do i do this.
Please guide me ...
Thanks in advance !
Anuradika

Web Browser with Vb.Net
Manuel5
Hello Anu
The Scenerio goes like this
1) index.html ( This will have 3 frames, One for Left Pane as 'content' , One for Header as 'Head' and last for displaying all important stuff that is 'main' )
2) See, your code will go like this
webcontrol.Navigate("http://localhost/index.html")
Now I assume that the 'left' frame will have a link to edit.asp
So in the Anchor <A> tag you have to mention
like this
< A href='edit.asp ID=1' target='main'> Edit Page </A>
No any extra work you have to do.
Dont access the edit page like this , this will not navigate to main frame.
//webcontrol.Navigate("http://edit.asp ID=1" , "main")
Rgds
Sidheshwar
JIM.H.
hm..even using the example code, it still not showing the pahe.html in the "main" frame, instead its showing as a new window...but the spelled it correctly...
any idea on what i shall do..
Alexey Rokhin
Arpit Arora
Hi,
Now, Lets try without using VB.NET Browser Contyrol, dont even think of .NET for a while.
Try to execute the (html/htm/asp) pages into Internet Explorer/Netscape/FireFox.
If your pages executes successfully here , then I think there would be no problem in executing the same thing in VB.net using Browser Controls
Sidheshwar.
LoveMeSomeCode
I have found the solution :-
Dim
webcontrol As New WebBrowserSystem.Diagnostics.Process.Start(
http://localhost.html)webcontrol.Navigate(
http://localhost/scripter/scripter_edit.asp, "main")Thank u so much for helping out
comfixit
http://www.c-sharpcorner.com/UploadFile/mahesh/WebBrowserInCSMDB12022005001524AM/WebBrowserInCSMDB.aspx
Rgds
Sidheshwar
builtsoftware
The Code will not create any problems , if u have used Web Browser Control (I hope So)
It will automatically take care of everything.
Rgds
Sidheshwar
AnthonyUK
Hi there,
Thanks alot for the reply, will try that out.
I did try this, but it doesnt work at all :-
Dim webcontrol As New WebBrowserwebcontrol.Navigate("http://index1.html")
webcontrol.Navigate("http://edit.asp ID=1" , "main")
sxzhan
Thanks a lot for the reply...but since im using VB.net..how to use ahref ..
im confused here