[RESOLVED] How to send a url to firefox tab and load the url ?
Hi all . I wonder how i can send a urls to firefox tabs(assuming firefox is open already with one tab only)? What i want to do send a list of links to diffrent firefox tabs and load them all. could any one show me how this can be done?Thanks
Re: How to send a url to firefox tab and load the url ?
You could try adding a reference to the files and then reference the code in your project. Which version of Firefox are you using?
Re: How to send a url to firefox tab and load the url ?
Quote:
Originally Posted by
Nightwalker83
You could try adding a reference to the files and then reference the code in your project. Which version of Firefox are you using?
i am using firefox 3.5.3 . All i want to is send a url to firefox address bar and load it and open new tab for other urls ! could you show me a code on how to do that? i dont know what you meaning by refrencing ...
Re: How to send a url to firefox tab and load the url ?
Here is code that does that you want without referencing which, not all files allow.
vb Code:
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _
ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) _
As Long
Private Sub Command1_Click()
ShellExecute Me.hwnd, "open", Text1.Text, vbNullString, vbNullString, vbNormal
End Sub
The original code post can be found here. Thanks to Chris001!
Re: How to send a url to firefox tab and load the url ?
Many Many thanks nightwaker that is exactly what i was looking for!