Page 3 of 3

Re: Web based interface for FWH

Posted: Thu Jan 07, 2010 2:33 pm
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,

Re: Web based interface for FWH

Posted: Thu Jan 07, 2010 4:42 pm
by Enrrique Vertiz
Antonio, muy buena noticia, es lo que creo muchos estamos esperando, estaremos atentos

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 6:42 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 7:12 am
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 :(

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 7:24 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 9:40 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 9:47 am
by anserkk
Mr.Antonio,

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

Regards
Anser

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 10:02 am
by Enrico Maria Giordano
anserkk wrote:It seems that xbScript is a client side scripting tool.
No, it is server side (too?).

EMG

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 10:06 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 10:21 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 11:02 am
by anserkk
Dear EMG,

That's a very good sample :)

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

Regards
Anser

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 11:23 am
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).

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 11:25 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 11:50 am
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

Re: Web based interface for FWH

Posted: Fri Jan 08, 2010 3:04 pm
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