Page 2 of 8

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Oct 29, 2012 11:15 am
by Antonio Linares

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Oct 29, 2012 12:26 pm
by elvira
Antonio,

What commands are available please?.

In latest .zip there is no tutor02.prg.

Thank you.

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Oct 29, 2012 1:05 pm
by Antonio Linares
Elvira,

In these early tests just check that you get it running fine.

Its not ready for production yet, it is just to get an overview...

We will publish its docs online once it reaches to a more advanced stage

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Oct 29, 2012 1:10 pm
by Antonio Linares
Elvira,

Published a new download file with the missing files, thanks

http://code.google.com/p/fiveweb/downloads/detail?name=fiveweb_0.4.zip&can=2&q=

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Oct 30, 2012 11:11 am
by giuliano
Hi Antonio,
I made a test with your examples in my web server connect to ADS DATABASE SERVER.
Try this link:

http://95.110.162.74/cgi-bin/tutor01.exe

#include "FiveWeb.ch"
#include "c:\harbour\include\ads.ch"

function Main()

local cFile:="" , gtext:="" , AdsHandle , str_conn:=""

REQUEST ADS
rddRegister( "ADS", 1 )
rddsetdefault( "ADS" )

SET SERVER REMOTE
str_conn:="\\84.65.128.144:6262\C$\DBTEST\DATATEST.ADD"

IF !AdsConnect60(str_conn, 7,"adssys" , "pass",@AdsHandle)
MsgInfo( "DB NOT CONNECT!!" )
Dbcloseall()
Return nil
ENDIF

USE FR_UTENTI ALIAS APPO SHARED NEW
gtext:=APPO->UTENTE
USE

MsgInfo( gtext )

DBCLOSEALL()

Return nil

Antonio , you're making a great tool :D :D :D :D

Giuliano

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Oct 30, 2012 6:45 pm
by sysctrl2
Exelent.

the power of fiveweb.

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Wed Oct 31, 2012 3:07 am
by Antonio Linares
Enhanced function MsgInfo() and uploaded changes to Class TDialog proposed by Manuel Alvarez:

http://www.fivetechsoft.net/cgi-bin/tutor01

Image

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Sat Nov 03, 2012 12:26 pm
by Antonio Linares
Started Class TButton implementation, new samples/tutor03.prg

http://www.fivetechsoft.net/cgi-bin/tutor03

Image

Code: Select all  Expand view
// Using controls

#include "FiveWeb.ch"

function Main()

   local oDlg
   
   DEFINE DIALOG oDlg TITLE "Hello FiveWeb" SIZE 600, 400
   
   @ 100,  50 BUTTON "One" SIZE 80, 20 OF oDlg

   @ 100, 150 BUTTON "Two" SIZE 80, 20 OF oDlg

   @ 100, 250 BUTTON "Three" SIZE 80, 20 OF oDlg
   
   ACTIVATE DIALOG oDlg

return nil


http://code.google.com/p/fiveweb/downloads/detail?name=fiveweb_0.5.zip&can=2&q=

http://code.google.com/p/fiveweb/source/browse/trunk/source/classes/button.prg

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Sun Nov 04, 2012 1:07 pm
by Antonio Linares
Class TCheckBox:

http://www.fivetechsoft.net/cgi-bin/tutor03

Image

Example:
Code: Select all  Expand view
// Using controls

#include "FiveWeb.ch"

function Main()

   local oDlg, lValue := .T.
   
   DEFINE DIALOG oDlg TITLE "Hello FiveWeb" SIZE 600, 400
   
   @ 120,  70 BUTTON "One" SIZE 120, 50 OF oDlg

   @ 120, 220 BUTTON "Two" SIZE 120, 50 OF oDlg

   @ 120, 370 BUTTON "Three" SIZE 120, 50 OF oDlg
   
   @ 200, 160 CHECKBOX lValue PROMPT "Tested" SIZE 150, 40 OF oDlg
   
   ACTIVATE DIALOG oDlg

return nil


http://code.google.com/p/fiveweb/downloads/detail?name=fiveweb_0.6.zip&can=2&q=

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Nov 05, 2012 7:50 am
by Otto
Hello Antonio,
What ist he disadvantage of useing real Fivewin programs through Remote Desktop Web Access confronted to FiveWeb
except that you need a Window Server not a Linux to run cgi.
Best regards,
Otto

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Mon Nov 05, 2012 11:43 am
by Antonio Linares
Otto,

The cost of the server. A Linux server costs around 9 U$ by month

Also, keep in mind that FiveWeb is basically a CGI app, which has to work with a client/server implementation

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Nov 06, 2012 10:03 pm
by Antonio Linares
Using folders:

http://www.fivetechsoft.net/cgi-bin/testfold

testfold.prg
Code: Select all  Expand view
#include "FiveWeb.ch"

function Main()

   local oDlg, oFld

   DEFINE DIALOG oDlg TITLE "Using folders"

   @ 10, 10 FOLDER oFld PROMPTS "One", "Two", "Three" OF oDlg SIZE 400, 300

   ACTIVATE DIALOG oDlg

return nil


Image

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Nov 06, 2012 10:16 pm
by Enrico Maria Giordano
Doesn't work with IE8.

EMG

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Nov 06, 2012 10:26 pm
by Antonio Linares
Enrico,

We are using standard JQuery UI so I guess it is not compatible with IE 8 though they claim it is supported:

http://docs.jquery.com/Browser_Compatibility#About_Browser_Compatibility

Re: FiveTech's FiveWeb (free up to version 1.0)

PostPosted: Tue Nov 06, 2012 10:42 pm
by Antonio Linares