[Gambas-devel] How to use connections/resultsets from gb.web scripts?

PICCORO McKAY Lenz mckaygerhard at ...176...
Thu Oct 24 17:37:31 CEST 2013


From: Fabien Bodard <gambas.fr at ...176...>

> I your module is a component yes... Else you can make class module.
> Just begin the code with
> CLASS
>
> and end it with
> END CLASS
this are in the module code? i must around these words event coded as
normally module?

> Then include it with the INCLUDE script keyword
So this are in the script page, interpreted by the cgi right?
The include are full path or relative path?
well i can use the App.path also but its relative or absolute paths
for include keyword?


From: Beno?t Minisini <gambas at ...1...>
> Why do you put quotes around the USE instructions???
Due follow code do not work (a blank page its rendered)

#!/usr/bin/env gbw3
<%
USE gb.db
USE gb.vb
USE gb.eval

Dim home as string = Application.path
Dim conector As new Connection
%>



From: Jesus <ea7dfh at ...731...>
> May be because he's not a "winbuntu" user... ;-)
yes u have right.. i never use it! I've noticed that those who use it
in my office (now decreasing, continue reading to know), always need
more resources, more ram, more cpu power, and the justification always
"updates, vesion raise", but their individual performance results are
never "raised", interesting, whereas with what I use, my results
always evolve, without need to consume more resources than i already
have it




More information about the Devel mailing list