Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




How To Get URL Of FireFox, Opera, NS Browser?


Hi, help me!

I was try FindWindow with class name is: "MozillaWindowClass". But it error?

Who know get URL of that browser?

Thanks!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Opera Browser - GetClassName!
I am trying to get the ClassName of the Opera browser and then read the url from the address bar but I can't seem to get the name of the address bar. What is it? I am using Spy++ and no luck. Other browsers' address bars are typically called "Edit" but not in Opera.


Code:
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long

Opera Browser - GetClassName!
I am trying to get the ClassName of the Opera browser and then read the url from the address bar but I can't seem to get the name of the address bar. What is it? I am using Spy++ and no luck. Other browsers' address bars are typically called "Edit" but not in Opera.


Code:
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long

Firefox Like Browser
Hello, I posted a thread earlier about a email app in vb6.0. I was wonder if it was also possible to create a web browser like Firefox in Visual Baisc 6.0. I dont want to use the one already in vb6.0.

If its possible could someone let me know and could you let me know where i can get some ideas and code from. Oh, just on more thing, can you build on Firefox in vb6.0 and if you can where is the material.

Thanks
Steve

Firefox Browser
Is there a way to open a Firefox browser in VB? I'm looking for something that's similar to the WebBrowser object, but will run Firefox, so that it has all my plugins and things. Thanks.

Web Browser Using Firefox Web Support?
Hello,

Is there any way to create a VB6 web browser application that uses Firefox's great handling of javascript, code, etc.. rather than IE6's values? If so, could a person who does not have firefox installed be able to use this?

Thanks!

How Do I Use Firefox As The Internal Browser For VB?
How do I use Firefox as the internal browser for VB, instead of the default IE?

So that Firefox renders WebBrowser controls instead of IE?

Thanks!

Firefox Browser Control ??
Is there a firefox browser control for VB? Like something similar to the "Browser" control.

Can't Grab Html Source In Firefox Like In IE Browser?
Hi, anyone know how to grab the html source out of Firefox browser like what we could do in IE browser? Searched all over but none so far. I am not sure if its possible. Can anyone clarity on this one ? thanks in advance.

Retrieve Selected Text From Mozilla Firefox Browser
Hi guys,

I'm trying to retrieve selected text from Mozilla Firefox browser (MozillaWindowClass class name). I can get the selected text from Internet Explorer only.

Below are the codes that retrieve selected text from Internet Explorer browser. I really appreciate if somebody can help me on this. Thanks in advance.


Code:

Private Type UUID
Data1 As Long
Data2 As Integer
Data3 As Integer
Data4(0 To 7) As Byte
End Type

Private Const SMTO_ABORTIFHUNG = &H2
Private Declare Function ObjectFromLresult Lib "oleacc" (ByVal lResult As Long, riid As UUID, ByVal wParam As Long, ppvObject As Any) As Long
Private Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As String) As Long
Private Declare Function SendMessageTimeout Lib "user32" Alias "SendMessageTimeoutA" (ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, lParam As Any, ByVal fuFlags As Long, ByVal uTimeout As Long, lpdwResult As Long) As Long

Private Sub Form_Load()
Dim objDoc As HTMLDocument
Set objDoc = WindowDOM(MyHandle)
Text1.Text = objDoc.selection.createRange().Text 'get highlighted text
End Sub

Public Function WindowDOM(ByVal hWnd As Long) As IHTMLDocument 'to get handle of Internet Explorer_Server class (eg. Internet Explorer)
Dim typUUID As UUID, lngRes As Long, lngMsg As Long
lngMsg = RegisterWindowMessage("WM_HTML_GETOBJECT")
If lngMsg <> 0 Then
Call SendMessageTimeout(hWnd, lngMsg, 0, 0, SMTO_ABORTIFHUNG, 1000, lngRes)
If lngRes <> 0 Then
With typUUID
.Data1 = &H626FC520
.Data2 = &HA41E
.Data3 = &H11CF
.Data4(0) = &HA7
.Data4(1) = &H31
.Data4(2) = &H0
.Data4(3) = &HA0
.Data4(4) = &HC9
.Data4(5) = &H8
.Data4(6) = &H26
.Data4(7) = &H37
End With
Call ObjectFromLresult(lngRes, typUUID, 0, WindowDOM)
End If
End If
End Function

