Web based interface for FWH

User avatar
jllinas
Posts: 189
Joined: Fri Oct 14, 2005 12:33 am
Location: Santo Domingo, Dominican Republic
Contact:

Re: Web based interface for FWH

Post by jllinas »

Hola Carlos,

El xBScript se instala en servidores Windows (XP Pro, 2000, 2003, 2008, etc.), despues que se ha configurado correctamente el servicio de Internet Information Server (IIS), es lo que conozco hasta ahora. Creo que no existe aun para servidores Linux. Si le hechas el ojo a los comentarios en el foro (news.xHarbour.com), veras algunos realizados a los autores sobre este respecto.

Se trata de una .DLL que se carga al Windows del Servidor Web (donde esta instalado y configurado el IIS), y toda la informacion la encontraras en http://www.xharbour.com/xhc/index.asp?p ... show_sub=1

Abrazos,
Julio Llinás
Visita mi Blog en http://mangucybernetico.blogspot.com/
xHarbour 1.1.0 + FWH810 + Borland 5.5.1
Enrrique Vertiz
Posts: 440
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru
Contact:

Re: Web based interface for FWH

Post by Enrrique Vertiz »

Antonio, muy buena noticia, es lo que creo muchos estamos esperando, estaremos atentos
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23, Fwh 20.04, MySQL 5.7 - 8.0, SQLLIB 1.9m, SQLRDD
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

Dear Mr.Julio Llinás ,

The xBscript is supposed to be installed on the IIS Server right ? and not on the Client's PC. I am just trying to understand the concept. Please forgive my ignorance in this regard.

I was of the impression that the scripting language is installed on the web server and when the client web browser request for a web page, the webserver will do the necessary process using the xbscript and Html tags and delivers the HTML page to the requesting client PC's Web browser like IE or Mozilla Firefox.

I tried visting the page http://www.xharbour.com/xbs/buttons.htm

On Mozila Firefox, the page displayed without any errors but nothing happened when I clicked on the buttons on the page.

On Internet Explorer, it said an ActiveX is to be installed on my PC, and I choose to allow the installation. But the installation was not completed and it displayed an error saying that "Windows has blocked the software because it cant verify the publisher. Name xBScript.Cab", Publisher unknown". Once I click the Ok button of the error popup window, the html page is displayed but nothing happens when I click on the buttons on the web page. The screen snapshot of the same is attached below.

Image

Regards
Anser
User avatar
frose
Posts: 327
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Gütersloh
Contact:

Re: Web based interface for FWH

Post by frose »

Anser,

adjust the internet security option of IE and it will run :)

Firefox isn't an ActiveScript Host, so it won't run :(
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

Hi,

It seems that xbScript is a client side scripting tool. (Your scripting source code will be available to the users.) I am not sure, the experts here has to confirm it.

I downloaded xBscript.Dll on to my PC and registered the DLL.

After registering the DLL the Sample pages are running, but it is running only on Internet Explorer. The web page is not functioning as expected on Mozila Firefox and Chrome browsers.

Regards
Anser
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Web based interface for FWH

Post by Antonio Linares »

Anser,

The solution we are working on does not use any scripting tool except simple javascript, on the client side :-)

http://forums.fivetechsupport.com/viewt ... 942#p92942
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

Mr.Antonio,

Thank you for the information. Definitely it is going to be a great tool and a turning point.

Regards
Anser
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Web based interface for FWH

Post by Enrico Maria Giordano »

anserkk wrote:It seems that xbScript is a client side scripting tool.
No, it is server side (too?).

EMG
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

No, it is server side (too?).
Ok. That's good. Then the sample pages should have demonstrated the Server side scripting with command RunAt Server.

Regards
Anser
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Web based interface for FWH

Post by Enrico Maria Giordano »

You have to install xbScript on the server and then use it just like VBScript. A sample:

Code: Select all

<%@ language = "xbScript" %>

<html>
  <body>

    <%
      SET CENTURY ON

      SET DEFAULT TO ( Server:MapPath( "./" ) )

      USE TEST

      WHILE !EOF()
          Response:Write( "<div>" + FIELD -> last + " " + FIELD -> first + " " + DTOC( FIELD -> hiredate ) + "</div>" )

          SKIP
      ENDDO

      CLOSE
    %>

  </body>
</html>
EMG
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

Dear EMG,

That's a very good sample :)

Hope the web hosting company will allow to Register the DLL :)

Regards
Anser
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Web based interface for FWH

Post by Antonio Linares »

Anser,

> Hope the web hosting company will allow to Register the DLL

No, they will not allow to do it unless you use a dedicated server.

Thats why that solution is not workable for low cost hosting plans. Neither you can use it with google apps servers (low cost, but very high power).
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Web based interface for FWH

Post by Enrico Maria Giordano »

anserkk wrote:Hope the web hosting company will allow to Register the DLL :)
And this is generally the problem of such kind of techniques.

EMG
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Web based interface for FWH

Post by anserkk »

No, they will not allow to do it unless you use a dedicated server.
And this is generally the problem of such kind of techniques.
Dedicated Server will be a very expensive solution for the clients :(

Regards
Anser
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: Web based interface for FWH

Post by Horizon »

Hi,

This is very interesting thread. Can anyone please explain step by step what should i do to display a one dbf file.


Thanks
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Post Reply