Active X Explorer

Active X Explorer

Postby UD previous posts » Fri Oct 06, 2006 2:32 pm

http://nolp.dhl.de/nextt-online-public/track.do?lang=de


This a tracking Page from DHL


How can i put Data from a dbf into Fields in Internet Explorer ?


Tx
UD previous posts
 
Posts: 42
Joined: Sat Sep 30, 2006 9:43 am

Postby Rochinha » Sat Oct 07, 2006 12:48 am

Amiguinho

You can try a ASP Script, submiting data with GET METHOD:

Code: Select all  Expand view
<%@LANGUAGE = VBScript%>
<%
Dim nome,senha

nome = replace(request.form("nome"), "'", "''")
senha = replace(request.form("senha"), "'", "''")

Set DB = Server.CreateObject("ADODB.Connection")

cnpath="DBQ=" & server.mappath(".\")
DB.Open "Driver={Microsoft dBase Driver (*.dbf)};;" & cnpath

inserir = "INSERT INTO users (nome,senha) " & _
"VALUES ('" & nome & "','" & senha & "','" & pagina & "')"
DB.Execute(inserir)
%>


Fivewin code:

Code: Select all  Expand view
STATIC FUNCTION NAVEGAR( MyName, MyPass )
   local hE
   hE := CreateOleObject("InternetExplorer.Application")
   OLESetProperty(hE,"Visible"  , .T.)
   OLESetProperty(hE,"ToolBar"  , .F.)
   OLESetProperty(hE,"StatusBar", .T.)
   OLESetProperty(hE,"MenuBar"  , .T.)
   OLEInvoke(hE,"Navigate","http://www.YourSite.com/adiciona.asp?nome="+MyName+"&senha="+MyPass)
   SysRefresh()
   return nil
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo

Tx

Postby UD previous posts » Sat Oct 07, 2006 7:05 am

I will try it !!!

is it also possible with active x ???

tx
UD previous posts
 
Posts: 42
Joined: Sat Sep 30, 2006 9:43 am

Postby Silvio » Tue Oct 10, 2006 9:26 am

yes there is an sample on this forum but the method *DO* not run well or we not Know how make active the component of the activex
see this
http://fivetechsoft.com/forums/viewtopi ... highlight=
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Oct 10, 2006 9:50 am

Silvio,

Method Do() runs ok. Its an ActiveX issue.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Oct 10, 2006 10:19 am

ok Antonio,

these commands not run ok

oActiveX:SetProp( "StatusBar", .T. ) // not run ???
oActiveX:SetProp( "AddressBar", .T. ) // not run ???
oActiveX:SetProp( "ToolBar", .T. ) // not run ???
oActiveX:SetProp( "LinksBar", .T. ) // not run ???
oActiveX:SetProp( "ToolbarOptions", .T. ) // not run ???
---------------------------------------------------------------------------
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Oct 10, 2006 10:46 am

Silvio,

Try to do it in Visual Basic. Its not a FWH issue.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Oct 10, 2006 10:05 pm

I don't Like VB , I hatred VB because I have lost many ex clipper friends
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Anyone read the question ???

Postby UD previous posts » Wed Oct 11, 2006 3:44 pm

Anyone read the question ???

-:)
UD previous posts
 
Posts: 42
Joined: Sat Sep 30, 2006 9:43 am

Postby Antonio Linares » Thu Oct 12, 2006 7:17 am

Uwe,

Rochinha has provided you a valid answer.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby UD previous posts » Thu Oct 12, 2006 7:32 am

Yes i read it but im searching for a solution with active x

i want to use it in a FW Dialog

Tx Uwe D
UD previous posts
 
Posts: 42
Joined: Sat Sep 30, 2006 9:43 am

Postby Antonio Linares » Thu Oct 12, 2006 9:36 am

Uwe,

Please review samples\webexp.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 61 guests