Web Browser Causes IPF
Can anyone suggest anything.
Using my development PC, the form with my webbrowser control is super. All works well. All Pages are actually HTML files, not actual pages - it is just a way for users to view their HTML pages before posting.
When I intall to my clean test PC, when I try to use the form it occasionally IPFs. When it doesn't IPF, if I try to navigate to a new file it does. It also IPFs is I try to right click the control.
My test PC is currently running on 98SE. My development PC is running IE6 and have tried the test PC with IE5 and 6.
Any Suggestions?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How Can I Link 2 Browser Contols Or A TreeView And Browser ?
Is there a way to link 2 browser controls so that they funtion sort of like two frames on a webpage ?
For instance, if I were to load a links page into the browser control on the left, so that once the link on that side were clicked, the detailed page would appear on the control on the right ?
Or is there any way I could link a TreeView control to the Browser control, so that the TreeView would act as the links menu, with the output apprearing in the Browser control ?
How Can I Make My Browser The Default Browser?
I made a browser in vb and i want to use it as my default browser. Some links open in new instances of ie and i want them to load an instance of my browser instead. I am working in win98.
I 've already change a key in Registry under the HKEY_CLASSES_ROOThtmlfileshellopencommand and i placed the path of my browser instead of iexplorer but it had no effect.
I will be very glad if you could help me.
VB Browser Control Browser Type
Is there anyway to make a browser emulate a browser other than IE? I would like to use a VB Browser control, but I would like it to pretend as through it was netscape when contacting secure servers...
Assistance is as always appreciated
How Do You Add A Browser Bar To An IE Browser Window Within A Form
Hi All,
I have a form which contains a IE web window to display an htm document...within the htm document which is local to the machine not a actual webpage I have a 'Directions' link which opens up mapquest within the window..works great...but I need a way for the user to go back to the main htm document which came up originally..I though about putting the Browser bar within the window so that the user could go back and or print the page......here is the code that displays the htm document first.
'This targets the path to the proper html doc
strDocumentLocation = ("c:ccisfoodpages" & strDocumentID & ".htm")
'This displays the proper html doc
axWindow.Navigate(strDocumentLocation)
I do not know how to use the ShowBrowserBar to display the bar.......any ideas?
axWindow.ShowBrowserBar()
Thanks in advance
Tom
Drag And Drop From Browser To Browser
Hello, i have a problem with a program i am making for school.
I have two webbrowser (mshtml) controls on a form. The first one is used for browsing, the second on for editing.
The editing works fine
Set doc2 = Me.WebBrowser2.Document
doc2.designMode = "On"
I select text from the first browser and drop it on the second one. this works perfect! ( it is standard)
Now i want to be able to manipulate the selected text before dropping it on the second one.
I want to remove all obsolete code link <font>< border .... etc
Because the webbrowser control or htmldocument don't have OLEDragDrop i don't know how i can make changes on the text before it is dropped?
Does anyone know the answer?
I really need it because the project has to be finished soon.
I included an image of the project. I cannot upload the project because it works with a database on an sql server.
Web Browser Without The Web Browser Control
I was wondering if there was a control similar to what Netscape uses (or not similar at all....I'm just looking for something that's not made by MS.) If anyone knows of another good control, I'd like to see it. I didn't see one at CCRP or PSC, but I mighthave missed something...
Jacob Sheehy
http://www.sheehy.ca
The more I C, the less I see.
Own Web Browser To Default Browser?
Hi!
I have been develope my own web browser with VB6. How I can code some menu where user can choose default web browser if he want but my web browser to default browser?
I hope you understand
Web Browser Without Using The Browser Control
I've been able to successfully make a web browser using the web browser control, but I'd like to be able to make one without having to rely on, what is essentially, internet explorer.
I've managed to find one successful HTML parsing code, which does exactly what it's supposed to, but it takes considerably longer than a normal webpage takes to load.
The next problem is working out where the webpage should be displayed. My first thought was a rich text box, but I was wondering if there is anything else I could use. I'm quite possibly asking too much here, and I'm quite possibly using the wrong programming language to attempt this, but I thought it was worth a shot.
Any ideas?
WMI Browser
The Microsoft Windows Management Instrument (WMI) component offers a wealth of Management Information pertaining to your system.
Information can be accessed through a series of Classes, each of which have Properties and a sub-set of which also have executable Methods. Microsoft provide some examples of using WMI to obtain particular pieces of information from the system, a few can be found here: http://msdn2.microsoft.com/en-us/library/aa394585.aspx
Although written in VB Script it's a simple matter to convert to VB.
The attached Code is a browser type application which can be used to 'explore' implemented WMI classes. The Properties and Methods associated with a class can be displayed and the class actually executed and the results browsed. It could be of some use to those who want to find specific pieces of information (eg How many COMM ports do I have?, what are the IP Addresses assigned to my Network Adapters?, What's my Boot Configuration?)
In addition to being 'useful' the code demonstrates some coding techniques which the novice or less experienced programmer may find educational, including:
(a) Accessing WMI Objects and associated properties
(b) Recursive Routines to navigate through hierarchal structures of Objects and Properties
(c) Building TreeViews based upon the above
(d) A 'template' for accessing WMI Classes (in VB rather than VB Script as per the Microsoft examples).
It also demonstrates the use of Semi-Synchronous WMI calls with a forward only enumerator to improve response and minimise memory requirements.
There's plenty of scope for further development for those of you that wish to.
EDIT: For those of you that are interested in further development or want more information about WMI, PrOpHeT has provided these links:
WMI Code Creator
http://www.microsoft.com/downloads/d...displaylang=en
ScriptoMatic v2
http://www.microsoft.com/downloads/d...displaylang=en
ScriptoMatic v1
https://www.microsoft.com/downloads/...8-212c414a7ab0
History and Overview
http://msdn.microsoft.com/library/de...mioverview.asp
http://en.wikipedia.org/wiki/Windows...nstrumentation
Browser
I added a browser to my program but i can't run it how can i run a browser??
Web Browser
can I make a web browser without using Internet Explorer?
without using Internet Controls?
Web Browser???
i have quite a few web browser controls in my controls list. they all have a .URL property in one place or another, yet none of them will display a web page.i've gotten one to do this once just playing with it, but that was a while and a few reinstalls ago, and i can't do it anymore. when i assign a value such as:
WebBrowser1.LocationURL = "www.yahoo.com"
i get an error or it just flat out ignores it.
it worked once befor with the same method, but that particular control is probably long gone
any ideas???
p.s. thanks in advance for any advice or help
Web Browser Help
Hey im having another problem here
Im using SSTab control for a little web browser im making
and i got like heres an example
Code:
Private Sub Command1_Click()
WebBrowser1.Navigate Combo1.Text
SSTab1.tabcaption(0) = WebBrowser1.Location Nmae
End Sub
what im having problems is - when you go to a link, the tab caption dosent change, unless you refresh the browser, Or click on Command1 Again.
I Tried putting a timer so at an interval of 1000 after clicking command1 it clicks command1 again then disables the timer. This Does. Work, only for the first link. After that, the timer is disabled, if i enable the browser, then its just going to be deleting my text in combo1 every second.
This is my current Timer1 Settings
Code:
Private Sub Combo4_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
WebBrowser4.Navigate Combo4.Text
Combo4.AddItem Combo4.Text
SSTab1.TabCaption(3) = WebBrowser4.LocationName
Timer1.Interval = 1000
End If
End Sub
Code:
Private Sub Command1_Click()
SSTab1.TabCaption(3) = WebBrowser4.LocationName
WebBrowser4.Navigate Combo4.Text
End Sub
and
Code:
Private Sub Timer1_Timer()
Command1_Click
Timer1.Enabled = False
End Sub
What can i do to fix my problem, so it changes the tab caption 1 or 2 seconds after you click on command1 and so it keeps doing it for every link you go to
Web Browser HELP!!
I am Currently making a web browser well me and a freind and we have got the basic interface done we however have 2 problams.
1) when we press the back button and there is no history before then an error message pops up and closes the program
the code i used for this is
Code:
webbrowser1.GoBack
I am sure there is another line i have missed out but neather me or my freind dosent no how to do it. we have been trying for a few hours and hoping someone can help
2) same but with forward.
Code:
webbrowser1.goforward
there is another line just dont no what please help and if you can i will love you for ever more
Web Browser Help
im trying to make a simple web browser from scratch - i used the web control component but im unsure how to make a page appear in it once and url is entered into a combo.
can someone help me out?
thanks loads,
Simon.
Web Browser Err
Hi All
Hope someone can help
have this error
Automation Error
Trying to Revoke a drop Target that has NOT been registered
when i run this code
Globalstr2 = Me.filFile.Path & "" & Me.filFile.List(Globalint1)
WebBrowser1.Navigate2 Globalstr2
Me.WebBrowser1.Visible = True
eQuery = WebBrowser1.QueryStatusWB(OLECMDID_PRINT)
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
works ok in design, but when I compile an executable it gives above error
I have also created a new Install program with the references.
Any help appreciated
Web Browser
I am hoping someone can help
I have made a small program using the Web Browser in VB 6. What I would like the browser to do is to default to a page(like a 404 in html) if it can't find the right page, for instance, if it can't find first.html. The code I need to use it with is:
SSTab1.Tab = 0
WebBrowser1.ZOrder (0)
WebBrowser1.Navigate "c:htmlfirst.html"
Thanks in advance
Web Browser
How can I access the HTML of the page in a browser control?
Thanks in advance!!!
Web Browser Help...
Hi, I made a Browser for the hell of it. I went on Facebook, and it wouldn't let me send any PMs or any Wall Posts. What's wrong?
I'd also Like to know how to make a Loader for the Browser. Just like the IE Loader at the bottom.
(Another) Web Browser Help...
Hi, I want to make a Web Browser with tabs. The problem is when I go to switch to a different tab, it instantly goes back to http://www.google.ca. How do I fix this?
Code:
Private Sub cmdEnd_Click()
Unload Me
End Sub
Private Sub cmdGoBack_Click()
If SSBrowser.Tab = 0 Then
wbrPersonal.GoBack
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.GoBack
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.GoBack
End If
End Sub
Private Sub cmdGoForward_Click()
If SSBrowser.Tab = 0 Then
wbrPersonal.GoForward
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.GoForward
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.GoForward
End If
End Sub
Private Sub cmdRefresh_Click()
If SSBrowser.Tab = 0 Then
wbrPersonal.Refresh
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.Refresh
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.Refresh
End If
End Sub
Private Sub cmdStop_Click()
If SSBrowser.Tab = 0 Then
wbrPersonal.Stop
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.Stop
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.Stop
End If
End Sub
Private Sub Form_Load()
If SSBrowser.Tab = 0 Then
wbrPersonal.Navigate txtAddress
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.Navigate txtAddress
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.Navigate txtAddress
End If
End Sub
Private Sub SSBrowser_Click(PreviousTab As Integer)
If SSBrowser.Tab = 0 Then
wbrPersonal.Navigate txtAddress
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.Navigate txtAddress
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.Navigate txtAddress
End If
End Sub
Private Sub txtAddress_Change()
If KeyAscii = 13 Then
wbrPersonal.Navigate txtAddress
End If
If SSBrowser.Tab = 0 Then
wbrPersonal.Navigate txtAddress
End If
If SSBrowser.Tab = 1 Then
wbrPersonal2.Navigate txtAddress
End If
If SSBrowser.Tab = 2 Then
wbrPersonal3.Navigate txtAddress
End If
End Sub
Help With A Web Browser
Hello. First of all let me say that I am very new to this I'm just kind of learning as I go. Right now I'm working on creating a web browsing application similar to internet explorer but with some custom things to suit my needs/tastes. The main things I'm doing with it is just creating a new look and stuff like that since I thought this would be a fairly easy and fun starter project. I have just been using the default controls like the text box controls and the web browser control. The problem I'm having is that the computer basically thinks I'm still using internet explorer. Links that open in a new window open in internet explorer instead of a new instance of my browser and all of the options set for internet explorer are automatically used for my browser, such as the parental controls, privacy settings and so on and so forth. I want to make my browser into its own program and not just a new internet explorer window which is basically what I have now but I'm really at a loss for how to do this. I'm sure it requires more than just a few lines of code to do what I want to do so I'm not expecting a straight out do this, do that answer but if anyone can at least point me to a tutorial or something that can help me with this I will greatly appreciate it. Thanks.
Web Browser
I have a little calendar app that i wrote in html and .asp. is there any way to view .asp pages in vb without having IIS? If i give my app to somone else will they be able to view the info?
Web Browser Help
Like everyone else dissatisfied with Internet Explorer, I am making a web browser. My problem is that when I click something that opens a new window, it opens a new Internet Explorer window. How can I change that?
Web Browser Help
Im trying to make a basic Web Browser just to start of with Microsoft Internet Control
How would i add on a favorites that saves it self once the program is restarted.
I got on to add the favorites that wasent hard, but how would i add make the favorites list save once i restart the program :
Thnx
Web Browser
Hi, I was wondering can anyone help me with a problem i'm having.
I want to open a URL using a button:
eg:
Code:
Command1_click()
url="http://www.site.com"
Thats an idea of what I want...
Web Browser
I am currently making a simple web browser using the Microsoft Internet Controls. I have created my back button and forward button but if they are clicked and there is no page to go to, an error appears and the program closes.
What I want to do is make the buttons disabled if there is no page to go to.
I hope I have give enough information and you know what I mean, if not don't hesitate but to ask.
Thanks in advance
Web Browser Help
hi im new to visual basic i am trying to make my own web browser. I made it using the web browser tool. but when i debug it and resize the form the contents of the form dont expand. this is shown on the image below
Web Browser
Does anyone know of which component or data method I need to enable in order to get a web compnent working? I need to anble a web browser to work?
Browser
i wanna make a simple browser that lets me log into a site that needs cookies to work anyone have any links to tutorials that could help me?
Tab Browser
How do i make a tab brower in visual basic 2005 exspress, im having diffulculties!
Everything is already up and working, just all i need is tabs for my browser!
Also, does anyone know how i can have the adress appear in the adress bar untop in VBE2005?
Web Browser
I have a very bad problem:
I use this code to navigate my browser (MS Internet Controls) to a page.
This page is stored in a text box as HTML page.
Code:
WebBrowser1.Navigate ("about:blank")
WebBrowser1.Document.Write (Text1.Text)
That's OK.
But when I want to navigate to another page, I can't!
If I repeat this code a blank page will open.
If I just reuse the Document.Write command, the new page will append to the current page!
How to resolve this problem?
Thanks.
Web Browser Help
i have my own web browser and i need help!
1.) the address bar does not store any of the websites i go to
2.) How do i add a favorites menu
3.) Code for adding a progress bar
The webbrowser runs fine and better then I.E. other then those few problems
--THANKS
Web Browser
Theres a component in visual basic called "web browser" that allows you to make a little webclient, but what i made it do is save the source code to a vairable which i have done.
The thing is i dont want to use the component anymore but write it as a API call. Does anyone know how to do this??
MDI Web Browser
I have a problem with a simple webbrowser which sits in a MDI form
there is a combo box on the MDI for which you can type in an address to navigate to, but when the web browser form is opened you cannot use the backspace key in the combo box, even if you click teh box again. What happens instead is the browser goes "back"
Ne one have ne idea what i need to do to fix this?
Web Browser
Right i made a standard browser (back forward refresh) but i want to know how to make a web browser with a loading bar, bring up the history suggestion when your typing in a website, and how to add a home page and where you can customise it, a view source and if its possible how to access your faves and list them.
Thanks
James
Web Browser
I have a problem. I am creating a web browser, and wanted to implement a search box into the main form. However, I can't think of any way in which I could code this. All it would be is a textbox which would then basically search the net... can't explain it any better.
Web Browser ?
Hi,
I'm playing around with web browser control and Geocities upload site. My goal is to make an automatic upload program. But right now I'm only trying to get the basics working.
The login , filemanager and upload click events are working. I use
webbrowser.document.form(0)(number).click to click on a button. and .value to fill in text.
But, to the problem....
When I get to the page where I should fill in files, I can't use this method. And I don't have a qlue how the methods of the elements work.
I have attached a image of the web page and a print with the form and element numbers.
Please, I need some help to move forward with this program.
Code:
Private Sub FileList_Click()
On Error GoTo FileList_Click_Error
With wbrMain.Document
' .Form(0)(2).file = FileList.FileName
.Form(0)(9).Click
' .All("userfile").file = txtPasswd.Text
' .All("op-upload").Click
End With
On Error GoTo 0
Exit Sub
FileList_Click_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure FileList_Click of Form frmMain"
End Sub
Web Browser Again
dose anybosy have a good browser that i can look at so i know what to do
thanks
turtleman14789
Web Browser
i am making a web browser and i have a back button but when it cant go back any more i get a runtime error and it self quits. how can i get around this??
thanks
turtleman14789
Web Browser
Hi friends,
I would want to create a web browser of my own...could anybody help me out with the idea of using a WebBrowser Control or an IEControl...
I would want someone to start me off with the thing as I am shooting in the dark right now!!!
Thanx in advance
Praveen
Web Browser
how do i set the address that a web browser control loads?
Web Browser
I'm making a web browser in VB but I have no idea of how to get a web-page into what-ever I need to put in into....
it is a bit hard to explain.
I hope you understood
if you didn't I shall try to explain it with more details...
Thanks
Help With A Browser
I have a browser in vb very simple one but I need it to do 2 things and I have no clue how.
1. To look at the page and see if a feild is true exp. <input type=submit name="submit" value="submit">
2. If that field is in the page to make it submit with out clicking the submit key.
I hope someone is able to help with this. I know it is a simple code but being so new with limited resorces to find answers I hope someone can help. Thanks in advance.
Web Browser
Please help, im using a Web Browser in my application, but when i look at a directory lets say "C:" and then i double click on a folder icon another window opens with the folders content!!! Is there anyway i can stop this?
Ideally i want the web browser to navigate to the selected folder rather or disable clicking on the web browser altogether!
Any suggestions you can offer would be brilliant, thanks for your time!!!
Web Browser
How do i make a program which has some sort of box in the middle that will display a webpage?
i.e. when i open the program, it automatically loads up a webpage (always the same) inside the form.
Also can i have 2 of these? in the one form?
Web Browser
I am currently writing a web browser for myself and some friends. There are several things that I am having trouble with.
1) I would Like to know if there is any way to integrate any IM programs INTO the browser (ex. Yahoo).
2) I would like to have this browser be able to go through a proxy server (would be user defined, similar to IE, Opera, Netscape, etc.), but I can find NO information on this.
3) I also want to incorporate email accessiblity in the browser. I can't seem to find any reference to that anywhere.
If someone could point me in the right direction I would appreciate it. I am a VB101 student and slowly picking up things. Also, in the books that I have, there is little to no information about the "webBrowser" properties. Is there a good site that explains them and their proper uses? Once again, thank you for any replies.
|