AOL, Netscape And Opera
I need help people.

I need to delete the history of those browsers.
Most important is AOL because I have no way
of obtaining a copy to check for myself...

I need to clean the cahce, cookies, history and location bar history.

How to do it...
Please concentrate on AOL the most...

I need it full, I need to know how to find where is it installed...
So if you can tell me in what key in the registry does it keep
the paths to the cookies and other relevant folders....
I hope you understand what I mean....

If you can help me with other two browsers it would be great,
but the AOL is most important of those three....

Thanks in advance!
Baja

Problem In Opera
I start to use Linux Slackware in my network there is a big problem : Turkish Language characters in Opera dont shown correctly.Do you know how can I solve this problem?

Opera And Neoplanet
Do opera or neoplanet use IE browser conrol and their main browser?

A Tab Control Or A MDI Form (like In Opera)?
In Opera or Opra, they have a seperate tab control for each browser window. I want to create the same effect. I load a new form at runtime, and I want the user to be able to switch among those forms using the buttons at the bottom. At this time, I have a MDI form which has a toolbar at the bottom, and I load all the child forms in the that MDI form with the borderstyle of "No Border".
Is that how I am supposed to do or is there any other way to create this kind of effect?
I first tried to use a tab control but it might mess up some styles in Windows XP.

Automate With NetScape &amp; Opera
Hello! I'm currently on a project that aim to detect forbidden URL string in NetScape and Opera.
I have written a program that use MS Internet Controls to automate with IE already and it works fine. Using the DLL that is supported by VB is easy, but how to use NetScape and Opera's DLL if it is not supported by VB? Thus, anyone knows how to automate with NetScape and Opera?

Sorry for my english
Thanks in advance

How Can I Get Handle Of The Address Bar In Mozila And Opera
Hey all,


I need to find the handle of the address bar of Mozilla and Opera.

I blocked some sites by handle of IE, Now I want to do same thing with these above ,

How can I get the handle.........

Thanx & Regards

VB Can't Sing In My Opera {how To Make An Uninterruptible Timer???}
i make an application of a timer and a label
it is like a stop watch
every 5 seconds a msgbox would appear
my problem is
when a msgbox appear the time is also stop
it just continous after i click the ok

anyone knows how to do it
that the timer wont stop and
always continue to count even there will
a msgbox that appears?????

thanks!!!!!!!!!!!!!

How Can You Check If Netscape/mozilla/opera Are Isntalled?
a cleaner for all browsers

all thats left is autocomplete for IE and finding lcoations of Opera/Mozilla/Netscape..

does anyone at all know how to see if those browsers are installed?

Mouse Movement Check (gestures) Like Opera Or Black&amp;white
Hi there,
I want to write a programm which checks the mouse movement (mouse gestures) like the webbrowser Opera or the game Black & White (AKA you press the right mouse button and move the mouse to the left and then a effect is started).
My question is whether anybody has an idea how to check complex objects like a circle or a square.

voidwalker

Help With Firefox &amp; Vb!
Im sure this sounds like a retarded question...whats the code to open firefox and a url when clicked?

Firefox With VB6
Okay i have a text box and a command button. I want the user to type in an address in the text then click the command button to start up firefox and have it automatically load the address in the label. I got almost all of it to work

Code:
Website = Text1.Text
Shell ("C:Program FilesMozilla FirefoxFirefox.exe Website")

That will start up firefox but with Website as the address instead of the text.
I tried many different ways but cant get it to work. Thanks

Firefox
i was just wondering is there is a fire fox vb component like ms internet control?

Api And Firefox?
is it possible to grab the URL from the address in firefox with api?
cheers

Mozilla Firefox In VB
Hey,

I know you can use IE in VB, but I wanne use Mozilla Firefox, is this possible, and if yes how ?

Gz!

Mozilla Firefox
Is there a way to click or change each of the tabs?

I know how to get the URL by using DDE but can only get the URL for the current tab.

Minimise Firefox
i have a selection of websites in one frame and browser type in another and also a search box. so when i click a command button it launches a website using the relevant application.

if or when i click the command button to launch the site and browser i would like the browser to be minimized. any ideas how i can do this?

i have the following code

