Firefox instead of Ie

Firefox instead of Ie

Postby MarcoBoschi » Wed Oct 13, 2010 9:28 am

Hi ,
Is it possible to modify this function in order to use Firefox

FUNCTION NAVIGATE( cUrl )
LOCAL oIe

oIe = CREATEOBJECT( "InternetExplorer.Application" )

oIe:Navigate( cUrl )
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Firefox instead of Ie

Postby Massimo Linossi » Wed Oct 13, 2010 5:32 pm

I'm interested to use Firefox too.
Thanks a lot.
Massimo.
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Firefox instead of Ie

Postby Gale FORd » Wed Oct 13, 2010 7:21 pm

It seems Firefox does not support ActiveX out of the box.
Check here for an ActiveX control for Firefox.
http://www.iol.ie/~locka/mozilla/control.htm
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Firefox instead of Ie

Postby MarcoBoschi » Thu Oct 14, 2010 1:25 pm

Did you try it?
have you a working sample?
bye
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Firefox instead of Ie

Postby Gale FORd » Thu Oct 14, 2010 4:01 pm

No, I have not tried it. Once installed (registered) it is supposed to work the same way IE works.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Firefox instead of Ie PLEASE TEST IT

Postby MarcoBoschi » Tue Oct 19, 2010 8:02 am

Please test directly at this address

http://217.57.213.130:8168

to see by yourself the problem.


For instance clicking on
Administration
Phone on the right vertical menu


It asks authentication

You have to digit "admin" as user ad "ip110" as password

My problem is:
1) To use Internet Explorer
2) To automate authentication

From my application now I use this

FUNCTION NAVIGATE( cUrl, nMilli )
DEFAULT nMilli := 100

IF oIe = NIL
oIe := CREATEOBJECT( "InternetExplorer.Application" )
SETFOREGROUNDWINDOW( oIe:hWnd )
ENDIF

oIe:Navigate( cUrl )

WHILE oIe:Busy
SYSREFRESH()
ENDDO
sleep( nMilli )

RETURN NIL


Probably the answer is in WinHttp
http://msdn.microsoft.com/en-us/library ... 85%29.aspx


Thanks in advance
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Firefox instead of Ie

Postby MarcoBoschi » Tue Oct 19, 2010 8:07 am

another test is this

http://217.57.213.130:8168/!mod%20cmd%2 ... dial%20161

this perform a call from this phone to my phone

in this way I know is someone test it
bye
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Firefox instead of Ie

Postby MarcoBoschi » Tue Oct 26, 2010 6:27 am

any news?
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Firefox instead of Ie

Postby Massimo Linossi » Tue Oct 26, 2010 6:33 am

I've searched over the web and seems that is non possible to use Firefox as we are used with Ie. :(
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Firefox instead of Ie

Postby MarcoBoschi » Tue Oct 26, 2010 7:39 am

Massimo,
probably the solution to automate pre-autentication using Ie is here.

http://msdn.microsoft.com/en-us/library/aa383144%28VS.85%29.aspx

please take a look

have a nice day

marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 34 guests