473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

need progid for Firefox - to open a firefox through WScript.CreateObject

I am trying to open a Firefox window using WScript.CreateObject. But I cannot find the progid for Firefox.
Here is my code that works for IE.
Expand|Select|Wrap|Line Numbers
  1. var objIEResults = WScript.CreateObject("InternetExplorer.Application", "objIEResults_");
  2. var objIE = WScript.CreateObject("InternetExplorer.Application", "objIE_");
  3. var url  = "http://www.google.com" 
  4. objIE.Height = 1280;
  5. objIE.Width = 1024;   
  6. objIE.navigate(url); 
  7. objIE.Visible = true;
  8.  
I want to do a similar thing with Firefox. But I couldnt find the equivalent progid for Firefox. i.e.

var objIE = WScript.CreateObject(what should i put here?);

I looked up in the HKEY_CLASSES_ROOT and the entries for Firefox dont work.
What do i do? please help.

Thanks.
Sep 19 '07 #1
3 7732
acoder
16,027 Expert Mod 8TB
Are you using IE for this?
Sep 19 '07 #2
The above code works on IE. I want the Progid for firefox so that I could use it to CreateObject(Firefox Progid).
Sep 19 '07 #3
acoder
16,027 Expert Mod 8TB
The above code works on IE. I want the Progid for firefox so that I could use it to CreateObject(Firefox Progid).
Only IE supports ActiveX, so this probably won't be possible.
Sep 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: MacKenzie | last post by:
The statement in an asp page: dim objShell Set objShell = WScript.CreateObject("WScript.Shell") now gives this error: VB err= 424,Object required If I use...
0
by: Otis Hunter | last post by:
I have been fighting with this for days and your expert help is needed! Below is the code I am executing which results with "Object doesn't support this property or method". The error is occuring...
1
by: Chenna Sudarsan | last post by:
Hello all, I have a typical problem in deploying my ASP .NET application (code behind is VB .NET). I am generating a power point presentation (ppt file) in my application. Program is...
2
by: Seok Bee | last post by:
Dear Experts, In my web application, I am having a button to open a file located in the server. When I click on the button to view the file, I received the following error message:...
0
by: Loney | last post by:
Take a look at the script below: 'we send 7 parameters server, db, channel, reportbase, start_debug, account, refreshtime WScript.Sleep 10000 refreshtime=refreshtimeseconds...
1
by: jweiss | last post by:
I am trying to run cmd.exe so that I can ftp a file to a remote server. I've been doing this for a long time, but something broke. I did some windows updates last week?? I am getting a...
2
by: =?Utf-8?B?VG9kZA==?= | last post by:
Hello I'm using the following script to try and ping: <% Response.Buffer = true %> <% url = "www.espn.com" Set objWShell = CreateObject("WScript.Shell") Set objCmd = objWShell.Exec("ping " &...
1
by: monsalvo | last post by:
Hello. I've just coded a VBScript SOAP Client to send requests to a web service in our intranet. It's working and we'll use it in a DTS cuz we have not implemented SQL Server 2005 yet. Anyway. I...
18
drhowarddrfine
by: drhowarddrfine | last post by:
In VBScript I have this: 'define vars url = "http://bytes.com" path = "C:\dev\vbs\temp.txt" 'instantiate Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") Set fso =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.