Jump to content
xisto Community
rejected

How To Make A Web Browser Visual Basic 6

Recommended Posts

In response to "Is there a way to be able to switch between using the regular browser and the one you create?"

In vb .net 2005 I know this is possible; maybe for 2003, but I'm not sure.

Add a button to your form, let's call it cmdSwitch

 

Double click the button and visual studio should add some code to your form

It should look similar to this

Private Sub cmdSwitch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSwitch.Click	End Sub

You can open a url in the user's default browser by using the system namespace

system.Diagnostics.Process.Start(fileName as string)

Here's an example, opening google in the user's default browse

system.Diagnostics.Process.Start("http://google.com")

Share this post


Link to post
Share on other sites

Is there a way to be able to switch between using the regular browser and the one you create?

function: system.Diagnostics.Process.Start(fileName as string)

example: system.diagnostics.process.start(WebBrowser1.url.tostring)

Share this post


Link to post
Share on other sites

I just wanted to know a way to store the cookies and other bookmark information in a customized location other than that used by IE.This is because this uses the same configuration as that of IE.Can this be done?-Arun Srinivasan

Share this post


Link to post
Share on other sites

how%20to%20play%20flv%20in%20visual%20basic

How To Make A Web Browser

 

Could anyone help to write the code in vb for playing .flv files?

 

-shrawan

Share this post


Link to post
Share on other sites

how%20to%20play%20flv%20in%20visual%20basic

 

How To Make A Web Browser

Could anyone help to write the code in vb for playing .flv files?

 

-shrawan


lol wtf.. no. this is far from of topic -.-

Share this post


Link to post
Share on other sites

I get an error.

How To Make A Web Browser

 

When I try to make it a Microsoft internet control, it says 'File not found: see:windowssystem32ieframe.Dll1' and I don't know what to do. I've looked in system32, and ieframe.Dll is there. So I dunno :(

 

-Dalez

Share this post


Link to post
Share on other sites

#but you should do this before downloading firefox tarballlsadvertise mozilla firefox for free or money through google adwords //(i always call it badword and nonsense for adsense)then mozilla becomes happyand if you can help firefox by sharing ideas and code on there forumdo itagain then mozilla becomes happy

Share this post


Link to post
Share on other sites

what to do with error box?

How To Make A Web Browser

 

There is a error box that pops out when you click forward or back when you haven't visited any websites at the form load.

 

And the textbox erases what you write like each 5 seconds cuz it changes the textbox.Text to the url of the current loaded webpage.

 

Thx a lot for looking at my questions!if they arent clear Please contact me at my e-mail adress to get more details.Bye have a nice day!!

 

-shoukat

Share this post


Link to post
Share on other sites

Same thing

How To Make A Web Browser

 

Hey Dalez,

 

I've been wokring with VB for about 4 years. Dalez I had that same error, along with another error when I tried to compile to .EXE saying "Cannot execute C2.EXE" the only way I fixed it was to reformat the hardrive.

 

Good luck!

 

-0re0

Share this post


Link to post
Share on other sites

This is a very interesting tutorial! I've thought about trying to learn Visual Basic but kept putting it off. I'll look into VB more now (hopefully).-reply by watson

Share this post


Link to post
Share on other sites

web browser is actually a web client, the idea behind it depends on client server architecture, in which client sends commands to the server and waits for response from the server.In web service HTTP protocol is used, this protocol is easy to study and apply, web browser sends Http request to server which replies with Http response

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.