Browser Crashes When All Tabs Are Closed?
Jun 20, 2012At the moment I am making a web browser, and I have a problem in which if all of the tabs are closed, the web browser crashes.
View 4 RepliesAt the moment I am making a web browser, and I have a problem in which if all of the tabs are closed, the web browser crashes.
View 4 Repliesi am using IE7Clone from
[URL]
I also commented
Enum oCommands As Long
Options
Find = 1
[Code]....
I am trying to create a locked down browser for the employees at my work to use at a kiosk. I need to prevent the user from getting out of the app. I have figured out how to prevent them from closing it by pressing alt-f4 or ctrl-f4 but I would like to also prevent alt-esc, ctrl-esc, alt-tab, and the windows key. I am new to windows application development but have experience in web vb.net. I am using VB.NET 2010 express.
View 1 RepliesI'm making a web browser that has tabs. I know how to add them and add a web browser control but I don't know how to change of the text of the tab to the web browser'snside each tab page. My code is:
Dim NewTab As New TabPage("TabPage" & Form1.TabControl1.TabPages.Count)
Form1.TabControl1.TabPages.Insert(Form1.TabControl1.TabPages.Count - 1, NewTab)
Form1.TabControl1.SelectedTab = NewTab
[code]......
I have been reading up and trying to understand the difference viewstate and session and as i am only storing a database id i believe i have settled on Viewstate.
Am i right in saying that a viewstate never expires until the browser is closed? One of the issues i have with Sessions is that sometimes the people completling my websites forms can take and age to do so and the session can expire.
here is a code i made for a tabbed web browser but i have a probem i want the tabs to write the name of the site that you visit?
Public Class Form1
Dim i As Integer = 1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim browse As New WebBrowser
[code]....
I am trying to create a Web Browser with tabs. Here is my code so far:
Public Class Form1
Private Sub NewTabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewTabToolStripMenuItem.Click
[Code]...
I am trying to create a browser in visual basic 2008 and have the following problems
1. how can i create tabs in the web browser
2. when i open the link from my browser by "open in a new window" internet explorar pops up.I want my web browser window to pop up
Try
For Each wb As WebBrowser In TabControl1.Controls
wb.Refresh()
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
I'am trying to create browser, and I need help with tabs...
[Code]...
I'm trying to create a simple web browser that supports tabbed browsing. (That is, using to tabs to open multiple windows without launching the program multiple times.) I have everything except the actual tab part complete.
I need to know how to add a tab and assign a web browser to it. I can get it to add the tab but assigning the browser as a child is beyond my knowledge. If at all possible a full example of a tabbed browser would be most effective for not only completing the task but also for me to learn how to do it.
I am using a TabControl and a WebBrowser for controls and both seem to work correctly. Other than that there are just the basic browser controls. I am using Microsft Visual Basic Express Edition on a Windows XP Pro Edition computer.[code]...
I was wondering I am making a browser that supports tabs and you can add new tabs. I got that part down just fine and easy but I want to know how can I add the tab and create a new browser within that new tab created? Here is the code I use to add a new tab as it
Dim myTabPage As New TabPage()
myTabPage.Text = "TabPage" & (TabControl1.TabPages.Count + 1)
TabControl1.TabPages.Add(myTabP the form??
[code].....
i am trying to making a browser, but i am having a problem saving my tabs when i close the program and load them when i star the application again what i would like to know is how i do this,
View 2 RepliesI want to call a function in asp.net with vb.net when browser is closed. But I want only browser close, not tag close and other.
View 1 RepliesI am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would do.
View 2 RepliesIm building an application with a multi tabbed UI. On the form, i have a textbox above, a tabstrip below the textbox and a button for creating new tabs.
View 4 RepliesWhat I have is a WebBrowser (named mainBrowser) on my form already. I made the mistake of coding things to it (such as forward, back, home, etc buttons). I am coming to gather that you create your own web browser within the TabControl1 tab control. Am I missing something here? Is there a simple way to just using my WebBrowser1 that's already on my form and incorporate that into the tabs?
I know it may seem like I didn't do my homework and just came straight here for advice, but I've literally been searching Google, forums, Yahoo!, and others for the past 3 hours. I came up with the same general idea of creating a WebBrowser inside of the TabControl. Is that the only way to do this?
I wanna know How to Create Tabs in Web Browser To all Different Sites At The Same Time.
View 39 RepliesI am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would do.
View 5 Replieshow to use a listbox as favs for a web browser.[code]how to make tabs - currently no code
View 6 RepliesI was wondering if there was a solution to replacing the tab control's tabs with custom tabs made in Photoshop. I know there are plenty of super expensive programs that can do it, but I was wondering if there was a way to do it programmatically. I was thinking that maybe it could linked in some way with a .DLL?
View 1 RepliesMy code is basically a file parser/editor and it handles most files fine as they hold a handful of records concerning family members. However there are a few files that crash when trying to deal with them. Here is the problem.Each family member record creates 3 tabs that hold an average of 3 group boxes each. Each group box holds an average of 3 text boxes.So each member record creates 3x3x3 = 27 text boxes and some files get up to 289 family members which = 7803 text boxes.
The problem is the rare file with 400+ member records = 10,800 text boxes which causes a crash due to using up all the window handles. Each member has a separate tab page (with 3 subpages) but really only a dozen or so member pages are visible in the GUI with scroll arrows to move through them so I was thinking of somehow making the GUI a scrollable window so the tabs get built, displayed and disposed as the user scrolls left and right through the member tabs.
The files are parsed into a 3d list DataList(x,y,z) where x is the page number, y is the group box number and z is the text box number. So all the data is available. The code then traverses MyList and builds GuiList(x,y) where x is the page number and y is the groupbox number with all the textbox.text linked to MyList(x,y,z) locations so all text changes are reflected in the MyList.
I already have a memberCount variable and I am thinking of building, say, the first 30 member tabs with the middle 10 being visible in the GUI. If the selected tab > 20, then dispose of the first 10 tabs and create tabs 30-40.I am thinking I will keep all the member tab pages so I don't have to deal with inserts and indexing problems but just dispose all the group boxes and text boxes for tab pages out of view. I already have a deep clone sub that clones members when the user wants to add a new family member and I am thinking I will have to add something similar when a tabpage is passed in for disposal, it traverses and disposes each text box, then disposes the group box for each group box on the tab page.Additionally, another routine will rebuild the group boxes from the data held in MyList(x,y,z) when a tabpage(x) is passed in.
for example i have this code :
Sub Month()
Dim Conn As New Data.OracleClient.OracleConnection
Conn.Open()
Try
Dim Cmd As New Data.OracleClient.OracleCommand
With Cmd
[Code]...
What will happen to the datareader when the Connection is closed ( Conn.close)
Will the Cursor that is used by the datareader be freed ? or will it stay open ?
If the cursor that is used by the datareader is still open , when will it be automatically closed ? or should i just closed it manually ?
Will it cause the dreaded "ORA-01000: maximum open cursors exceeded" ?
Im using VB2005 express and the app im creating uses the web browser control.Basically I want to know if its possible to make the web browser control connect through a different ip address and port from your default web browser.
View 7 RepliesI am creating a webbrowser with Visual Basic, and I have finished everything but this: When I click on an external link, (I.E. On a photo, or on youtube) it opens up in a new IE window. I want it to open in my browser, not Internet Explorer.I have read everything I have found on this subject, but it is all for normal web browsers. I want to do this for a tabbed web browser, not one without tabs. Basicly, I want to use this code with my tabbed web browser that uses tab control.
Private Sub WebBrowser1_NewWindow(ByVal sender
As Object,
ByVal e As System.ComponentModel.CancelEventArgs)
Handles WebBrowser1.NewWindow
[code]....
convert the code to be used in a browser with tabcontrol? I tried, and it works with one that DOESN'T use it, but I want to use it with my browser with tabcontrol. And, I have read ALL of the ones previously given to other people.
I've just finished making a web browser suited for my personal use, but when I click on a new link or something it opens a new window in Internet Explorer - which gets extremely anoying.. Is there a way to make all links open up in a custom browser?
View 19 RepliesI've had an app running without problem for a few months now. When the app crashed it would pop up a message where I could look at the error message to determine why it crashed. After a recent Windows 2003 update, when the app crashes it no longer pops up the message, writes to any log or appears in the event viewer so I have no idea now why it's crashing. Is there a way to determine what is going on that would help me see why my app is crashing?
View 3 RepliesI'm using VB6 SP6 and every time I close the editor it crashes.The application fails whenever it is closed, regardless of whether a project is loaded or not.
[Code]...
Okay sorry to post another simple question but I was browsing through the web trying to learn how to stop a javascript error dialog from appearing on my program and I came across this code on the MSDN website. Me being the idiot, posted the code straight into my code which did not work.
[Code]...
I coded a web browser over the course of a year called Nova - very advanced with tabbed browsing, bookmarks, homepage, history, etc etc etc etc. I could go on all day about how advanced it is. But.. there is one flaw. You cannot make it the default browser; I don't know the code!I already know the CommandLineArgs stuff so it actually opens the HTML file rather than just opening the program; in fact, I already can make files open with Nova completely. It's just the other stuff - you know, when a website is to be opened from a help file or something, it opens with Nova, Windows recognises it as the default browser, stuff like that.
View 3 Replies