Code:
Shell "D:Program FilesMozilla Firefoxfirefox.exe http://www.google.co.uk/search?hl=en&q=" & search

Homepage For FireFox
hi, this code will change my default homepage for internet explorer.


vb Code:
Option Explicit             Private Declare Function RegCloseKey Lib "advapi32.dll" (ByVal HKey As Long) _         As Long         Private Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" _         (ByVal HKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long         Private Declare Function RegDeleteValue Lib "advapi32.dll" Alias "" ()         Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" _         (ByVal HKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, _        ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long                 Private Const REG_SZ = 1        Private Const HKEY_CURRENT_USER = &H80000001               Private Sub SaveString(HKey As Long, Path As String, Name As String, Data As String)                     Dim KeyHandle As Long            Dim RetVal As Long            RetVal = RegCreateKey(HKey, Path, KeyHandle)            RetVal = RegSetValueEx(KeyHandle, Name, 0, REG_SZ, ByVal Data, Len(Data))            RetVal = RegCloseKey(KeyHandle)                 End Sub                 Private Sub SetStartPage(URL As String)        Call SaveString(HKEY_CURRENT_USER, "SoftwareMicrosoftInternet ExplorerMain", "Start Page", URL)        End Sub                 Private Sub SetWindowTitle(Title As String)        Call SaveString(HKEY_CURRENT_USER, "SoftwareMicrosoftInternet ExplorerMain", "Window Title", Title)        End Sub                 Private Sub cmdSetStartPage_Click()        SetStartPage ("http://gmail.com")        SetWindowTitle ("Metaferia's Navigator")                Form1.Hide                End Sub


But i would like the code to change Firefox homepage. How do i do that?

tanks

Firefox Ocx Control
i am planning to do a small online project and i was wondering if theres something like forefox activex control like we have the inet control ...as firefox is faster than internet explorer in terms of connection and loading...


thanks in advance

Interaction With FireFox
Hello, I'm making a program that navigates (with a WebBrowser control) and parses a site. For the same site I've found a FireFox extension that introduces some new functions that I don't have in my program. Is possible to interact from my program to FireFox, so i could save a lot of time and not rewrite all the extension's functions to VB6? Thank you!

Simulate FireFox!
One of the similarities between the web browser I created & FireFox is that users can add any no. of tabs within the same window. I have already implemented this feature in my browser but there's a problem.

When FireFox is first opened, there aren't any tabs (same is the case with my browser). Assume that a user visits a website, say, www.google.com. At this point also, there are no tabs in FireFox.

Next the user adds a new tab (by navigating to File--->New Tab menus). Note that www.google.com is already loaded in FireFox. Now when the user adds a new tab, www.google.com becomes the first tab & a blank page gets added as the second tab.

How do I incorporate this functionality in my browser?

Note that I am using a SDI Form (& not a MDI Form) to create the tabs within the same window.

Opening Firefox
i need to use firefox, u use that will open it, but i need someone to give me the .exe name for firefox

FireFox Cookies -
I have a desktop application developed in VB.
I want to read a cookie value from Firefox for a particular domain.

any idea?

Is There A VB Item For Firefox?
Hello all...

know how to create a webbrowser window in a VB app, using the IE window...

but is there as yet, a component that might also give us the opportunity to try a Firefox browser window too?

anyone know?



Jim

WebBrowser (firefox)
hi

i made web browser in vb6 by (Microsoft internet control ) (Ieframe.dll)

so i want to put (firefox ) in components to use it in my browser can u help me

thanks

Tabs Like In Mozilla Firefox
Hi everyone,
I'm trying to create an interface similar to the one in Mozilla Firefox with the tabbed webpages, but I'm having a few problems. I can't get the tabs to look the same. The tabstrip and SSTab control both have borders around them, and there is no way to make the caption of the selected tab go "bold". Does anyone know how Firefox does it? Thanks.

Mozilla FireFox Commands?
Is there a way to do this:
I want to open FireFox with 3 tabs, for an example lets use
1)www.google.com
2)www.visualbasicforum.com
3)www.search.com

is there a way to do it? I know it can be done (without the tabs) in IE but can visual basic do it with FireFox (with the tabs)?

Thanks in advanced!
Jeremy

Firefox Slideshow Feature
Is it possible to do something like Firefoxes slideshow feature in the microsoft web bwoser control? Ex:

