Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am looking for the code to make a built in web browser for my program.

 

It needs to have an address bar, go button, back and forward buttons.

 

Also if the code requires any tools from the toolbox such as a textbox etc.. please post them.

 

Thanks in advance.

  • *Experts*
Posted
If you want to make your own browser from scratch then you are in for some time of coding :). Instead you could use the Browser component that works with IE. Go to your toolbox, click on Add/Remove components, go to COM Components and look for Microsoft WebBrowser control. Then with that, you can easily implement your own Next, Back, etc. buttons using the methods the control provides.
Posted

Yeah.. i let it sit for like 30 sec. and it never loaded, so i clicked the Browser window and it loaded right away. :S

 

I had to change 'browserobject' to 'AxWebBrowser1', did that matter?

Posted

Ok, i found out the problem.. but im not sure how to fix it.

 

Here is what happens, I am using Tab Control, and if I use the browser in one of the tabs, you have to click the browser window for the site to load in it. But if the browser is on a form and not in the tab section, it will load without having to be clicked.

 

So can anyone help me with this? For some reason it waits for a click when its in a tab before it will load :S

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...