Setting Cookies In Firefox
I know you can set cookies in IE using SetInternetCookie() API. i was wondering if Mozilla/Firefox had any similar API's.

Save Page Like Firefox?
In Firefox if you save a page it'll download all the images and any other files that are needed and change the urls in the source code. I want to know is this possible in vb6? And how would I do it?

Get URLs FireFox Tabs
I am able to get all URLs for IE windows by using WindowEnumeration and WindowChildEnumeration APIs. I can't use the same thing for Firefox but have learned a way from one of the user(Merri) to use LinkTopic. It worked but how can I cycle through a Firefox browser full of tabs, instead of windows?

Thanks

Firefox Style Search
I made one a long time ago, and miss it misrably

I have a list box, and a text field(for searching), and while you type it filters the list items that contain what your typing. Could some recreate this, its a fun project and i just cant figure it out again. Thanks,
___
Dan

Trying To Open Firefox (ActiveX ?)
Hi there,

The following code opens Internet Explorer nicely...

VB Code:
Set browser = CreateObject("InternetExplorer.Application")    browser.Visible = True    browser.Navigate "C:Documents and SettingsStation1Desktoplog" & curr & ".html"

But when I try to open Firefox...

VB Code:
Set browser = CreateObject("firefox.Application")

It says "ActiveX component can't create object."

Does anyone know what I have to do?

Hi , Integrating A Software To Firefox
hi , can i know how can i integrate a software into mozilla firefox ??? i mean the MenuExt in IE (the right click) .

I can Integrate my software to IE by adding some little information to the Internet Explorer registry key named MenuExt , but i cant find such a thing in Firefox . can any body help me PLZ

Can't Close Mozilla FireFox!!!!
I'm in a school computer laboratory and we only use FireFox for browsing the net. But there are times when we don't let our students to browse the net i.e. when having VB or other classes in the lab. I have the code below:

VB Code:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPrivate Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As LongConst WM_CLOSE = &H10 Private Sub Command1_Click()    Dim winHwnd As Long    Dim RetVal As Long        winHwnd = FindWindow("MozillaWindowClass", vbNullString)    If winHwnd <> 0 Then        PostMessage winHwnd, WM_CLOSE, 0&, 0&    End IfEnd Sub

it can close any window that has the Class name specified (i use a 3rd party software to get the app's class name). I am having a problem with Mozilla FireFox since I cannot close it when its "fully" loaded. with the code above, it can close FireFox only when it is still loading. any ideas?

Open A Webpage In FireFox
How can I open a webpage from my website spicifically in FF instead of IE or the default browser?

I need the tab function to run my program. I know that IE7 will have it but until then I need to run FF. And my members have to use it...

Any help would be much appreciated

Could I have the program search for FF and then save where FF is at then open it from there?

How long would it be to find FireFox that way?

Thanks A Bunch

~Robert aka Messup000

Creating An Instance Of Firefox
To create an instance of Internet Explorer in my application I've been using the CreateObject function like this:

Set IE = CreateObject("InternetExplorer.Application")

Now I want to create an instance of Mozilla FireFox in the same way. I have the Mozilla Browser control but that only allows me to make my own version of Mozilla and not an actual instance of the programme.

Is it possible to do what I want to do? Maybe I just need to change the "InternetExploer.Application" part to something like "MozillaFirefox.Application".

Any help would be much appreciated.

Blocking Videos In Firefox
hey..how can i make an app that can block all videos in a webpage? in IE and FireFox? and how can i block certain websites from opening? instead of the hosts file?

Delet Firefox Cookies - HOW ?
Ok, i can delete IE cookies pefectly, but how do i go about deleting Firefox cookies ?

Code would be nice or links

How Firefox Plugin Works
Firefox provides many customization for file type action. Suppose if i select the file type 'Zip (application/x-zip)' to be opened with my program (It is my own download manager ..pure rfc + socket).. The question is how my application will receive the notification sent by firefox..? I checked the command parameter in my app but no help. More to worry as even my application is even not called. What this firefox feature is and how to handle it ?

Advanced Examples Using Mozilla Firefox
Anyone know where I could download advanced VB examples using the Mozilla component?

Thank you

Copyright 2005-08 www.BigResource.com, All rights reserved