From handriolijr at ...626... Fri Jun 1 13:59:28 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Fri, 1 Jun 2007 08:59:28 -0300 Subject: [Gambas-user] Fw: erro compilandop Message-ID: <4604979CD7B241C5805CFA2FBFF394EF@...1703...> Benoit, v. 406 not compiling... ./configure is ok! sudo mke has errors... Take a look! administrador at ...1706...:~/trunk$ make > make all-recursive > make[1]: Entrando no diret??rio `/home/administrador/trunk' > Making all in main > make[2]: Entrando no diret??rio `/home/administrador/trunk/main' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/main' > Making all in libltdl > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' > make all-am > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' > /bin/bash ./libtool --tag=CC --mode=compile > -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c > rm: cannot remove `.libs/ltdl.o': Permission denied > rm: cannot remove `.libs/ltdl.o': Permission denied > gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o > Assembler messages: > Fatal error: can't create .libs/ltdl.o: Permission denied > make[5]: ** [ltdl.lo] Erro 1 > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' > make[4]: ** [all] Erro 2 > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' > make[3]: ** [all-recursive] Erro 1 > make[3]: Saindo do diret??rio `/home/administrador/trunk/main' > make[2]: ** [all] Erro 2 > make[2]: Saindo do diret??rio `/home/administrador/trunk/main' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diret??rio `/home/administrador/trunk' > make: ** [all] Erro 2 > administrador at ...1706...:~/trunk$ sudo make > make all-recursive > make[1]: Entrando no diret??rio `/home/administrador/trunk' > Making all in main > make[2]: Entrando no diret??rio `/home/administrador/trunk/main' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/main' > Making all in libltdl > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' > make all-am > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' > /bin/bash ./libtool --tag=CC --mode=compile > -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c > gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o > gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 > /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la > ltdl.lo -ldl > rm -fr .libs/libltdlc.a .libs/libltdlc.la > ar cru .libs/libltdlc.a .libs/ltdl.o > ranlib .libs/libltdlc.a > creating libltdlc.la > (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' > Making all in gbx > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/gbx' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/gbx' > Making all in gbc > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/gbc' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/gbc' > Making all in lib > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/lib' > Making all in debug > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/debug' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/debug' > Making all in eval > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/eval' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/eval' > Making all in db > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/db' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/db' > Making all in compress > make[5]: Entrando no diret??rio > `/home/administrador/trunk/main/lib/compress' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio > `/home/administrador/trunk/main/lib/compress' > Making all in vb > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/vb' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/vb' > Making all in option > make[5]: Entrando no diret??rio > `/home/administrador/trunk/main/lib/option' > make[5]: Nada a ser feito para `all'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/option' > make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib' > make[5]: Nada a ser feito para `all-am'. > make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib' > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/lib' > Making all in share > make[4]: Entrando no diret??rio `/home/administrador/trunk/main/share' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio `/home/administrador/trunk/main/share' > make[4]: Entrando no diret??rio `/home/administrador/trunk/main' > make[4]: Saindo do diret??rio `/home/administrador/trunk/main' > make[3]: Saindo do diret??rio `/home/administrador/trunk/main' > make[2]: Saindo do diret??rio `/home/administrador/trunk/main' > Making all in gb.compress.bzlib2 > make[2]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > make all-recursive > make[3]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.bzlib2/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.compress.bzlib2/src' > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > make[3]: Saindo do diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > make[2]: Saindo do diret??rio > `/home/administrador/trunk/gb.compress.bzlib2' > Making all in gb.compress.zlib > make[2]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.zlib' > make all-recursive > make[3]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.zlib' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.zlib/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.compress.zlib/src' > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.compress.zlib' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' > Making all in gb.db.mysql > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.mysql/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql/src' > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' > Making all in gb.db.odbc > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' > Making all in src > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc/src' > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' > Making all in gb.db.postgresql > make[2]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.postgresql' > make all-recursive > make[3]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.postgresql' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.postgresql/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.db.postgresql/src' > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.postgresql' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' > Making all in gb.db.sqlite3 > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.sqlite3/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.db.sqlite3/src' > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' > Making all in gb.db.sqlite2 > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' > Making all in src > make[4]: Entrando no diret??rio > `/home/administrador/trunk/gb.db.sqlite2/src' > make[4]: Nada a ser feito para `all'. > make[4]: Saindo do diret??rio > `/home/administrador/trunk/gb.db.sqlite2/src' > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' > Making all in gb.db.firebird > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' > Making all in gb.gtk > make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk' > make all-recursive > make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk' > Making all in src > make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk/src' > /bin/bash ../libtool --tag=CXX --mode=compile > g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 > -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden > -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF > .deps/CFont.Tpo -c -o CFont.lo CFont.cpp > g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 > -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden > -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF > .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o > CFont.cpp:35:26: error: gb.form.font.h: No such file or directory > CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': > CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope > CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope > CFont.cpp: In function 'void CFONT_get(void*, void*)': > CFont.cpp:221: warning: unused variable '_p' > make[4]: ** [CFont.lo] Erro 1 > make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk/src' > make[3]: ** [all-recursive] Erro 1 > make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk' > make[2]: ** [all] Erro 2 > make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diret??rio `/home/administrador/trunk' > make: ** [all] Erro 2 > administrador at ...1706...:~/trunk$ > > From juanramon at ...1546... Fri Jun 1 14:22:13 2007 From: juanramon at ...1546... (Juanra) Date: Fri, 01 Jun 2007 14:22:13 +0200 Subject: [Gambas-user] resizing dynamically components into a form Message-ID: <1180700533.10815.19.camel@...1700...> Hello Could you show me an example of resizing components into a form ? (2 buttons for example) I want to auto resize all components into the form when I downsize it. Thank you. From rohnny at ...1248... Fri Jun 1 17:58:43 2007 From: rohnny at ...1248... (R. Stormo) Date: Fri, 1 Jun 2007 08:58:43 -0700 (PDT) Subject: [Gambas-user] Error compiling svn 406 Message-ID: <10915752.post@...1379...> Get an error when trying to compile svn version 406. Ubuntu Fiesty 7.04 Done this when error occoured ./reconf-all ./configure make --snip ity=hidden -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o CFont.cpp:35:26: error: gb.form.font.h: No such file or directory CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope CFont.cpp: In function 'void CFONT_get(void*, void*)': CFont.cpp:221: warning: unused variable '_p' make[4]: *** [CFont.lo] Error 1 make[4]: Leaving directory `/home/roh --snap Cheers Rohnny My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Error-compiling-svn-406-tf3853169.html#a10915752 Sent from the gambas-user mailing list archive at Nabble.com. From handriolijr at ...626... Fri Jun 1 18:37:48 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Fri, 1 Jun 2007 13:37:48 -0300 Subject: [Gambas-user] Error compiling svn 406 In-Reply-To: <10915752.post@...1379...> References: <10915752.post@...1379...> Message-ID: Same for me Regards Hamilton ----- Original Message ----- From: "R. Stormo" To: Sent: Friday, June 01, 2007 12:58 PM Subject: [Gambas-user] Error compiling svn 406 > > Get an error when trying to compile svn version 406. > > Ubuntu Fiesty 7.04 > > Done this when error occoured > ./reconf-all > ./configure > make > > --snip > ity=hidden -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF > .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o > CFont.cpp:35:26: error: gb.form.font.h: No such file or directory > CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': > CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope > CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope > CFont.cpp: In function 'void CFONT_get(void*, void*)': > CFont.cpp:221: warning: unused variable '_p' > make[4]: *** [CFont.lo] Error 1 > make[4]: Leaving directory `/home/roh > > > --snap > > > Cheers Rohnny > > > My Gambas Community http://gambasforum.tk > -- > View this message in context: > http://www.nabble.com/Error-compiling-svn-406-tf3853169.html#a10915752 > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dcamposf at ...626... Fri Jun 1 23:25:12 2007 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 1 Jun 2007 23:25:12 +0200 Subject: [Gambas-user] resizing dynamically components into a form In-Reply-To: <1180700533.10815.19.camel@...1700...> References: <1180700533.10815.19.camel@...1700...> Message-ID: <7259b5ae0706011425g9194cc9h8b80d5d78dfe970@...627...> If you're able to understand Spanish (I think so), here you have an example: http://gambas.gnulinex.org/libro/libro-gambas-3.sxw Daniel 2007/6/1, Juanra : > > Hello > > Could you show me an example of resizing components into a form ? (2 > buttons for example) > > I want to auto resize all components into the form when I downsize it. > > Thank you. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From easuter at ...626... Sat Jun 2 10:49:33 2007 From: easuter at ...626... (easuter) Date: Sat, 2 Jun 2007 01:49:33 -0700 (PDT) Subject: [Gambas-user] Adding integers to an array fails with "Null Object" error Message-ID: <10925241.post@...1379...> Hi there, I'm trying to get a piece of code to work that should cut the interface number of any alias in /etc/modprobe.conf called wlanX, where X is the interface number. My app will be adding wlanX aliases, and needs to know any pre-existing interface number in that file. Anyway I decided to use an array to contain the interface numbers. The problem is that I get a "Null Object" error from the Gambas debugger when running the app inside the IDE. This is the code: ----------------------------------------------------- OPEN AliasConfig FOR READ AS #hAliasConfig WHILE NOT Eof(hAliasConfig) LINE INPUT #hAliasConfig, sLine 'Check for ndiswrapper specific aliases first IF Instr(sLine, " ndiswrapper") > 0 THEN INC iAliasCount 'Turn all the interface names into one string sAliases = sAliases & Mid$(Left$(sLine, Instr(sLine, " ndiswrapper")), Instr(sLine, " ")) ENDIF 'This section will check for pre-existing wlanX alises, so as to 'not overwrite them (ndiswrapper uses wlan0 by default). IF Instr(sLine, "wlan") > 0 THEN sWlanX = Mid$(Left$(sLine, RInstr(sLine, " ")), Instr(sLine, "wlan")+4) ariWlanXList.Add(Val(sWlanX)) ENDIF WEND CLOSE #hAliasConfig ariWlanXList.Sort(GB.Ascent) ---------------------------------------------------------- So for example, if wlan0 is found then sWlanX will be a string "0". When I run the program in the IDE, the debugger spits out the Null Object error and then jumps to the "ariWlanXList.Add(Val(sWlanX))" line. ariWlanXList is an interger array. My intention is then to sort the array to find the highest interface number. Any idea why this happens? What should I fix? The "Null Object" error is rather vague.... -- View this message in context: http://www.nabble.com/Adding-integers-to-an-array-fails-with-%22Null-Object%22-error-tf3856140.html#a10925241 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Jun 2 14:02:18 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jun 2007 14:02:18 +0200 Subject: [Gambas-user] Error compiling svn 406 In-Reply-To: <10915752.post@...1379...> References: <10915752.post@...1379...> Message-ID: <200706021402.18511.gambas@...1...> On vendredi 01 juin 2007, R. Stormo wrote: > Get an error when trying to compile svn version 406. > > Ubuntu Fiesty 7.04 > > Done this when error occoured > ./reconf-all > ./configure > make > > --snip > ity=hidden -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF > .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o > CFont.cpp:35:26: error: gb.form.font.h: No such file or directory > CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': > CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope > CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope > CFont.cpp: In function 'void CFONT_get(void*, void*)': > CFont.cpp:221: warning: unused variable '_p' > make[4]: *** [CFont.lo] Error 1 > make[4]: Leaving directory `/home/roh > > > --snap > > > Cheers Rohnny > > > My Gambas Community http://gambasforum.tk Did you reconfigure the package? (./reconf-all; ./configure -C) -- Benoit Minisini From gambas at ...1... Sat Jun 2 14:03:31 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jun 2007 14:03:31 +0200 Subject: [Gambas-user] Adding integers to an array fails with "Null Object" error In-Reply-To: <10925241.post@...1379...> References: <10925241.post@...1379...> Message-ID: <200706021403.31468.gambas@...1...> On samedi 02 juin 2007, easuter wrote: > Hi there, > > I'm trying to get a piece of code to work that should cut the interface > number of any alias in /etc/modprobe.conf called wlanX, where X is the > interface number. > > My app will be adding wlanX aliases, and needs to know any pre-existing > interface number in that file. > > Anyway I decided to use an array to contain the interface numbers. > The problem is that I get a "Null Object" error from the Gambas debugger > when running the app inside the IDE. > > This is the code: > > ----------------------------------------------------- > > OPEN AliasConfig FOR READ AS #hAliasConfig > WHILE NOT Eof(hAliasConfig) > > LINE INPUT #hAliasConfig, sLine > > 'Check for ndiswrapper specific aliases first > IF Instr(sLine, " ndiswrapper") > 0 THEN > INC iAliasCount > > 'Turn all the interface names into one string > sAliases = sAliases & Mid$(Left$(sLine, Instr(sLine, " > ndiswrapper")), Instr(sLine, " ")) > ENDIF > > 'This section will check for pre-existing wlanX alises, so as to > 'not overwrite them (ndiswrapper uses wlan0 by default). > IF Instr(sLine, "wlan") > 0 THEN > sWlanX = Mid$(Left$(sLine, RInstr(sLine, " ")), Instr(sLine, > "wlan")+4) > ariWlanXList.Add(Val(sWlanX)) > ENDIF > > WEND > CLOSE #hAliasConfig > > ariWlanXList.Sort(GB.Ascent) > ---------------------------------------------------------- > > So for example, if wlan0 is found then sWlanX will be a string "0". > When I run the program in the IDE, the debugger spits out the Null Object > error and then jumps to the "ariWlanXList.Add(Val(sWlanX))" line. > ariWlanXList is an interger array. > My intention is then to sort the array to find the highest interface > number. > > Any idea why this happens? What should I fix? The "Null Object" error is > rather vague.... Which version of Gambas do you use? -- Benoit Minisini From gambas at ...1... Sat Jun 2 14:05:38 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jun 2007 14:05:38 +0200 Subject: [Gambas-user] MySQL stored procedures execution problem In-Reply-To: <160104.77196.qm@...1712...> References: <160104.77196.qm@...1712...> Message-ID: <200706021405.38735.gambas@...1...> On jeudi 31 mai 2007, Leandro Anthonioz Blanc wrote: > Hi Benoit, thanks for you reply. I update to "HEAD" Gambas project version > from subversion repository and recompile it. Error "Query failed: Commands > out of sync; you can't run this command now" does not occurs anymore. > However, if I execute same stored procedure several times rapidly, now > appears error "Query failed: Lost connection to MySQL server during query". > I mean, if i execute the stored procedure dozens of times but waiting at > least one second between every execution, no error occurs (never). But, if > I execute the stored procedure rapidly (without pause), this error raise > inmediately. I test this several times and the behaviour is consistent. > Thank you very much. > Can you use DB.Debug = TRUE to see what SQL commands are sent to the mysql client library? This way, you will be able to see if by sending the same commands rapidly by hand with the 'mysql' command, you get the same error. Regards, -- Benoit Minisini From easuter at ...626... Sat Jun 2 14:13:47 2007 From: easuter at ...626... (easuter) Date: Sat, 2 Jun 2007 05:13:47 -0700 (PDT) Subject: [Gambas-user] Adding integers to an array fails with "Null Object" error In-Reply-To: <200706021403.31468.gambas@...1...> References: <10925241.post@...1379...> <200706021403.31468.gambas@...1...> Message-ID: <10926741.post@...1379...> >Which version of Gambas do you use? > >-- >Benoit Minisini Its Gambas 1.0.17. Sorry, forgot to mention this in my first post :-\ -- View this message in context: http://www.nabble.com/Adding-integers-to-an-array-fails-with-%22Null-Object%22-error-tf3856140.html#a10926741 Sent from the gambas-user mailing list archive at Nabble.com. From rohnny at ...1248... Sat Jun 2 21:06:45 2007 From: rohnny at ...1248... (R. Stormo) Date: Sat, 2 Jun 2007 12:06:45 -0700 (PDT) Subject: [Gambas-user] Error compiling svn 406 In-Reply-To: <200706021402.18511.gambas@...1...> References: <10915752.post@...1379...> <200706021402.18511.gambas@...1...> Message-ID: <10930339.post@...1379...> Benoit Minisini wrote: > > On vendredi 01 juin 2007, R. Stormo wrote: >> Get an error when trying to compile svn version 406. >> >> Ubuntu Fiesty 7.04 >> >> Done this when error occoured >> ./reconf-all >> ./configure >> make >> >> --snip >> ity=hidden -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF >> .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o >> CFont.cpp:35:26: error: gb.form.font.h: No such file or directory >> CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': >> CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope >> CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope >> CFont.cpp: In function 'void CFONT_get(void*, void*)': >> CFont.cpp:221: warning: unused variable '_p' >> make[4]: *** [CFont.lo] Error 1 >> make[4]: Leaving directory `/home/roh >> >> >> --snap >> >> >> Cheers Rohnny >> >> >> My Gambas Community http://gambasforum.tk > > Did you reconfigure the package? (./reconf-all; ./configure -C) > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Yes I did reconf-all and configure but not with the -C parameter. So I tried this also , this was the same result. Cheers Rohnny My Gambas community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Error-compiling-svn-406-tf3853169.html#a10930339 Sent from the gambas-user mailing list archive at Nabble.com. From rohnny at ...1248... Sun Jun 3 07:49:15 2007 From: rohnny at ...1248... (R. Stormo) Date: Sat, 2 Jun 2007 22:49:15 -0700 (PDT) Subject: [Gambas-user] Error compiling svn 406 In-Reply-To: <200706021402.18511.gambas@...1...> References: <10915752.post@...1379...> <200706021402.18511.gambas@...1...> Message-ID: <10933935.post@...1379...> Benoit Minisini wrote: > > On vendredi 01 juin 2007, R. Stormo wrote: >> Get an error when trying to compile svn version 406. >> >> Ubuntu Fiesty 7.04 >> >> Done this when error occoured >> ./reconf-all >> ./configure >> make >> >> --snip >> ity=hidden -g -Os -fno-omit-frame-pointer -MT CFont.lo -MD -MP -MF >> .deps/CFont.Tpo -c CFont.cpp -fPIC -DPIC -o .libs/CFont.o >> CFont.cpp:35:26: error: gb.form.font.h: No such file or directory >> CFont.cpp: In function 'void CFONT_manage(int, CFONT*, void*)': >> CFont.cpp:79: error: 'SIZE_TO_GRADE' was not declared in this scope >> CFont.cpp:99: error: 'GRADE_TO_SIZE' was not declared in this scope >> CFont.cpp: In function 'void CFONT_get(void*, void*)': >> CFont.cpp:221: warning: unused variable '_p' >> make[4]: *** [CFont.lo] Error 1 >> make[4]: Leaving directory `/home/roh >> >> >> --snap >> >> >> Cheers Rohnny >> >> >> My Gambas Community http://gambasforum.tk > > Did you reconfigure the package? (./reconf-all; ./configure -C) > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > svn 408 compiled ok thanks, :D Cheers Rohnny My Gambas Community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Error-compiling-svn-406-tf3853169.html#a10933935 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Jun 3 11:33:23 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 3 Jun 2007 11:33:23 +0200 Subject: [Gambas-user] Non terminated string in form definition error in 1.9.49 opening a 1.9.47 project In-Reply-To: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> References: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> Message-ID: <200706031133.23750.gambas@...1...> On jeudi 31 mai 2007, Jose J. Rodriguez wrote: > As the subject says, I'm getting a "Non terminated string in form > definition" error when compiling a 1.9.47 project in 1.9.49. I've > checked the offending from file in a text editor and can't figure out > what the problem could be. > > Regards, > Joe1962 > This has been fixed in the last revision. You have to open the form, modify it, and save it again to fix the file. Regards, -- Benoit Minisini From easuter at ...626... Sun Jun 3 19:44:17 2007 From: easuter at ...626... (easuter) Date: Sun, 3 Jun 2007 10:44:17 -0700 (PDT) Subject: [Gambas-user] Adding integers to an array fails with "Null Object" error In-Reply-To: <10925241.post@...1379...> References: <10925241.post@...1379...> Message-ID: <10938825.post@...1379...> By the way, I also tried using ariWlanXList.Insert, but the results are the same (Null object error). Not sure what the difference between .Insert and .Add are, but in either case I'm stuck :( This is still in Gambas 1.0.17 -- View this message in context: http://www.nabble.com/Adding-integers-to-an-array-fails-with-%22Null-Object%22-error-tf3856140.html#a10938825 Sent from the gambas-user mailing list archive at Nabble.com. From joe1962 at ...626... Sun Jun 3 21:33:49 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sun, 3 Jun 2007 16:33:49 -0300 Subject: [Gambas-user] Non terminated string in form definition error in 1.9.49 opening a 1.9.47 project In-Reply-To: <200706031133.23750.gambas@...1...> References: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> <200706031133.23750.gambas@...1...> Message-ID: <6c208f950706031233s470ec12al5d8fff25e19039dd@...627...> On 6/3/07, Benoit Minisini wrote: > On jeudi 31 mai 2007, Jose J. Rodriguez wrote: > > As the subject says, I'm getting a "Non terminated string in form > > definition" error when compiling a 1.9.47 project in 1.9.49. I've > > checked the offending from file in a text editor and can't figure out > > what the problem could be. > > > > Regards, > > Joe1962 > > > > This has been fixed in the last revision. > > You have to open the form, modify it, and save it again to fix the file. > I'm afraid this is not working. Also, on one of the attempts I closed the IDE without first saving and up came the modified files dialog. Clicking on save all seems to do nothing and the dialog just stays there. I was necessary to cancel and save manually. Regards, Joe1962 From leandro_anthonioz at ...43... Tue Jun 5 15:10:23 2007 From: leandro_anthonioz at ...43... (lanthonioz) Date: Tue, 5 Jun 2007 06:10:23 -0700 (PDT) Subject: [Gambas-user] MySQL stored procedures execution problem In-Reply-To: <200706021405.38735.gambas@...1...> References: <723060.32661.qm@...1707...> <160104.77196.qm@...1712...> <200706021405.38735.gambas@...1...> Message-ID: <10969111.post@...1379...> Hi Benoit, I make a mistake in an earlier post (sorry!). Error "Commands out of sync; you can't run this command now" still occurs. I was test code in two different places. Both machines has very similar MySQL version (5.0.24 and 5.0.26). But I discover that error "Lost connection to MySQL server during query" occurs in MySQL 5.0.24 and error "Commands out of sync; you can't run this command now" occurs in MySQL 5.0.26. I discover that first error (connection losted) was a MySQL C API bug fixed in MySQL 5.0.25 (see http://bugs.mysql.com/bug.php?id=15752). Now, I upgrade to MySQL 5.0.41 both machines and recompile gb.db.mysql, but error "Commands out of sync" still occurs from Gambas. This error occurs whenever I execute for second time a stored procedure that retrieves data. No error occurs with stored procedures that not returns any data. Elapsed time between both executions doesn't produce any difference. Both machines have Gambas 1.9.49, subversion revision 404 (may 30). Following your suggestion, I put DB.Debug=True in my code, copy console output in mysql command line client and execute it. No error occurs from MySQL command line. However, I can avoid this error in Gambas closing and reopening connection before call a stored procedure. Therefore, is not a "critical" error and maybe is caused by a MySQL C API bug too. Don't worry about this. Thank you very much. Benoit Minisini wrote: > > On jeudi 31 mai 2007, Leandro Anthonioz Blanc wrote: >> Hi Benoit, thanks for you reply. I update to "HEAD" Gambas project >> version >> from subversion repository and recompile it. Error "Query failed: >> Commands >> out of sync; you can't run this command now" does not occurs anymore. >> However, if I execute same stored procedure several times rapidly, now >> appears error "Query failed: Lost connection to MySQL server during >> query". >> I mean, if i execute the stored procedure dozens of times but waiting at >> least one second between every execution, no error occurs (never). But, >> if >> I execute the stored procedure rapidly (without pause), this error raise >> inmediately. I test this several times and the behaviour is consistent. >> Thank you very much. >> > > Can you use DB.Debug = TRUE to see what SQL commands are sent to the mysql > client library? This way, you will be able to see if by sending the same > commands rapidly by hand with the 'mysql' command, you get the same error. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/MySQL-stored-procedures-execution-problem-tf3834541.html#a10969111 Sent from the gambas-user mailing list archive at Nabble.com. From vince.scott at ...770... Tue Jun 5 16:53:21 2007 From: vince.scott at ...770... (Vince Scott) Date: Tue, 5 Jun 2007 09:53:21 -0500 Subject: [Gambas-user] Text Over an Image on Button Message-ID: Hello All, Does anyone know how to overlay a label on an image on a button or toolbutton? Thanks, Vince Scott From gareth at ...1689... Tue Jun 5 18:48:15 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 5 Jun 2007 17:48:15 +0100 (BST) Subject: [Gambas-user] MySQL Errors ... Message-ID: <14308960.1121181062095450.JavaMail.root@...1708...> Hi, Can anyone tell me if there's an easy way to get the error number back from the MySQL driver ? Currently Error.Code seems to return -1 irrespective of the error experienced by the underlying driver ... ? (I need to be able to differentiate between a server disconnection and an update failure, without having to text scan the error text ...) tia Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From leandro_anthonioz at ...43... Wed Jun 6 12:46:36 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Wed, 6 Jun 2007 03:46:36 -0700 (PDT) Subject: [Gambas-user] Field names with uppercase letters Message-ID: <875784.76857.qm@...1713...> Hi!, I wish make a suggestion I need create tables in MySQL programatically. For example: Dim hTable as Table hTable = hConn.Tables.Add(MyTable, InnoDB) WITH hTable .Fields.Add(RecordId, db.Serial) .Fields.Add(VeryLongFieldName, db.String, 250) .PrimaryKey = [RecordId] .Update END WITH Although table is created, field names are generated in Gambas 1.9.49 with lowercase letters only (verylongfieldname instead of VeryLongFieldName). Since I have to create a database with 62 tables and many long field names, I appreciate that field names includes lower and upper letters. I discover that lowercase letters are forced by line DB_LowerString(info->name); of CFIELD_add method in main/lib/db/CField.c file. Perhaps this change will be useful for others. Could this change be included in trunk repository? Thank you very much. --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. From nogueira_jr at ...172... Wed Jun 6 15:20:22 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Wed, 6 Jun 2007 10:20:22 -0300 Subject: [Gambas-user] View translations Message-ID: <20070606_132022_095953.nogueira_jr@...172...> Hi Benoit and ALL: My application also uses another language. My language default is the Portuguese and I have translation for the English and Spanish. My question: How I can see my program in these languages? "Abra?os" from Brazil Nogueira From 7ukwn at ...402... Wed Jun 6 15:28:53 2007 From: 7ukwn at ...402... (Jean-Yves F. Barbier) Date: Wed, 06 Jun 2007 15:28:53 +0200 Subject: [Gambas-user] View translations In-Reply-To: <20070606_132022_095953.nogueira_jr@...172...> References: <20070606_132022_095953.nogueira_jr@...172...> Message-ID: <4666B695.80600@...402...> correct me if I am wrong, but I'd say put a line such as: LANGUAGE=en_EN (or es_ES) in /etc/environment JY nogueira_jr wrote: > Hi Benoit and ALL: > > My application also uses another language. > > My language default is the Portuguese and I have translation for the English > and Spanish. > > My question: How I can see my program in these languages? > > "Abra?os" from Brazil > Nogueira > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- I realize that today you have a number of top female athletes such as Martina Navratilova who can run like deer and bench-press Chevrolet trucks. But to be brutally frank, women as a group have a long way to go before they reach the level of intensity and dedication to sports that enables men to be such incredible jerks about it. -- Dave Barry, "Sports is a Drag" From rospolosco at ...152... Wed Jun 6 16:01:22 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 6 Jun 2007 16:01:22 +0200 Subject: [Gambas-user] View translations In-Reply-To: <20070606_132022_095953.nogueira_jr@...172...> References: <20070606_132022_095953.nogueira_jr@...172...> Message-ID: <200706061601.22767.rospolosco@...152...> Alle 15:20, mercoled? 6 giugno 2007, nogueira_jr ha scritto: > Hi Benoit and ALL: > > My application also uses another language. > > My language default is the Portuguese and I have translation for the > English and Spanish. > > My question: How I can see my program in these languages? > > "Abra?os" from Brazil > Nogueira at console run: export LANG=es_ES; run_your_application export LANG=en_US; run_your_application Stefano From handriolijr at ...626... Wed Jun 6 16:03:23 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 6 Jun 2007 11:03:23 -0300 Subject: [Gambas-user] CygWin Message-ID: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> Any news on compiling Gambas on a CygWin system? I really need to port my Gambas Project with me. My notebook is windows vista (arghhhh) and there is a problem, because i cant install linux on it... The BIOS do not allow another OS, unless Windows..... Well, if anyone knows... let me know! Regards... hamilton From gambas.fr at ...626... Wed Jun 6 16:11:26 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 6 Jun 2007 16:11:26 +0200 Subject: [Gambas-user] CygWin In-Reply-To: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> References: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> Message-ID: <6324a42a0706060711m4b91dc3fn28d70fb334e1c234@...627...> what is that bios ! M$ have found a new fatal weapon ! the consol part compile on cygwin (compiler, interpreter... ) but none of the other parts... gambas is a linux app 2007/6/6, Hamilton Geminiano Andrioli Junior : > > Any news on compiling Gambas on a CygWin system? I really need to port my > Gambas Project with me. My notebook is windows vista (arghhhh) and there is > a problem, because i cant install linux on it... The BIOS do not allow > another OS, unless Windows..... > > Well, if anyone knows... let me know! > > Regards... > > hamilton > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nogueira_jr at ...172... Wed Jun 6 16:37:00 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Wed, 6 Jun 2007 11:37:00 -0300 Subject: [Gambas-user] View translations 2 Message-ID: <20070606_143700_002282.nogueira_jr@...172...> Hi ALL: It did not give certain to modify LANGUAGE=en_EN in /etc/environment AND export LANG=en_US........ Exactly in the console, my program continues in Portuguese. What I must be making wrong? Tks Nogueira From rospolosco at ...152... Wed Jun 6 16:52:53 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 6 Jun 2007 16:52:53 +0200 Subject: [Gambas-user] View translations 2 In-Reply-To: <20070606_143700_002282.nogueira_jr@...172...> References: <20070606_143700_002282.nogueira_jr@...172...> Message-ID: <200706061652.53250.rospolosco@...152...> Alle 16:37, mercoled? 6 giugno 2007, nogueira_jr ha scritto: > Hi ALL: > > It did not give certain to modify LANGUAGE=en_EN in /etc/environment AND > export LANG=en_US........ > > Exactly in the console, my program continues in Portuguese. > > What I must be making wrong? > > Tks > Nogueira if you try: export LANG=fr_FR; gambas2 do you see Gambas IDE in French? From pvera at ...729... Wed Jun 6 17:09:56 2007 From: pvera at ...729... (Pablo Vera) Date: Wed, 06 Jun 2007 10:09:56 -0500 Subject: [Gambas-user] CygWin In-Reply-To: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> References: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> Message-ID: <4666CE44.9090005@...729...> The BIOS doesn't allow Linux ???, sorry for saying this, but in your place I would sell that laptop and by me a decent one. Anyway, have you tried VMware ?, you can create a VM with the flavor of Linux you like best and have Gambas in it. I work the other way around, I have Linux and VMware with a WinXP VM in which I develop and run VB programs. Pablo _____________________________________________________________________ Hamilton Geminiano Andrioli Junior wrote: > Any news on compiling Gambas on a CygWin system? I really need to port my Gambas Project with me. My notebook is windows vista (arghhhh) and there is a problem, because i cant install linux on it... The BIOS do not allow another OS, unless Windows..... > > Well, if anyone knows... let me know! > > Regards... > > hamilton > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nogueira_jr at ...172... Wed Jun 6 17:17:29 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Wed, 6 Jun 2007 12:17:29 -0300 Subject: [Gambas-user] View translations 2 Message-ID: <20070606_151729_021821.nogueira_jr@...172...> |if you try: | |export LANG=fr_FR; gambas2 | |do you see Gambas IDE in French? No... in Portuguese (my default language). Nogueira From rospolosco at ...152... Wed Jun 6 17:38:54 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 6 Jun 2007 17:38:54 +0200 Subject: [Gambas-user] View translations 2 In-Reply-To: <20070606_151729_021821.nogueira_jr@...172...> References: <20070606_151729_021821.nogueira_jr@...172...> Message-ID: <200706061738.54943.rospolosco@...152...> Alle 17:17, mercoled? 6 giugno 2007, nogueira_jr ha scritto: > |if you try: > | > |export LANG=fr_FR; gambas2 > | > |do you see Gambas IDE in French? > > No... in Portuguese (my default language). > > Nogueira uhm... I suggest you to post something about your operating system, so someone else could help you. Probably your system doesn't use the LANG variable. Try this command: set and look for the variable that refers to Portoguese. From nogueira_jr at ...172... Wed Jun 6 17:50:26 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Wed, 6 Jun 2007 12:50:26 -0300 Subject: [Gambas-user] View translations 2 Message-ID: <20070606_155026_023131.nogueira_jr@...172...> Alle 17:17, mercoled? 6 giugno 2007, nogueira_jr ha scritto: >uhm... I suggest you to post something about your operating >system, so someone else could help you. > >Probably your system doesn't use the LANG variable. Alle: I have LANG and LANGUAGE in my system with: pt_BR. My system is: Kurumin 7.0 (Debian) Nogueira From handriolijr at ...626... Wed Jun 6 18:57:02 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 6 Jun 2007 13:57:02 -0300 Subject: [Gambas-user] CygWin In-Reply-To: <4666CE44.9090005@...729...> References: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> <4666CE44.9090005@...729...> Message-ID: Yeah! The Phoenix BIOS dosen't allow linux to install. Take a look at this site... http://www.linuxquestions.org/questions/showthread.php?p=2705017 I bought this laptop for US$1700,00 and I have to use ONLY Windows!!! Regards... >From Brazil ----- Original Message ----- From: "Pablo Vera" To: "mailing list for gambas users" Sent: Wednesday, June 06, 2007 12:09 PM Subject: Re: [Gambas-user] CygWin > The BIOS doesn't allow Linux ???, sorry for saying this, but in your > place I would sell that laptop and by me a decent one. > > Anyway, have you tried VMware ?, you can create a VM with the flavor of > Linux you like best and have Gambas in it. > > I work the other way around, I have Linux and VMware with a WinXP VM in > which I develop and run VB programs. > > Pablo > _____________________________________________________________________ > > > Hamilton Geminiano Andrioli Junior wrote: >> Any news on compiling Gambas on a CygWin system? I really need to port my >> Gambas Project with me. My notebook is windows vista (arghhhh) and there >> is a problem, because i cant install linux on it... The BIOS do not allow >> another OS, unless Windows..... >> >> Well, if anyone knows... let me know! >> >> Regards... >> >> hamilton >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From handriolijr at ...626... Wed Jun 6 19:00:07 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 6 Jun 2007 14:00:07 -0300 Subject: [Gambas-user] CygWin In-Reply-To: <4666CE44.9090005@...729...> References: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> <4666CE44.9090005@...729...> Message-ID: Another search... http://www.ehomeupgrade.com/entry/3784/alert_new_phoenix If you want more information google for: A135-S2296 Toshiba Sattelite. Regards Hamilton ----- Original Message ----- From: "Pablo Vera" To: "mailing list for gambas users" Sent: Wednesday, June 06, 2007 12:09 PM Subject: Re: [Gambas-user] CygWin > The BIOS doesn't allow Linux ???, sorry for saying this, but in your > place I would sell that laptop and by me a decent one. > > Anyway, have you tried VMware ?, you can create a VM with the flavor of > Linux you like best and have Gambas in it. > > I work the other way around, I have Linux and VMware with a WinXP VM in > which I develop and run VB programs. > > Pablo > _____________________________________________________________________ > > > Hamilton Geminiano Andrioli Junior wrote: >> Any news on compiling Gambas on a CygWin system? I really need to port my >> Gambas Project with me. My notebook is windows vista (arghhhh) and there >> is a problem, because i cant install linux on it... The BIOS do not allow >> another OS, unless Windows..... >> >> Well, if anyone knows... let me know! >> >> Regards... >> >> hamilton >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From handriolijr at ...626... Wed Jun 6 19:12:30 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 6 Jun 2007 14:12:30 -0300 Subject: [Gambas-user] View translations 2 In-Reply-To: <200706061738.54943.rospolosco@...152...> References: <20070606_151729_021821.nogueira_jr@...172...> <200706061738.54943.rospolosco@...152...> Message-ID: I had GAMBAS in portuguese, it comes at svn 399 I think... Well, i had to format my computer, and now, i've installed again GAMBAS, but in English... I'm using ubuntu 7.04, in portuguese, and SVN 411. There is a Lang and a Language variabel in SET command, but export LANG=pt_BR; Gambas Still in English... Thanks a Lot! Regards from Brazil My MSN: mr_jotaerre at ...67... ----- Original Message ----- From: "Stefano Palmeri" To: "mailing list for gambas users" Sent: Wednesday, June 06, 2007 12:38 PM Subject: Re: [Gambas-user] View translations 2 Alle 17:17, mercoled? 6 giugno 2007, nogueira_jr ha scritto: > |if you try: > | > |export LANG=fr_FR; gambas2 > | > |do you see Gambas IDE in French? > > No... in Portuguese (my default language). > > Nogueira uhm... I suggest you to post something about your operating system, so someone else could help you. Probably your system doesn't use the LANG variable. Try this command: set and look for the variable that refers to Portoguese. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From dcamposf at ...626... Wed Jun 6 21:18:17 2007 From: dcamposf at ...626... (Daniel Campos) Date: Wed, 6 Jun 2007 21:18:17 +0200 Subject: [Gambas-user] CygWin In-Reply-To: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> References: <6A00438EDA79479A82D4BF4FA0C73787@...1703...> Message-ID: <7259b5ae0706061218h3e4aad00p976e388efc4d5ccb@...627...> Hi: No way to really work with Cygwin/Gambas at this moment. May be the only answer is installing VMWare or QEmu under Vista and running a virtual GNU/Linux system. Ugly, but may be it would help you. Anyway, I would return the Laptop to Toshiba, I doubt anybody can force you to use any concrete OS in a computer, this should be illegal in democratic countries at least. That piece of hardware theorically is yours, so you can do what you want with it, isn't it? Send them a good letter explaining that you will never buy a toshiba device in the future, that's a good answer. Daniel 2007/6/6, Hamilton Geminiano Andrioli Junior : > Any news on compiling Gambas on a CygWin system? I really need to port my Gambas Project with me. My notebook is windows vista (arghhhh) and there is a problem, because i cant install linux on it... The BIOS do not allow another OS, unless Windows..... > > Well, if anyone knows... let me know! > > Regards... > > hamilton > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Jun 7 01:00:56 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 7 Jun 2007 01:00:56 +0200 Subject: [Gambas-user] View translations 2 In-Reply-To: <20070606_151729_021821.nogueira_jr@...172...> References: <20070606_151729_021821.nogueira_jr@...172...> Message-ID: <200706070100.56782.gambas@...1...> On mercredi 06 juin 2007, nogueira_jr wrote: > |if you try: > | > |export LANG=fr_FR; gambas2 > | > |do you see Gambas IDE in French? > > No... in Portuguese (my default language). > > Nogueira You have two environment variable to set: LANG=fr_Fr LANGUAGE=fr_Fr gambas2 Regards, -- Benoit Minisini From nogueira_jr at ...172... Thu Jun 7 04:43:41 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Wed, 6 Jun 2007 23:43:41 -0300 Subject: [Gambas-user] View translations 2 Message-ID: <20070607_024341_090192.nogueira_jr@...172...> Hi Benoit: It would like that you it detailed the use of translations. Already I qualified my program for multi-languages and I wrote the texts in English and Spanish. I created an executable. When beginning the program, it is in my language default (Portuguese). Start a window of the console and I made: export LANG=en_US export LANGUAGE=en_US and start my program again (Still inside of the window) ... and the program opens in my language default (Portuguese)! The same thing with the Spanish... What it is necessary to make? What I am making made a mistake? In manuals I did not find as to visualize the translations. You could give more information on the translations??? I and all the members of the list would be very happy!!!! With admiration for its work with Gambas Nogueira From ronstk at ...239... Thu Jun 7 06:00:12 2007 From: ronstk at ...239... (ron) Date: Thu, 7 Jun 2007 06:00:12 +0200 Subject: [Gambas-user] View translations 2 In-Reply-To: <200706070100.56782.gambas@...1...> References: <20070606_151729_021821.nogueira_jr@...172...> <200706070100.56782.gambas@...1...> Message-ID: <200706070600.12502.ronstk@...239...> On Thursday 07 June 2007 01:00, Benoit Minisini wrote: > On mercredi 06 juin 2007, nogueira_jr wrote: > > |if you try: > > | > > |export LANG=fr_FR; gambas2 > > | > > |do you see Gambas IDE in French? > > > > No... in Portuguese (my default language). > > > > Nogueira > > You have two environment variable to set: > > LANG=fr_Fr LANGUAGE=fr_Fr gambas2 > > Regards, > Note to nogueira_jr, it must be ALL on one line! I did this method for testing dutch translation on a english based system. LANG=fr_Fr LANGUAGE=fr_Fr gambas2 About the exampleswith 'export' it should be the same export LANG=fr_FR; gambas2 If you want more lines act as one line use () ( export LANG=fr_FR export LANGUAGE=fr_FR gambas2 ) --- Ron From eilert-sprachen at ...221... Thu Jun 7 09:38:59 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 07 Jun 2007 09:38:59 +0200 Subject: [Gambas-user] IF and AND - what is more efficient? Message-ID: <4667B613.9040703@...221...> Good morning everyone, as I don't know how the Gambas interpreter handles AND clauses in IF conditions, this is where I just was contemplating about: Let's assume I've got three different strings to compare which are in a table-like structure. Only when all the three strings are right, the app is to do something with it. The priorities are that there are a lot of entries with string1, fewer ones with string2 and the least with string3, so it's advisable to sort out string1 first, then string2 and string3 as the last one. The table is rather long, and I want to save time and processor load :-) Sure it would be ok to write IF string1 = "xyz" AND string2 = "abc" AND string3 = "www" THEN but would the interpreter try to check all the three before deciding to skip the block? Might it be more advisable to check it like IF string1 = "xyz" THEN IF string2 = "abc" THEN IF string3 = "www" THEN so it wouldn't jump to the next condition at all? Or is THIS the less efficient version because of something I don't know? Regards Rolf From gambas at ...1... Thu Jun 7 11:20:18 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 7 Jun 2007 11:20:18 +0200 Subject: [Gambas-user] View translations 2 In-Reply-To: <20070607_024341_090192.nogueira_jr@...172...> References: <20070607_024341_090192.nogueira_jr@...172...> Message-ID: <200706071120.19026.gambas@...1...> On jeudi 07 juin 2007, nogueira_jr wrote: > Hi Benoit: > > It would like that you it detailed the use of translations. > Already I qualified my program for multi-languages and I wrote the texts in > English and Spanish. > I created an executable. > When beginning the program, it is in my language default (Portuguese). > > Start a window of the console and I made: > export LANG=en_US > export LANGUAGE=en_US > and start my program again (Still inside of the window) > ... and the program opens in my language default (Portuguese)! > The same thing with the Spanish... > What it is necessary to make? > What I am making made a mistake? > > In manuals I did not find as to visualize the translations. > You could give more information on the translations??? > > I and all the members of the list would be very happy!!!! > > With admiration for its work with Gambas > Nogueira Another important point I forgot: the glibc support for the language must be installed, as Gambas relies on glibc functions for translating messages. For example, on Mandriva, if I want to be able to see spanish translations, I have to install the package 'locales-es'. Regards, -- Benoit Minisini From gambas at ...1... Thu Jun 7 11:22:40 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 7 Jun 2007 11:22:40 +0200 Subject: [Gambas-user] IF and AND - what is more efficient? In-Reply-To: <4667B613.9040703@...221...> References: <4667B613.9040703@...221...> Message-ID: <200706071122.40440.gambas@...1...> On jeudi 07 juin 2007, Rolf-Werner Eilert wrote: > Good morning everyone, > > as I don't know how the Gambas interpreter handles AND clauses in IF > conditions, this is where I just was contemplating about: > > Let's assume I've got three different strings to compare which are in a > table-like structure. Only when all the three strings are right, the app > is to do something with it. The priorities are that there are a lot of > entries with string1, fewer ones with string2 and the least with > string3, so it's advisable to sort out string1 first, then string2 and > string3 as the last one. The table is rather long, and I want to save > time and processor load :-) > > Sure it would be ok to write > > IF string1 = "xyz" AND string2 = "abc" AND string3 = "www" THEN > > but would the interpreter try to check all the three before deciding to > skip the block? Might it be more advisable to check it like > > IF string1 = "xyz" THEN > IF string2 = "abc" THEN > IF string3 = "www" THEN > > so it wouldn't jump to the next condition at all? Or is THIS the less > efficient version because of something I don't know? > > Regards > > Rolf > AND always evaluates all its arguments, so if you do IF test1 AND test2 AND test3 THEN ...the three test expressions will be evaluated. If you want test2 to be evaluated only if test1 is TRUE, and so on, you must use the following syntax: IF test1 AND IF test2 AND IF test3 THEN Note that this syntax is only available in gambas 1.9.x. Regards, -- Benoit Minisini From eilert-sprachen at ...221... Thu Jun 7 11:48:44 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 07 Jun 2007 11:48:44 +0200 Subject: [Gambas-user] IF and AND - what is more efficient? In-Reply-To: <200706071122.40440.gambas@...1...> References: <4667B613.9040703@...221...> <200706071122.40440.gambas@...1...> Message-ID: <4667D47C.9020108@...221...> Benoit Minisini schrieb: > On jeudi 07 juin 2007, Rolf-Werner Eilert wrote: >> Good morning everyone, >> >> as I don't know how the Gambas interpreter handles AND clauses in IF >> conditions, this is where I just was contemplating about: >> >> Let's assume I've got three different strings to compare which are in a >> table-like structure. Only when all the three strings are right, the app >> is to do something with it. The priorities are that there are a lot of >> entries with string1, fewer ones with string2 and the least with >> string3, so it's advisable to sort out string1 first, then string2 and >> string3 as the last one. The table is rather long, and I want to save >> time and processor load :-) >> >> Sure it would be ok to write >> >> IF string1 = "xyz" AND string2 = "abc" AND string3 = "www" THEN >> >> but would the interpreter try to check all the three before deciding to >> skip the block? Might it be more advisable to check it like >> >> IF string1 = "xyz" THEN >> IF string2 = "abc" THEN >> IF string3 = "www" THEN >> >> so it wouldn't jump to the next condition at all? Or is THIS the less >> efficient version because of something I don't know? >> >> Regards >> >> Rolf >> > > AND always evaluates all its arguments, so if you do > > IF test1 AND test2 AND test3 THEN > > ...the three test expressions will be evaluated. > > If you want test2 to be evaluated only if test1 is TRUE, and so on, you must > use the following syntax: > > IF test1 AND IF test2 AND IF test3 THEN > > Note that this syntax is only available in gambas 1.9.x. > > Regards, > Ok Benoit, then I'll be happier with the old way writing IF string1 = "xyz" THEN IF string2 = "abc" THEN IF string3 = "www" THEN because I'm still using the (stable) older version. Thanks for this hint! Regards, Rolf From leandro_anthonioz at ...43... Fri Jun 8 15:53:12 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Fri, 8 Jun 2007 06:53:12 -0700 (PDT) Subject: [Gambas-user] Little DataCombo bug Message-ID: <350088.45796.qm@...1647...> Hi all! I'm designing data bound forms in Gambas 1.9.49. Controls like DataSource, DataBrowser and DataControl works perfectly. However, I discover a little DataCombo bug. Every time a form is opened, DataCombo allways shows first field different to Datacombo "Field" property, not (necessary) field marked in "Display" DataCombo property. For example: suppose I have a table like this: MyTable ------- RecordId (key) FieldOne FieldTwo If I configure a DataCombo with properties like this: cmbMyDataCombo -------------- Table: MyTable Field: RecordId Display: FieldTwo ... when forms open, MyDataCombo shows "FieldOne" field contents, not "FieldTwo" field contents. However, this can be solved executing line "Me.cmbMyDataCombo.Refresh(TRUE)" (True argument is required to solve it). After execute this line, this time DataCombo shows "FieldTwo" field content. I think problem is caused because first time that Reload sub in comp/src/gb.db.form/DataCombo.class file is executed, $sDisplay variable is not assigned yet (is an empty string), and default behaviour in such case is show first field different to "Field" DataCombo property field. But I don't know how to set $sDisplay at startup to solve it. I think that "something" should call Display_Write() property procedure before Refresh() to set $sDisplay variable. I hope this information can be useful. Thank you very much. --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. From leonardo at ...1237... Fri Jun 8 18:09:20 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 08 Jun 2007 18:09:20 +0200 Subject: [Gambas-user] Another question about aspect ratio Message-ID: <46697F30.80200@...1237...> I think I've finally found the right distro for my desktop: Mandriva 2007.1. It's based on KDE and it's higly configurable. But I'm still having problems with aspect ratios of my Gambas projects... On Suse desktop I've used a general font of 11px and I've created all my applications using that font size. But now on my new Mandriva I cannot get the same aspect ratio until I choose a font size of 12px... strange, isn't it? But 11px is the size that is correct and that I've set up on Ubuntu that is installed on my laptop too... Where's the issue? I cannot understand :-/ -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas at ...1... Fri Jun 8 19:49:48 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jun 2007 19:49:48 +0200 Subject: [Gambas-user] Little DataCombo bug In-Reply-To: <350088.45796.qm@...1647...> References: <350088.45796.qm@...1647...> Message-ID: <200706081949.48477.gambas@...1...> On vendredi 08 juin 2007, Leandro Anthonioz Blanc wrote: > Hi all! I'm designing data bound forms in Gambas 1.9.49. Controls like > DataSource, DataBrowser and DataControl works perfectly. However, I > discover a little DataCombo bug. Every time a form is opened, DataCombo > allways shows first field different to Datacombo "Field" property, not > (necessary) field marked in "Display" DataCombo property. For example: > suppose I have a table like this: > > MyTable > ------- > RecordId (key) > FieldOne > FieldTwo > > If I configure a DataCombo with properties like this: > > cmbMyDataCombo > -------------- > Table: MyTable > Field: RecordId > Display: FieldTwo > > ... when forms open, MyDataCombo shows "FieldOne" field contents, not > "FieldTwo" field contents. However, this can be solved executing line > "Me.cmbMyDataCombo.Refresh(TRUE)" (True argument is required to solve it). > After execute this line, this time DataCombo shows "FieldTwo" field > content. I think problem is caused because first time that Reload sub in > comp/src/gb.db.form/DataCombo.class file is executed, $sDisplay variable is > not assigned yet (is an empty string), and default behaviour in such case > is show first field different to "Field" DataCombo property field. But I > don't know how to set $sDisplay at startup to solve it. I think that > "something" should call Display_Write() property procedure before Refresh() > to set $sDisplay variable. I hope this information can be useful. Thank you > very much. > The bug was in the Display property that didn't call Refresh(TRUE) like the other properties. I will fix it in my next commit. Thanks for the bug report! Regards, -- Benoit Minisini From obductor at ...626... Fri Jun 8 20:34:55 2007 From: obductor at ...626... (Roberto Estevam) Date: Fri, 8 Jun 2007 18:34:55 +0000 Subject: [Gambas-user] Error Message-ID: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> Hi, when i update gambas (svn up) i write ./reconf and "sudo make install": compile.... .... ... ... .. (....) In file included from main.h:33, from gmemory.cpp:2: widgets.h:44:32: error: gb.form.properties.h: No such file or directory make[2]: ** [gmemory.lo] Erro 1 make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk/src' make[1]: ** [install-recursive] Erro 1( Erro = Error ) make[1]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk' make: ** [install-recursive] Erro 1 ( Erro = Error ) ghost at ...1714...:~/trunk$ From gambas at ...1... Fri Jun 8 21:02:34 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jun 2007 21:02:34 +0200 Subject: [Gambas-user] Error In-Reply-To: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> References: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> Message-ID: <200706082102.34630.gambas@...1...> On vendredi 08 juin 2007, Roberto Estevam wrote: > Hi, when i update gambas (svn up) i write ./reconf and "sudo make install": > compile.... > .... > ... > ... > .. > (....) > In file included from main.h:33, > from gmemory.cpp:2: > widgets.h:44:32: error: gb.form.properties.h: No such file or directory > make[2]: ** [gmemory.lo] Erro 1 > make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk/src' > make[1]: ** [install-recursive] Erro 1( Erro = Error ) > make[1]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk' > make: ** [install-recursive] Erro 1 ( Erro = Error ) > ghost at ...1714...:~/trunk$ > You must do ./reconf-all, then ./configure -C Regards, -- Benoit Minisini From obductor at ...626... Fri Jun 8 22:02:06 2007 From: obductor at ...626... (Roberto Estevam) Date: Fri, 8 Jun 2007 20:02:06 +0000 Subject: [Gambas-user] Error In-Reply-To: <200706082102.34630.gambas@...1...> References: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> <200706082102.34630.gambas@...1...> Message-ID: <13c329a90706081302t2d6216mab4d5f3dcd9ed0c9@...627...> Hello again, 1? cd trunk 2? svn up 3? ./reconf-all 4? ./configure -C and now i write "make" (....) make[4]: *** it out rule to process the the Glint.lo, is necessary by opengl.la stop make[4]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl/src' make[3]: ** [all-recursive] Erro 1 make[3]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' make[2]: ** [all] Erro 2 make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diret?rio `/home/ghost/trunk' make: ** [all] Erro 2 ghost at ...1714...:~/trunk$ Saindo do diret?rio = leaving the directory On 08/06/07, Benoit Minisini wrote: > On vendredi 08 juin 2007, Roberto Estevam wrote: > > Hi, when i update gambas (svn up) i write ./reconf and "sudo make > install": > > compile.... > > .... > > ... > > ... > > .. > > (....) > > In file included from main.h:33, > > from gmemory.cpp:2: > > widgets.h:44:32: error: gb.form.properties.h: No such file or directory > > make[2]: ** [gmemory.lo] Erro 1 > > make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk/src' > > make[1]: ** [install-recursive] Erro 1( Erro = Error ) > > make[1]: Saindo do diret?rio `/home/ghost/trunk/gb.gtk' > > make: ** [install-recursive] Erro 1 ( Erro = Error ) > > ghost at ...1714...:~/trunk$ > > > > You must do ./reconf-all, then ./configure -C > > Regards, > > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavym at ...626... Fri Jun 8 22:17:39 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 8 Jun 2007 22:17:39 +0200 Subject: [Gambas-user] Error In-Reply-To: <13c329a90706081302t2d6216mab4d5f3dcd9ed0c9@...627...> References: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> <200706082102.34630.gambas@...1...> <13c329a90706081302t2d6216mab4d5f3dcd9ed0c9@...627...> Message-ID: <200706082217.44504.lordheavym@...626...> On Friday 08 June 2007 22:02:06 Roberto Estevam wrote: > Hello again, > > 1? cd trunk > 2? svn up > 3? ./reconf-all > 4? ./configure -C > and now i write "make" > (....) > make[4]: *** it out rule to process the the Glint.lo, is necessary by > opengl.la stop > make[4]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl/src' > make[3]: ** [all-recursive] Erro 1 > make[3]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' > make[2]: ** [all] Erro 2 > make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diret?rio `/home/ghost/trunk' > make: ** [all] Erro 2 > ghost at ...1714...:~/trunk$ > > Saindo do diret?rio = leaving the directory > Oups, should be fixed now, try to resync with the svn Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Fri Jun 8 22:35:31 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jun 2007 22:35:31 +0200 Subject: [Gambas-user] Error In-Reply-To: <13c329a90706081302t2d6216mab4d5f3dcd9ed0c9@...627...> References: <13c329a90706081134g71684a1aqd1c7cd79a69119ad@...627...> <200706082102.34630.gambas@...1...> <13c329a90706081302t2d6216mab4d5f3dcd9ed0c9@...627...> Message-ID: <200706082235.32166.gambas@...1...> On vendredi 08 juin 2007, Roberto Estevam wrote: > Hello again, > > 1? cd trunk > 2? svn up > 3? ./reconf-all > 4? ./configure -C > and now i write "make" > (....) > make[4]: *** it out rule to process the the Glint.lo, is necessary by > opengl.la stop > make[4]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl/src' > make[3]: ** [all-recursive] Erro 1 > make[3]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' > make[2]: ** [all] Erro 2 > make[2]: Saindo do diret?rio `/home/ghost/trunk/gb.opengl' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diret?rio `/home/ghost/trunk' > make: ** [all] Erro 2 > ghost at ...1714...:~/trunk$ > > Saindo do diret?rio = leaving the directory > Try again, Laurent Carlier forgot to commit some files! -- Benoit Minisini From wspinto at ...1405... Sat Jun 9 00:02:18 2007 From: wspinto at ...1405... (Wellington de Souza Pinto) Date: Fri, 08 Jun 2007 19:02:18 -0300 Subject: [Gambas-user] CollumnView questions and implementacions In-Reply-To: References: Message-ID: <1181340138.4669d1ea33d46@...1540...> Hi Benoit! Any questions about ColumnView Control. The CollumnView Control use the Key for identify the row item. I like us. Only insert picture in first collumn; I'm need insert in all collumns. Only set on Background and ForeGround for all control. I'm need change background, foreground and font parameters in diferent cell. Only hide collumn with width parameter (ex. control.collumns[n].w = 0); I'm need hide the row too. The control is excelent, quick and fast. BEST my english is not very well. Reguards, Souza, Wellington ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From rospolosco at ...152... Sat Jun 9 23:55:16 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Sat, 9 Jun 2007 23:55:16 +0200 Subject: [Gambas-user] let's nominate Gambas Message-ID: <200706092355.16417.rospolosco@...152...> Let's nominate Gambas at Sourceforge.net Awards: Click the Community Choise Award logo in the download page. From joe1962 at ...626... Wed Jun 13 04:26:10 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 12 Jun 2007 23:26:10 -0300 Subject: [Gambas-user] let's nominate Gambas In-Reply-To: <200706092355.16417.rospolosco@...152...> References: <200706092355.16417.rospolosco@...152...> Message-ID: <6c208f950706121926q64aae608g17b08c0ad37ff6e7@...627...> On 6/9/07, Stefano Palmeri wrote: > Let's nominate Gambas at Sourceforge.net Awards: > > Click the Community Choise Award logo in the download page. > > Heh, did that 2 days ago... :) Thanks for posting it on the list, though. Regards, Joe1962 From gambas at ...1... Wed Jun 13 12:45:38 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 13 Jun 2007 12:45:38 +0200 Subject: [Gambas-user] Problems with mailing-list Message-ID: <200706131245.39006.gambas@...1...> It seems that the mailing-lists do not work again. I just got only two posts in the user mailing-list since last Saturday, and accessing mailing-list archives on Sourceforge returns an 'error 500, internal server error'... I didn't find any explanation from Sourceforge anywhere, so as usually, let wait and see... :-( I won't nominate Sourceforge for a mailing-list award! :-) -- Benoit Minisini From framedownunder at ...626... Wed Jun 13 19:44:42 2007 From: framedownunder at ...626... (frame down under) Date: Wed, 13 Jun 2007 19:44:42 +0200 Subject: [Gambas-user] let's nominate Gambas In-Reply-To: <6c208f950706121926q64aae608g17b08c0ad37ff6e7@...627...> References: <200706092355.16417.rospolosco@...152...> <6c208f950706121926q64aae608g17b08c0ad37ff6e7@...627...> Message-ID: <82b5035a0706131044g7a9412d8ub271fae04cbf0a36@...627...> You must register as a sourceforge user to vote. Good excuse to register at sourceforge as a user though :-) From gambas.fr at ...626... Thu Jun 14 10:42:00 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 14 Jun 2007 10:42:00 +0200 Subject: [Gambas-user] Problems with mailing-list In-Reply-To: <200706131245.39006.gambas@...1...> References: <200706131245.39006.gambas@...1...> Message-ID: <6324a42a0706140142j3df868dds8f76af1b2393a086@...627...> i've no problem here... maybe you are black listed... 2007/6/13, Benoit Minisini : > > It seems that the mailing-lists do not work again. > > I just got only two posts in the user mailing-list since last Saturday, > and > accessing mailing-list archives on Sourceforge returns an 'error 500, > internal server error'... > > I didn't find any explanation from Sourceforge anywhere, so as usually, > let > wait and see... :-( > > I won't nominate Sourceforge for a mailing-list award! :-) > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From juanramon at ...1546... Fri Jun 15 08:01:12 2007 From: juanramon at ...1546... (Juanra) Date: Fri, 15 Jun 2007 08:01:12 +0200 Subject: [Gambas-user] Problem with listbox Message-ID: <1181887272.5515.1.camel@...1700...> HELLO, I HAVE A PROGRAM DONE IN PRAWNS WITH THE FUNCIONS "LISTBOX1.CONTENTS" THAT IN GAMBAS2 DOES NOT WORK. I WANT TO COPY THE CONTENT OF THE LISTBOX IN A FILE. LINK THIS.... MCOMUN.LOGFINAL = ListBox1.Contents Dialog.Title = "GUARDAR FITXER DE VENDES ORDENAT" Dialog.Filter = ["*.*"] IF NOT Dialog.SaveFile() THEN File.Save(DIALOG.Path, MCOMUN.LOGFINAL) END IF HOW CAN I DO IT IN GAMBAS2 ?? THANK From timothy.marshal-nichols at ...247... Fri Jun 15 08:48:08 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Fri, 15 Jun 2007 07:48:08 +0100 Subject: [Gambas-user] Problem with listbox In-Reply-To: <1181887272.5515.1.camel@...1700...> Message-ID: <000001c7af19$23eb87f0$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Juanra > Sent: Friday, 15 June 2007 07:01 AM > To: mailing list for gambas users > Subject: [Gambas-user] Problem with listbox > > HELLO, > > I HAVE A PROGRAM DONE IN PRAWNS WITH THE FUNCIONS "LISTBOX1.CONTENTS" > THAT IN GAMBAS2 DOES NOT WORK. > > I WANT TO COPY THE CONTENT OF THE LISTBOX IN A FILE. > > LINK THIS.... > > MCOMUN.LOGFINAL = ListBox1.Contents > Dialog.Title = "GUARDAR FITXER DE VENDES ORDENAT" > Dialog.Filter = ["*.*"] > > IF NOT Dialog.SaveFile() THEN > File.Save(DIALOG.Path, MCOMUN.LOGFINAL) > END IF > > > HOW CAN I DO IT IN GAMBAS2 ?? > > THANK > > Hello Juanra, In Gambas 1 the List property of a ListBox was a string and each item in the ListBox was separated by a new line. In Gambas 2 this has been changed to a string array. So it is not that difficult to convert your code to gambas 2. These examples show how you can open and save the content of a ListBox to a text file. Note that that there is at least one defect with these methods. If any item strings in the ListBox contain new lines than they will be split into two lines. Maybe not what you want. ' Open a text file for display in the ListBox PUBLIC SUB ToolButtonOpen_Click() Dialog.Filter = ["Lists (*.lst)", "Text Files (*.txt)", "All Files (*)"] IF Dialog.OpenFile() THEN RETURN ListBox1.List = Split(File.Load(Dialog.Path), "\n") CATCH Message.Info("Cannot load list:
" & Dialog.Path & "
" & Error.Text) END ' Save the ListBox content to a text file PUBLIC SUB ToolButtonSave_Click() Dialog.Filter = ["Lists (*.lst)", "Text Files (*.txt)", "All Files (*)"] IF Dialog.SaveFile() THEN RETURN File.Save(Dialog.Path, ListBox1.List.Join("\n")) CATCH Message.Info("Cannot save list:
" & Dialog.Path & "
" & Error.Text) END Will this email make it? We shall see if I have been blacklisted form source forge. Or may be it was to many people voting for Gambas. Thanks 8-{)} Timothy Marshal-Nichols From eilert-sprachen at ...221... Fri Jun 15 08:51:11 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 15 Jun 2007 08:51:11 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT Message-ID: <467236DF.9030205@...221...> Hope this gets through to you, I just read about trouble on the list... When I have something like IF mydate = Date(Now) + 1 THEN this runs well (saying "tomorrow"), but when I have the variables startdate, enddate, i all of type Date, I cannot make a FOR NEXT loop with them: FOR i = startdate to enddate It results in errors about wrong datatype ("expected numeric, got date instead" etc.) Why's that? Rolf From eilert-sprachen at ...221... Fri Jun 15 08:52:26 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 15 Jun 2007 08:52:26 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT Message-ID: <4672372A.9070300@...221...> Just forgot to add: it's 1.0.18 I'm talking about! Hope this gets through to you, I just read about trouble on the list... When I have something like IF mydate = Date(Now) + 1 THEN this runs well (saying "tomorrow"), but when I have the variables startdate, enddate, i all of type Date, I cannot make a FOR NEXT loop with them: FOR i = startdate to enddate It results in errors about wrong datatype ("expected numeric, got date instead" etc.) Why's that? Rolf From ifrbose at ...626... Fri Jun 15 10:23:13 2007 From: ifrbose at ...626... (Francis Bosco) Date: Fri, 15 Jun 2007 13:53:13 +0530 Subject: [Gambas-user] How to work with databases in Gambas Message-ID: I have installed Gambas and working with basic applications. Now as I want to do some projects, have to use databases. How can I correct databases with Gambas application & how to make my application as installable package? Or suggest me any manuals & user groups where I can get all of those details. -- Regards Bose. Registered Linux User #441045 (counter.li.org) Passion - Some people climb mountains - others write Free software. Don't ask why - the reason is the same. From amurphy at ...1634... Fri Jun 15 15:05:03 2007 From: amurphy at ...1634... (Allen Murphy) Date: Fri, 15 Jun 2007 09:05:03 -0400 Subject: [Gambas-user] How to work with databases in Gambas In-Reply-To: References: Message-ID: <1181912703.5707.3.camel@...1715...> Here is article from an issue of Linux Journal that introduces using Gambas with a MySQL database: http://www.linuxjournal.com/article/8481 Hope this helps, Allen On Fri, 2007-06-15 at 13:53 +0530, Francis Bosco wrote: > I have installed Gambas and working with basic applications. Now as I want > to do some projects, have to use databases. How can I correct databases with > Gambas application & how to make my application as installable package? > Or suggest me any manuals & user groups where I can get all of those > details. > From david_villalobos_c at ...43... Fri Jun 15 15:34:06 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Fri, 15 Jun 2007 06:34:06 -0700 (PDT) Subject: [Gambas-user] How to work with databases in Gambas Message-ID: <322988.44964.qm@...1716...> You can find some examples in: http://www.gambasforge.net/ ----- Original Message ---- From: Francis Bosco To: gambas-user at lists.sourceforge.net Sent: Friday, June 15, 2007 2:23:13 AM Subject: [Gambas-user] How to work with databases in Gambas I have installed Gambas and working with basic applications. Now as I want to do some projects, have to use databases. How can I correct databases with Gambas application & how to make my application as installable package? Or suggest me any manuals & user groups where I can get all of those details. -- Regards Bose. Registered Linux User #441045 (counter.li.org) Passion - Some people climb mountains - others write Free software. Don't ask why - the reason is the same. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 From ronstk at ...239... Fri Jun 15 15:47:24 2007 From: ronstk at ...239... (ron) Date: Fri, 15 Jun 2007 15:47:24 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT In-Reply-To: <467236DF.9030205@...221...> References: <467236DF.9030205@...221...> Message-ID: <200706151547.24636.ronstk@...239...> On Friday 15 June 2007 08:51, Rolf-Werner Eilert wrote: > Hope this gets through to you, I just read about trouble on the list... > > When I have something like > > IF mydate = Date(Now) + 1 THEN > > this runs well (saying "tomorrow"), but when I have the variables > > startdate, enddate, i > > all of type Date, I cannot make a FOR NEXT loop with them: > > FOR i = startdate to enddate > > It results in errors about wrong datatype ("expected numeric, got date > instead" etc.) > > Why's that? > > Rolf For the simple 'FOR i = startval to endval' all the variables are numerical. With 'foreach i = startvar to endval' it could be a any datatype but the increment must be also of that datatype. So it must changed to 'foreach i = startvar to endval step oneday' in that case. However gambas does not support this way of working. :( Another could be 'foreach i in mydatatype_array' and here i is of same datatype as the mydatatype_array. Just also not as your requirement with an array. In other words, the example you give can't be done that way. FOR i = CINT(startdate) TO CINT(enddate) step CINT( (DAY(Now)+1)-DAY(Now) ) The step value calculate to the integer value need for 1 day. The variable i is of course integer here and if you need it as date then CDATE(i) should be used. This is the integer variant of your example. note: This is not typed as a working example (or even tested with gambas) but to explain/show how it could be done (for VB this worked for me in the past) A more appropriate way will be something like next. DIM i AS Date i=startdate DO 'your code what must be done with i ... i=i+1 ' same as DATE(Now)+1 LOOP UNTIL i=enddate ' or enddate+1 Hope this explains something. Ron From nando_f at ...951... Fri Jun 15 17:09:46 2007 From: nando_f at ...951... (nando) Date: Fri, 15 Jun 2007 11:09:46 -0400 Subject: [Gambas-user] Using Date datatype for FOR-NEXT In-Reply-To: <200706151547.24636.ronstk@...239...> References: <467236DF.9030205@...221...> <200706151547.24636.ronstk@...239...> Message-ID: <20070615150810.M77353@...1382...> I put actual dates into an array (sorted) and used FOR EACH to solve my problem. -Fernando ---------- Original Message ----------- From: ron To: info at ...394..., mailing list for gambas users Sent: Fri, 15 Jun 2007 15:47:24 +0200 Subject: Re: [Gambas-user] Using Date datatype for FOR-NEXT > On Friday 15 June 2007 08:51, Rolf-Werner Eilert wrote: > > Hope this gets through to you, I just read about trouble on the list... > > > > When I have something like > > > > IF mydate = Date(Now) + 1 THEN > > > > this runs well (saying "tomorrow"), but when I have the variables > > > > startdate, enddate, i > > > > all of type Date, I cannot make a FOR NEXT loop with them: > > > > FOR i = startdate to enddate > > > > It results in errors about wrong datatype ("expected numeric, got date > > instead" etc.) > > > > Why's that? > > > > Rolf > > For the simple 'FOR i = startval to endval' all the variables are numerical. > > With 'foreach i = startvar to endval' it could be a any datatype but the > increment must be also of that datatype. > So it must changed to 'foreach i = startvar to endval step oneday' in that case. > However gambas does not support this way of working. :( > > Another could be 'foreach i in mydatatype_array' and here i is of same datatype > as the mydatatype_array. Just also not as your requirement with an array. > > In other words, the example you give can't be done that way. > > FOR i = CINT(startdate) TO CINT(enddate) step CINT( (DAY(Now)+1)-DAY(Now) ) > The step value calculate to the integer value need for 1 day. > > The variable i is of course integer here and if you need it as date > then CDATE(i) should be used. This is the integer variant of your example. > note: > This is not typed as a working example (or even tested with gambas) but to > explain/show how it could be done (for VB this worked for me in the past) > > A more appropriate way will be something like next. > DIM i AS Date > i=startdate > DO > 'your code what must be done with i > ... > i=i+1 ' same as DATE(Now)+1 > LOOP UNTIL i=enddate ' or enddate+1 > > Hope this explains something. > > Ron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From mcturra2000 at ...370... Sun Jun 17 15:02:19 2007 From: mcturra2000 at ...370... (Mark Carter) Date: Sun, 17 Jun 2007 13:02:19 +0000 (GMT) Subject: [Gambas-user] HttpClient Message-ID: <255947.62912.qm@...1717...> I'm wondering how to use HttpClient. I've written a function: PUBLIC SUB blah() DIM h AS HttpClient DIM buffer AS String h = NEW HttpClient AS "h" h.URL = "http://www.google.com" h.Get PRINT "begin" IF Lof(h) THEN READ #h, buffer, Lof(h) PRINT buffer PRINT "end" END When I execute it, it prints out begin and end, but the buffer appears to be empty. What do I need to do? ___________________________________________________________ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk From cperrin88 at ...467... Sun Jun 17 15:31:08 2007 From: cperrin88 at ...467... (Christopher) Date: Sun, 17 Jun 2007 15:31:08 +0200 Subject: [Gambas-user] HttpClient In-Reply-To: <255947.62912.qm@...1717...> References: <255947.62912.qm@...1717...> Message-ID: <4675379C.6060106@...467...> I'm not sure if it helps but try: IF NOT EOF(h) THEN READ #h, buffer, Lof(h) I haven't tryed it and I haven't used gambas for a long time but it might help. Mark Carter schrieb: > I'm wondering how to use HttpClient. I've written a function: > > PUBLIC SUB blah() > > DIM h AS HttpClient > DIM buffer AS String > h = NEW HttpClient AS "h" > h.URL = "http://www.google.com" > h.Get > PRINT "begin" > IF Lof(h) THEN READ #h, buffer, Lof(h) > PRINT buffer > PRINT "end" > > END > > When I execute it, it prints out begin and end, but the buffer appears to be empty. What do I need to do? > > > > > > ___________________________________________________________ > What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. > http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From dcamposf at ...626... Sun Jun 17 16:19:46 2007 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 17 Jun 2007 16:19:46 +0200 Subject: [Gambas-user] HttpClient In-Reply-To: <4675379C.6060106@...467...> References: <255947.62912.qm@...1717...> <4675379C.6060106@...467...> Message-ID: <7259b5ae0706170719i272e5e3lbe2c1531760984b2@...627...> > > I'm wondering how to use HttpClient. I've written a function: > > > > PUBLIC SUB blah() HttpClient is asynchronous by default, so trying to read from the buffer after doing Get() has no sense (HTTP communications can delay some seconds in WAN). So, you have two options: 1) Wait for the Read event to get pieces of information as they arrive to the local system. 2) Put the "Async" property set to FALSE prior to Get(), that way Get() will stop the program flow until all the information is received. In that case you should use also the "TimeOut" property to set a timeout, if not, it could hang forvever if the server does not reply properly. Daniel From mcturra2000 at ...370... Sun Jun 17 16:47:57 2007 From: mcturra2000 at ...370... (Mark Carter) Date: Sun, 17 Jun 2007 14:47:57 +0000 (GMT) Subject: [Gambas-user] HttpClient Message-ID: <505944.91086.qm@...1717...> I'm using Gambas 1.0.15 on Ubuntu. HttpClient doesn't have the Async or Timeout property. Do I need to upgrade? ----- Original Message ---- From: Daniel Campos To: mailing list for gambas users Sent: Sunday, 17 June, 2007 3:19:46 PM Subject: Re: [Gambas-user] HttpClient > > I'm wondering how to use HttpClient. I've written a function: > > > > PUBLIC SUB blah() HttpClient is asynchronous by default, so trying to read from the buffer after doing Get() has no sense (HTTP communications can delay some seconds in WAN). So, you have two options: 1) Wait for the Read event to get pieces of information as they arrive to the local system. 2) Put the "Async" property set to FALSE prior to Get(), that way Get() will stop the program flow until all the information is received. In that case you should use also the "TimeOut" property to set a timeout, if not, it could hang forvever if the server does not reply properly. Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From dcamposf at ...626... Sun Jun 17 18:01:07 2007 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 17 Jun 2007 18:01:07 +0200 Subject: [Gambas-user] HttpClient In-Reply-To: <505944.91086.qm@...1717...> References: <505944.91086.qm@...1717...> Message-ID: <7259b5ae0706170901p61c52f3bwf2613da78b8e9b89@...627...> Hi: We'll you'd need to upgrade to 1.9.49 if you want to use the second sollution, anyway with Gambas 1.0 you can use a trick, if you do not want to manage events: MyClient.Get() DO WHILE MyClient.Status<>0 WAIT 0.01 LOOP IF MyClientStatus<0 THEN PRINT "ERROR" ELSE ' READ DATA FROM MyClient END IF > I'm using Gambas 1.0.15 on Ubuntu. HttpClient doesn't have the Async or Timeout property. Do I need to upgrade? > > ----- Original Message ---- > From: Daniel Campos > To: mailing list for gambas users > Sent: Sunday, 17 June, 2007 3:19:46 PM > Subject: Re: [Gambas-user] HttpClient > > > > I'm wondering how to use HttpClient. I've written a function: > > > > > > PUBLIC SUB blah() > > HttpClient is asynchronous by default, so trying to read from the > buffer after doing Get() has no sense (HTTP communications can delay > some seconds in WAN). So, you have two options: > > 1) Wait for the Read event to get pieces of information as they arrive > to the local system. > > 2) Put the "Async" property set to FALSE prior to Get(), that way > Get() will stop the program flow until all the information is > received. In that case you should use also the "TimeOut" property to > set a timeout, if not, it could hang forvever if the server does not > reply properly. > > Daniel > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ___________________________________________________________ > Yahoo! Answers - Got a question? Someone out there knows the answer. Try it > now. > http://uk.answers.yahoo.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mcturra2000 at ...370... Sun Jun 17 19:27:39 2007 From: mcturra2000 at ...370... (Mark Carter) Date: Sun, 17 Jun 2007 17:27:39 +0000 (GMT) Subject: [Gambas-user] HttpClient Message-ID: <257464.78722.qm@...1718...> Cheers. I've managed to get stuff to work. I'd like to document it at the wiki, and have sent a request to the Gambas wiki for this purpose. ----- Original Message ---- From: Daniel Campos To: mailing list for gambas users Sent: Sunday, 17 June, 2007 3:19:46 PM Subject: Re: [Gambas-user] HttpClient > > I'm wondering how to use HttpClient. I've written a function: > > > > PUBLIC SUB blah() HttpClient is asynchronous by default, so trying to read from the buffer after doing Get() has no sense (HTTP communications can delay some seconds in WAN). So, you have two options: 1) Wait for the Read event to get pieces of information as they arrive to the local system. 2) Put the "Async" property set to FALSE prior to Get(), that way Get() will stop the program flow until all the information is received. In that case you should use also the "TimeOut" property to set a timeout, if not, it could hang forvever if the server does not reply properly. Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From eilert-sprachen at ...221... Mon Jun 18 08:16:43 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 18 Jun 2007 08:16:43 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT In-Reply-To: <200706151547.24636.ronstk@...239...> References: <467236DF.9030205@...221...> <200706151547.24636.ronstk@...239...> Message-ID: <4676234B.20302@...221...> Hi Ron, Thanks a lot for that explanation. > FOR i = CINT(startdate) TO CINT(enddate) step CINT( (DAY(Now)+1)-DAY(Now) ) > The step value calculate to the integer value need for 1 day. Actually, I tried this but without the Step thing - so it failed. > A more appropriate way will be something like next. > DIM i AS Date > i=startdate > DO > 'your code what must be done with i > ... > i=i+1 ' same as DATE(Now)+1 > LOOP UNTIL i=enddate ' or enddate+1 Yep, this is what instantly springs to my mind, too. Meanwhile I built my own function with a lot of counting, increasing, decreasing and IFs and stuff. Maybe I'll try and replace it by this simpler way. > > Hope this explains something. Oh yes, thank you very much again :-) Rolf From eilert-sprachen at ...221... Mon Jun 18 08:21:22 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 18 Jun 2007 08:21:22 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT In-Reply-To: <20070615150810.M77353@...1382...> References: <467236DF.9030205@...221...> <200706151547.24636.ronstk@...239...> <20070615150810.M77353@...1382...> Message-ID: <46762462.3030707@...221...> I did this at another place in the program, but with dates which were produced by the program. Here I was looking for a way to produce random dates at any point of start to any point of end (when the user clicks "one day ahead" or "one day back"). Meanwhile I built a small thing that can calculate the dates itself, using a lot of increasing, decreasing and IFs and stuff. But Ron's idea is good, isn't it? Rolf nando schrieb: > I put actual dates into an array (sorted) and used FOR EACH to solve my problem. > -Fernando > > > ---------- Original Message ----------- > From: ron > To: info at ...394..., mailing list for gambas users > Sent: Fri, 15 Jun 2007 15:47:24 +0200 > Subject: Re: [Gambas-user] Using Date datatype for FOR-NEXT > >> On Friday 15 June 2007 08:51, Rolf-Werner Eilert wrote: >>> Hope this gets through to you, I just read about trouble on the list... >>> >>> When I have something like >>> >>> IF mydate = Date(Now) + 1 THEN >>> >>> this runs well (saying "tomorrow"), but when I have the variables >>> >>> startdate, enddate, i >>> >>> all of type Date, I cannot make a FOR NEXT loop with them: >>> >>> FOR i = startdate to enddate >>> >>> It results in errors about wrong datatype ("expected numeric, got date >>> instead" etc.) >>> >>> Why's that? >>> >>> Rolf >> For the simple 'FOR i = startval to endval' all the variables are numerical. >> >> With 'foreach i = startvar to endval' it could be a any datatype but the >> increment must be also of that datatype. >> So it must changed to 'foreach i = startvar to endval step oneday' in that case. >> However gambas does not support this way of working. :( >> >> Another could be 'foreach i in mydatatype_array' and here i is of same datatype >> as the mydatatype_array. Just also not as your requirement with an array. >> >> In other words, the example you give can't be done that way. >> >> FOR i = CINT(startdate) TO CINT(enddate) step CINT( (DAY(Now)+1)-DAY(Now) ) >> The step value calculate to the integer value need for 1 day. >> >> The variable i is of course integer here and if you need it as date >> then CDATE(i) should be used. This is the integer variant of your example. >> note: >> This is not typed as a working example (or even tested with gambas) but to >> explain/show how it could be done (for VB this worked for me in the past) >> >> A more appropriate way will be something like next. >> DIM i AS Date >> i=startdate >> DO >> 'your code what must be done with i >> ... >> i=i+1 ' same as DATE(Now)+1 >> LOOP UNTIL i=enddate ' or enddate+1 >> >> Hope this explains something. >> >> Ron >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Jun 18 08:39:42 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 18 Jun 2007 08:39:42 +0200 Subject: [Gambas-user] Using Date datatype for FOR-NEXT In-Reply-To: <46762462.3030707@...221...> References: <467236DF.9030205@...221...> <20070615150810.M77353@...1382...> <46762462.3030707@...221...> Message-ID: <200706180839.42758.gambas@...1...> On lundi 18 juin 2007, Rolf-Werner Eilert wrote: > I did this at another place in the program, but with dates which were > produced by the program. > > Here I was looking for a way to produce random dates at any point of > start to any point of end (when the user clicks "one day ahead" or "one > day back"). > > Meanwhile I built a small thing that can calculate the dates itself, > using a lot of increasing, decreasing and IFs and stuff. But Ron's idea > is good, isn't it? > > Rolf > The simplest way to do arithmetic on dates is converting them to a Float number: the integer part is the number of days since the Epoch, and the fractional part is the number of hours, minutes, seconds & microsecond since the beginning of the day (0.5 is 12 hours, 0.25 is 6 hours, and so on...) So, to produce random dates between two dates, you can do that: MyRandomDate = CDate(Int(Rnd(CFloat(MyStartDate), CFloat(MyEndDate + 1)))) The MyEndDate + 1 is needed if you want MyEndDate to be in the random interval. Regards, -- Benoit Minisini From mcturra2000 at ...370... Mon Jun 18 10:26:53 2007 From: mcturra2000 at ...370... (Mark Carter) Date: Mon, 18 Jun 2007 08:26:53 +0000 (GMT) Subject: [Gambas-user] HttpClient Message-ID: <448787.11354.qm@...1719...> > Cheers. I've managed to get stuff to work. I'd like to document it at the wiki, and have sent a request to the Gambas wiki for this purpose. You can now see an example over at http://www.gambasdoc.org/help/comp/gb.net.curl/httpclient ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From dcamposf at ...626... Mon Jun 18 10:45:29 2007 From: dcamposf at ...626... (Daniel Campos) Date: Mon, 18 Jun 2007 10:45:29 +0200 Subject: [Gambas-user] HttpClient In-Reply-To: <448787.11354.qm@...1719...> References: <448787.11354.qm@...1719...> Message-ID: <7259b5ae0706180145if9b2d8bqab9f8a30dc83ff65@...627...> Thanks for your collaboration! 2007/6/18, Mark Carter : > > Cheers. I've managed to get stuff to work. I'd like to document it at the wiki, and have sent a request to the Gambas wiki for this purpose. > > > You can now see an example over at > http://www.gambasdoc.org/help/comp/gb.net.curl/httpclient > > > > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From obductor at ...626... Tue Jun 19 01:03:40 2007 From: obductor at ...626... (Roberto Estevam) Date: Mon, 18 Jun 2007 23:03:40 +0000 Subject: [Gambas-user] New Forum Message-ID: <13c329a90706181603p572d774cy2b486ea72ab5a49e@...627...> after today a new pt forum: http://gambas.site.vu/ From steven at ...1652... Tue Jun 19 17:59:47 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 19 Jun 2007 17:59:47 +0200 Subject: [Gambas-user] SHELL problems Message-ID: <200706191759.47517.steven@...1652...> Hi all, I know it's a bit of topic, but i'l try anyway : In certain circumstances i need to install a printer in the CUPS printer system. With a few shell commands, thats no problem, but .... I need to go into root -mode (su), to be able to perform this. The user (and i for that) know the root password. I cannot find a way to - set the root password from a bash script, or - convey the password question to the user and let him type it. I donnot want to enable root accounts without a password for the obvious raisons, however there is not much securety risk with the end-user. It's just a work-station with no important data, and all is allways backed-up. Anybody has any ideas ? Steven From nando_f at ...951... Tue Jun 19 18:06:39 2007 From: nando_f at ...951... (nando) Date: Tue, 19 Jun 2007 12:06:39 -0400 Subject: [Gambas-user] SHELL problems In-Reply-To: <200706191759.47517.steven@...1652...> References: <200706191759.47517.steven@...1652...> Message-ID: <20070619160515.M90910@...1382...> You want to use 'sudo' man sudo Using sudo, you can run a program as root while logged in as another user -Fernando ---------- Original Message ----------- From: Steven Lobbezoo To: gambas-user at lists.sourceforge.net Sent: Tue, 19 Jun 2007 17:59:47 +0200 Subject: [Gambas-user] SHELL problems > Hi all, > > I know it's a bit of topic, but i'l try anyway : > In certain circumstances i need to install a printer > in the CUPS printer system. > With a few shell commands, thats no problem, but .... > > I need to go into root -mode (su), to be able to perform this. > The user (and i for that) know the root password. > I cannot find a way to > - set the root password from a bash script, or > - convey the password question to the user and let him type it. > > I donnot want to enable root accounts without a password for the obvious > raisons, however there is not much securety risk with the end-user. It's just > a work-station with no important data, and all is allways backed-up. > > Anybody has any ideas ? > > Steven > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From steven at ...1652... Tue Jun 19 18:09:54 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 19 Jun 2007 18:09:54 +0200 Subject: [Gambas-user] SHELL problems In-Reply-To: <20070619160515.M90910@...1382...> References: <200706191759.47517.steven@...1652...> <20070619160515.M90910@...1382...> Message-ID: <200706191809.54943.steven@...1652...> Thanks, but no. I'll have to change the sudo config file by hand on each system to open it up. Steven Le mardi 19 juin 2007 18:06, nando a ?crit?: > You want to use 'sudo' > man sudo > Using sudo, you can run a program as root while logged in as another user > -Fernando > > > ---------- Original Message ----------- > From: Steven Lobbezoo > To: gambas-user at lists.sourceforge.net > Sent: Tue, 19 Jun 2007 17:59:47 +0200 > Subject: [Gambas-user] SHELL problems > > > Hi all, > > > > I know it's a bit of topic, but i'l try anyway : > > In certain circumstances i need to install a printer > > in the CUPS printer system. > > With a few shell commands, thats no problem, but .... > > > > I need to go into root -mode (su), to be able to perform this. > > The user (and i for that) know the root password. > > I cannot find a way to > > - set the root password from a bash script, or > > - convey the password question to the user and let him type it. > > > > I donnot want to enable root accounts without a password for the obvious > > raisons, however there is not much securety risk with the end-user. It's > > just a work-station with no important data, and all is allways backed-up. > > > > Anybody has any ideas ? > > > > Steven > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Tue Jun 19 23:56:36 2007 From: ronstk at ...239... (ron) Date: Tue, 19 Jun 2007 23:56:36 +0200 Subject: [Gambas-user] SHELL problems In-Reply-To: <200706191809.54943.steven@...1652...> References: <200706191759.47517.steven@...1652...> <20070619160515.M90910@...1382...> <200706191809.54943.steven@...1652...> Message-ID: <200706192356.36945.ronstk@...239...> On Tuesday 19 June 2007 18:09, Steven Lobbezoo wrote: > Thanks, but no. > I'll have to change the sudo config file by hand on each system to open it up. > > Steven > > With kdesu you can present a input box for the root password i.e. 'kdesu ksysguard' and you can kill/pause root processes. There is for gnome something as gtksu when I remeber well (SuSE has/had it) from man kdesu NAME kdesu - Runs a program with elevated privileges. SYNOPSIS kdesu [Qt-options] [KDE-options] [kdesu options] command DESCRIPTION Runs a program with elevated privileges. KDE su is a graphical front end to the Unix su utility. It allows you to run programs as another user by entering their password. It is not a SUID root program, but runs unprivileged. The system program su is used for acquiring special privileges. No need for sudoers file. From steven at ...1652... Wed Jun 20 14:35:39 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 20 Jun 2007 14:35:39 +0200 Subject: [Gambas-user] SHELL problems In-Reply-To: <200706192356.36945.ronstk@...239...> References: <200706191759.47517.steven@...1652...> <200706191809.54943.steven@...1652...> <200706192356.36945.ronstk@...239...> Message-ID: <200706201435.39728.steven@...1652...> Thanks Ron, Exactly what I was looking for. It's a bit strange, but works, when I do SHELL "kdesu ksysguard" wait My application window go's gray until ksysguard is started... whatever it works fine. Steven Le mardi 19 juin 2007 23:56, ron a ?crit?: > On Tuesday 19 June 2007 18:09, Steven Lobbezoo wrote: > > Thanks, but no. > > I'll have to change the sudo config file by hand on each system to open > > it up. > > > > Steven > > With kdesu you can present a input box for the root password > > i.e. 'kdesu ksysguard' and you can kill/pause root processes. > There is for gnome something as gtksu when I remeber well (SuSE has/had it) > > from man kdesu > NAME > kdesu - Runs a program with elevated privileges. > > SYNOPSIS > kdesu [Qt-options] [KDE-options] [kdesu options] command > > DESCRIPTION > Runs a program with elevated privileges. > > KDE su is a graphical front end to the Unix su utility. It allows > you to run programs as another user by entering their password. It is not a > SUID root program, but runs unprivileged. The system program su is used for > acquiring special privileges. > > No need for sudoers file. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Wed Jun 20 17:01:29 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 20 Jun 2007 17:01:29 +0200 Subject: [Gambas-user] SMTP ? Message-ID: <200706201701.30110.steven@...1652...> Hi, Did anything changed in one of the last trunks on the interface to libsmtp? I have this codesnippet : tmp = file.Load(User.Home & "/request/work/tempfile.pdf") Ema.Alternative = FALSE Ema.Add(tmp, "text/pdf") Ema.Send Used to work fine, but suddenly now it gives me back : Cannot add part: bad arguments passed to libsmtp_function on the Ema.Add instruction. I checked the file (tempfile.pdf), and it's ok. btw: Ema is a SmtpClient, tmp a string Steven From gambas at ...1... Thu Jun 21 01:20:47 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 21 Jun 2007 01:20:47 +0200 Subject: [Gambas-user] SMTP ? In-Reply-To: <200706201701.30110.steven@...1652...> References: <200706201701.30110.steven@...1652...> Message-ID: <200706210120.47507.gambas@...1...> On mercredi 20 juin 2007, Steven Lobbezoo wrote: > Hi, > > Did anything changed in one of the last trunks on the interface to libsmtp? > > I have this codesnippet : > tmp = file.Load(User.Home & "/request/work/tempfile.pdf") > Ema.Alternative = FALSE > Ema.Add(tmp, "text/pdf") > Ema.Send > > Used to work fine, but suddenly now it gives me back : > > Cannot add part: bad arguments passed to libsmtp_function > > on the Ema.Add instruction. > I checked the file (tempfile.pdf), and it's ok. > btw: Ema is a SmtpClient, tmp a string > > Steven > Strange... Can you send me your pdf file? Regards, -- Benoit Minisini From gambas at ...1... Thu Jun 21 02:32:25 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 21 Jun 2007 02:32:25 +0200 Subject: [Gambas-user] New Forum In-Reply-To: <13c329a90706181603p572d774cy2b486ea72ab5a49e@...627...> References: <13c329a90706181603p572d774cy2b486ea72ab5a49e@...627...> Message-ID: <200706210232.25507.gambas@...1...> On mardi 19 juin 2007, Roberto Estevam wrote: > after today a new pt forum: http://gambas.site.vu/ Thanks, I put the link on the web site. -- Benoit Minisini From steven at ...1652... Fri Jun 22 14:17:45 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 22 Jun 2007 14:17:45 +0200 Subject: [Gambas-user] PDF file Message-ID: <200706221417.46081.steven@...1652...> I tried, to the list and to your personal mail: SMTP error from remote mailer after MAIL FROM: SIZE=1768376: ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds maximum permitted So, no dice :-( Is there no other adress ? I can give you an address on my server like benoit at ...1721... if you want to. No restrictions there ! Steven From gambas at ...1... Fri Jun 22 15:43:25 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 22 Jun 2007 15:43:25 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706221417.46081.steven@...1652...> References: <200706221417.46081.steven@...1652...> Message-ID: <200706221543.25818.gambas@...1...> On vendredi 22 juin 2007, Steven Lobbezoo wrote: > I tried, to the list and to your personal mail: > > SMTP error from remote mailer after MAIL FROM: > SIZE=1768376: > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds > maximum permitted > > So, no dice :-( > > Is there no other adress ? I can give you an address on my server like > benoit at ...1721... if you want to. No restrictions there ! > > Steven Maybe there is something in the big pdf that prevents the SMTP component for working correctly. Can you post your file on a file sharing service on the web? -- Benoit Minisini From yacc143 at ...626... Sat Jun 23 01:54:14 2007 From: yacc143 at ...626... (Andreas Kostyrka) Date: Sat, 23 Jun 2007 01:54:14 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. Message-ID: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> Hi! I'm wondering if this is a known bug, or what I'm doing wrong? $entries.Add(New("ABC", arg1)) gets changed by the IDE to $entries.Add( NEW ("ABC", arg1)) which is an Error :( TIA, Andreas From Karl.Reinl at ...9... Sat Jun 23 20:49:36 2007 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 23 Jun 2007 20:49:36 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> Message-ID: <1182624576.5471.3.camel@...40...> Salut Andreas, new is a gambas KEYWORD, and so it is changed by the IDE. UpperCase, and a leading, trailing space. Amicalment Charlie Am Samstag, den 23.06.2007, 01:54 +0200 schrieb Andreas Kostyrka: > Hi! > > I'm wondering if this is a known bug, or what I'm doing wrong? > > $entries.Add(New("ABC", arg1)) > > gets changed by the IDE to > > $entries.Add( NEW ("ABC", arg1)) > > which is an Error :( > > TIA, > > Andreas > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Jun 24 02:34:47 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Jun 2007 02:34:47 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <1182624576.5471.3.camel@...40...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <1182624576.5471.3.camel@...40...> Message-ID: <200706240234.48076.gambas@...1...> On samedi 23 juin 2007, Charlie Reinl wrote: > Salut Andreas, > > new is a gambas KEYWORD, and so it is changed by the IDE. > UpperCase, and a leading, trailing space. > > > > Amicalment > Charlie > > Am Samstag, den 23.06.2007, 01:54 +0200 schrieb Andreas Kostyrka: > > Hi! > > > > I'm wondering if this is a known bug, or what I'm doing wrong? > > > > $entries.Add(New("ABC", arg1)) > > > > gets changed by the IDE to > > > > $entries.Add( NEW ("ABC", arg1)) > > > > which is an Error :( > > > > TIA, > > > > Andreas The highlighting routine is not yet clever enough to make the difference between the two new syntaxes. This is not a big problem at the moment, as the compiler makes the difference. But you are right when wanting the highlighting routine to be as clever as the compiler. Regards, -- Benoit Minisini From obductor at ...626... Sun Jun 24 12:30:13 2007 From: obductor at ...626... (Roberto Estevam) Date: Sun, 24 Jun 2007 10:30:13 +0000 Subject: [Gambas-user] gambas-database-manager Message-ID: <13c329a90706240330k47fe3ac8w6dfc14e51a5feca5@...627...> when i click database manager give me an error: "Error This application has raised an unexpected and must abort" "[2] Connot load class "Cserver": Unable you load class file Fmain.RefreshServer.151" I write ./reconf-all and ./configure - C and does not function: ( and don't work :( From hscast at ...407... Sun Jun 24 20:28:14 2007 From: hscast at ...407... (Scott Castaline) Date: Sun, 24 Jun 2007 14:28:14 -0400 Subject: [Gambas-user] Quicky app Message-ID: <467EB7BE.7000008@...407...> I need to put together a quick app for my wife's business. Basically my thinking is a relational db with possibly just 3 tables. The first would be sort of like an address book containing some additional info. the other 2 would be similar to items in an inventory database so there would be many records that relate to one record in the main table. I need a quick way to create the forms to allow data entry, editing of exisitng records, as well as deleting records. Then I need to be able to generate reports mostly in spreadsheet style formats. I am not a programmer, but am a former computer hardware tech/eng. Although many years ago I did do some programming in school for class projects, such as COBAL, back in the early 70's. Then in the 80's I had written an app in FoxBASE+. Am I looking at the right thing in GAMBAS to accomplish what I need for the forms part and the reports? Does the IDE allow quick form design and then code generation, allowing future editing to increase capabilities of the forms and reports? Also, any recommendations in the backend (the db engine) I'm thinking of using MySQL? Is that an overkill? I will be needing a server/client environment as 2 PCs will need access to the data at the same time. Also, another glitch, my wife's PC is M$ Win2K, while mine is Linux (FC6) and anything I create now maybe unusable within 5 to 6 months, so it's got to be something thrown together that could possibly be refined at a later time, or replaced by a better made version. TIA From sourceforge-raindog2 at ...94... Sun Jun 24 21:55:40 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Jun 2007 15:55:40 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <467EB7BE.7000008@...407...> References: <467EB7BE.7000008@...407...> Message-ID: <200706241555.40843.sourceforge-raindog2@...94...> On Sunday 24 June 2007, Scott Castaline wrote: > Am I looking at the right thing in GAMBAS to accomplish what I need > for the forms part and the reports? Does the IDE allow quick form > design and then code generation, allowing future editing to > increase capabilities of the forms and reports? Also, any The report engine in Gambas is still very new, but the form editor is very mature and does exactly what you're asking for. If your wife's business needs reports more than it needs data entry forms, I'd suggest using something like OpenOffice (which will let you create data entry forms and reports, but the forms are a lot clunkier than Gambas and requires all of OpenOffice to be loaded) but if it's mostly data entry, I'd suggest using Gambas 1.x which is stable. > recommendations in the backend (the db engine) I'm thinking of > using MySQL? Is that an overkill? I will be needing a server/client > environment as 2 PCs will need access to the data at the same time. MySQL is definitely not overkill if two PCs need access to the data at the same time. In fact, I think this would make using OpenOffice that much clunkier. > Also, another glitch, my wife's PC is M$ Win2K, while mine is Linux > (FC6) and anything I create now maybe unusable within 5 to 6 > months, so it's got to be something thrown together that could > possibly be refined at a later time, or replaced by a better made > version. Gambas' graphical and database components don't run under Windows, so unless you're planning on using VNC or some other virtual desktop program, you may be out of luck. RealBASIC is available for both Windows and Linux, but costs money. I haven't had any experience with it under Linux (haven't used it since back when it was just a Mac program.) Rob From sourceforge-raindog2 at ...94... Sun Jun 24 22:08:18 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Jun 2007 16:08:18 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <200706241555.40843.sourceforge-raindog2@...94...> References: <467EB7BE.7000008@...407...> <200706241555.40843.sourceforge-raindog2@...94...> Message-ID: <200706241608.19044.sourceforge-raindog2@...94...> On Sunday 24 June 2007, Rob wrote: > On Sunday 24 June 2007, Scott Castaline wrote: > > Also, another glitch, my wife's PC is M$ Win2K, while mine is > > Linux (FC6) and anything I create now maybe unusable within 5 to > desktop program, you may be out of luck. RealBASIC is available > for both Windows and Linux, but costs money. I haven't had any Or you could just look into Openoffice's form and report creation tools, since Openoffice is free and works fine under Windows and Linux and is pretty stable (just a lot more resource intensive than Gambas.) Just make sure when you're creating your database that you're making a MySQL database and not just a local OpenOffice database. Rob From joe1962 at ...626... Sun Jun 24 22:22:07 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sun, 24 Jun 2007 17:22:07 -0300 Subject: [Gambas-user] Non terminated string in form definition error in 1.9.49 opening a 1.9.47 project In-Reply-To: <6c208f950706031233s470ec12al5d8fff25e19039dd@...627...> References: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> <200706031133.23750.gambas@...1...> <6c208f950706031233s470ec12al5d8fff25e19039dd@...627...> Message-ID: <6c208f950706241322i6fca8079s76335b4416296092@...627...> Finally figured out that the problem lies in the html text string in the TextLabel components. It was working ok in 1.9.47. Here's an example, hoping for some feedback as to what changed: Text = ("

You have 3 choices:

\n\n
    \n
  • Full-automatic install: Our easiest install yet; choose this option if you want to use your entire hard disk for VL. Your system will be automatically set up, partitions and all. WARNING: this option will DELETE everything on your hard disk, or offer a choice if there are multiple disks. There will of course be a confirmation dialog in case you selected this option by mistake.
  • \n
  • Semi-automatic install: With this option, you manually partition your drives with gparted, but the rest of the setup will be pretty automatic.
  • \n
  • Advanced install: For the technically savvy user that must do everything by hand. You can control most aspects of the install. However, there will be assisted options available all the way through, so this is a very flexible install.
  • \n
\n") Regards, Joe1962 From hscast at ...407... Mon Jun 25 00:32:25 2007 From: hscast at ...407... (Scott Castaline) Date: Sun, 24 Jun 2007 18:32:25 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <200706241608.19044.sourceforge-raindog2@...94...> References: <467EB7BE.7000008@...407...> <200706241555.40843.sourceforge-raindog2@...94...> <200706241608.19044.sourceforge-raindog2@...94...> Message-ID: <467EF0F9.5000705@...407...> Rob wrote: > On Sunday 24 June 2007, Rob wrote: >> On Sunday 24 June 2007, Scott Castaline wrote: >>> Also, another glitch, my wife's PC is M$ Win2K, while mine is >>> Linux (FC6) and anything I create now maybe unusable within 5 to >> desktop program, you may be out of luck. RealBASIC is available >> for both Windows and Linux, but costs money. I haven't had any > > Or you could just look into Openoffice's form and report creation > tools, since Openoffice is free and works fine under Windows and > Linux and is pretty stable (just a lot more resource intensive than > Gambas.) > > Just make sure when you're creating your database that you're making a > MySQL database and not just a local OpenOffice database. > > Rob > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I had originally started by trying to use OpenOffice's built in form and report creator and was unable to get the child form to work properly with the parent. Of course I was using the built in db Base. Is it possible to create the forms in Gambas and then the reports in OOo? Also I presume I create the db in MySQL first, (tables and relations etc) then in Gambas create the connection and forms? How about Queries? Can I do that in Gambas? Queries generally use forms for the UI, correct? Again TIA From sourceforge-raindog2 at ...94... Mon Jun 25 01:58:17 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Jun 2007 19:58:17 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <467EF0F9.5000705@...407...> References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> Message-ID: <200706241958.17320.sourceforge-raindog2@...94...> On Sunday 24 June 2007, Scott Castaline wrote: > db Base. Is it possible to create the forms in Gambas and then the > reports in OOo? Possible, but there's no premade Gambas component to generate the OpenOffice reports for printing yet. You'd have to generate your own XML file, zip it up into a .odt and print by shelling out to OpenOffice. And at that point you might as well just use Gambas' built-in Printer object, which is actually pretty easy to deal with but not a full-blown report generator. (Or try your luck with the recent development versions which include the gb.report component, but I personally would not use the development series for applications that were critical to my business until the stable 2.0 is released.) > Also I presume I create the db in MySQL first, > (tables and relations etc) then in Gambas create the connection and > forms? Gambas actually has a database manager if you'd rather do it all from within Gambas, but sure, you can create the DB in MySQL and set everything up before going into Gambas if you like. > How about Queries? Can I do that in Gambas? Queries > generally use forms for the UI, correct? I'm not sure what you're asking here. Queries work fine in Gambas, but queries are just commands sent to the database engine to change data or retrieve rows for displaying. For example, "select * from customers where zip = '12065';" is a query. Did you see an example of a query somewhere else that you're hoping to duplicate in Gambas, and if so, can you share it? Everything you've described so far is going to require some coding, btw. I don't know if there are any "data entry and reporting" packages for Linux that require no coding in the way that Foxpro or Access required no coding for simple data entry tasks. But even Foxpro couldn't do parent and child forms without any coding, at least when I used it (not sure about MS Access, since all the Access projects I worked on involved lots of code.) And Gambas is more analogous to Visual Basic than one of those database environments; there's no "data wizard" to automatically generate a form that retrieves, edits and saves data from a table yet, for example, though there are some data-bound controls in the development version. I certainly don't want to discourage you from trying Gambas, but I am worried that you might be expecting to not have to do much coding. Gambas is a language with a nice form designer and IDE, but it's still a programming language at heart. Rob From hscast at ...407... Mon Jun 25 03:03:55 2007 From: hscast at ...407... (Scott Castaline) Date: Sun, 24 Jun 2007 21:03:55 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <200706241958.17320.sourceforge-raindog2@...94...> References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> <200706241958.17320.sourceforge-raindog2@...94...> Message-ID: <467F147B.8080005@...407...> Rob wrote: > On Sunday 24 June 2007, Scott Castaline wrote: >> db Base. Is it possible to create the forms in Gambas and then the >> reports in OOo? > > Possible, but there's no premade Gambas component to generate the > OpenOffice reports for printing yet. You'd have to generate your own > XML file, zip it up into a .odt and print by shelling out to > OpenOffice. > > And at that point you might as well just use Gambas' built-in Printer > object, which is actually pretty easy to deal with but not a > full-blown report generator. (Or try your luck with the recent > development versions which include the gb.report component, but I > personally would not use the development series for applications that > were critical to my business until the stable 2.0 is released.) > >> Also I presume I create the db in MySQL first, >> (tables and relations etc) then in Gambas create the connection and >> forms? > > Gambas actually has a database manager if you'd rather do it all from > within Gambas, but sure, you can create the DB in MySQL and set > everything up before going into Gambas if you like. > >> How about Queries? Can I do that in Gambas? Queries >> generally use forms for the UI, correct? > > I'm not sure what you're asking here. Queries work fine in Gambas, > but queries are just commands sent to the database engine to change > data or retrieve rows for displaying. For example, "select * from > customers where zip = '12065';" is a query. Did you see an example > of a query somewhere else that you're hoping to duplicate in Gambas, > and if so, can you share it? > > Everything you've described so far is going to require some coding, > btw. I don't know if there are any "data entry and reporting" > packages for Linux that require no coding in the way that Foxpro or > Access required no coding for simple data entry tasks. But even > Foxpro couldn't do parent and child forms without any coding, at > least when I used it (not sure about MS Access, since all the Access > projects I worked on involved lots of code.) > > And Gambas is more analogous to Visual Basic than one of those > database environments; there's no "data wizard" to automatically > generate a form that retrieves, edits and saves data from a table > yet, for example, though there are some data-bound controls in the > development version. > > I certainly don't want to discourage you from trying Gambas, but I am > worried that you might be expecting to not have to do much coding. > Gambas is a language with a nice form designer and IDE, but it's > still a programming language at heart. > > Rob > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > The reason I just need something quick and dirty is that the program that my wife works for is undergoing some major changes, and how things are done today, won't be in the next 6 months. However, once the dust settles after the proverbial crap hits the fan, it may be useable with modifications, and at that point I would be interested in investing some major time into the app. I could give you more details if you want off list since this may not interest everybody else, but could be useful in more definitive advise. From erikvega13 at ...626... Mon Jun 25 03:19:53 2007 From: erikvega13 at ...626... (Erik Vega) Date: Sun, 24 Jun 2007 20:19:53 -0500 Subject: [Gambas-user] Quicky app In-Reply-To: <467F147B.8080005@...407...> References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> <200706241958.17320.sourceforge-raindog2@...94...> <467F147B.8080005@...407...> Message-ID: On 6/24/07, Scott Castaline wrote: > > Rob wrote: > > On Sunday 24 June 2007, Scott Castaline wrote: > >> db Base. Is it possible to create the forms in Gambas and then the > >> reports in OOo? > > > > Possible, but there's no premade Gambas component to generate the > > OpenOffice reports for printing yet. You'd have to generate your own > > XML file, zip it up into a .odt and print by shelling out to > > OpenOffice. > > > > And at that point you might as well just use Gambas' built-in Printer > > object, which is actually pretty easy to deal with but not a > > full-blown report generator. (Or try your luck with the recent > > development versions which include the gb.report component, but I > > personally would not use the development series for applications that > > were critical to my business until the stable 2.0 is released.) > > > >> Also I presume I create the db in MySQL first, > >> (tables and relations etc) then in Gambas create the connection and > >> forms? > > > > Gambas actually has a database manager if you'd rather do it all from > > within Gambas, but sure, you can create the DB in MySQL and set > > everything up before going into Gambas if you like. > > > >> How about Queries? Can I do that in Gambas? Queries > >> generally use forms for the UI, correct? > > > > I'm not sure what you're asking here. Queries work fine in Gambas, > > but queries are just commands sent to the database engine to change > > data or retrieve rows for displaying. For example, "select * from > > customers where zip = '12065';" is a query. Did you see an example > > of a query somewhere else that you're hoping to duplicate in Gambas, > > and if so, can you share it? > > > > Everything you've described so far is going to require some coding, > > btw. I don't know if there are any "data entry and reporting" > > packages for Linux that require no coding in the way that Foxpro or > > Access required no coding for simple data entry tasks. But even > > Foxpro couldn't do parent and child forms without any coding, at > > least when I used it (not sure about MS Access, since all the Access > > projects I worked on involved lots of code.) > > > > And Gambas is more analogous to Visual Basic than one of those > > database environments; there's no "data wizard" to automatically > > generate a form that retrieves, edits and saves data from a table > > yet, for example, though there are some data-bound controls in the > > development version. > > > > I certainly don't want to discourage you from trying Gambas, but I am > > worried that you might be expecting to not have to do much coding. > > Gambas is a language with a nice form designer and IDE, but it's > > still a programming language at heart. > > > > Rob > > > > > ------------------------------------------------------------------------- > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > The reason I just need something quick and dirty is that the program > that my wife works for is undergoing some major changes, and how things > are done today, won't be in the next 6 months. However, once the dust > settles after the proverbial crap hits the fan, it may be useable with > modifications, and at that point I would be interested in investing some > major time into the app. I could give you more details if you want off > list since this may not interest everybody else, but could be useful in > more definitive advise. > It's actually quite interesting with me. I'd love to hear more about this, then again I love anything that deals with software and programming. Love to hear more, even if it's irrelevant and a bit off-topic. From hscast at ...407... Mon Jun 25 05:42:20 2007 From: hscast at ...407... (Scott Castaline) Date: Sun, 24 Jun 2007 23:42:20 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> <200706241958.17320.sourceforge-raindog2@...94...> <467F147B.8080005@...407...> Message-ID: <467F399C.7030808@...407...> Erik Vega wrote: > It's actually quite interesting with me. I'd love to hear more about this, > then again I love anything that deals with software and programming. Love to > hear more, even if it's irrelevant and a bit off-topic. > ------------------------------------------------------------------------- Okay, you asked for it. You may want to grab a beer before continuing. We live in the Atlanta area of Georgia of the US of A. My wife is what they call a Service Coordinator or in some cases a Case Manager in the areas Early Intervention Program known as Babies Can't Wait in the Health District we live in. Her function is as an advocate for developmentally delayed infants. She assists the family in getting needed services for the child, such as Physical Therapy, Speech Therapy, Occupational Therapy, just to list a couple of things that I know of. The state of Georgia has in the past 1 - 2 years has started to make changes to the program affecting various groups in the program as well as making cuts in funds. Okay, (forgive me Lord for I will be sinning) here comes the part where I rant. An idea of what is going on can be explained in a TV ad that the Democratic challanger to the Governor used in his campaign. It showed an empty adaptive wheelchair sitting in a dark room. The message was that the Governor, had cut money to the disabled, so that he could give himself and other rich business people major tax breaks. Which had some truth to it, not all. What is happening is that these kids are being divided up and placed into different funded groups. You have some that don't meet criteria so are direct billed to the state, those are not a problem. Then the very few that are Medicaid, also no problem. The problem is with 3 groups that are called CMO's. Sonny says (the Governor) that things are working great. The CMO's are making a profit, the state is saving money. Well yeh, the CMO's are getting paid by the state, but either don't pay the providers or take a very long time to pay. There are some therapists that have just gotten paid recently for services provided almost a year ago, and then they've held back or denied payment on some services. My wife originally started back in 1998 sub- contracting to the program through another company that handled the billing and other administrative functions. They had to go out of business leaving about 35 to 50 people to have to fend for themselves. My wife of course is one of them, and is now contracted directly to the county's program BCW. I'm handling the billing and application process for her. Now the clincher, the state has just published guidelines to individual counties as to how they can restructure themselves. It looks like my wife's position could disappear. A speech therapist or a Physical Therapist, or whatever would now be expected to do Service Coordination as well as what they are supposed to be doing. Problem is that a lot of the Therapist's have stopped being providers because they couldn't afford to wait so long to be paid and then get paid for only half of what they were supposed to get. That is why I just want to throw something quick together, but something that I could then either go in and put in the needed time and work to fix up or replace. Ok end of rant. Basically I figured that based on the data my wife works with and that some of that data is reused in the billing side, I felt this called for using a DBMS of some sort. I am familiar with MySQL version 4.x and have started playing around with 5.0.1. I came up with 3 tables. The first table is similar to an address book, with client name, address, caregiver (usually parent or some guardian), a phone number(I'm thinking of 2 fields for a primary number and an alternate number might also use check boxes for home, cell, work, fax, not sure if I need that part), type of billing whether Medicaid, State Funded, Peach State Health Plan( 1 of the 3 CMO's), and Amerigroup (2nd of the 3 CMO's). The 3rd CMO refuses to pay for service coordination or provide it themselves, so that one doesn't matter. The last field would be in most cases a Medicaid number or an assigned number by the CMO. I was planning on using an autogenerated numbering system for indexing. One child table could be compared to an item table in an inventory control DB. The record would contain a medical code number referred as the ICD9 which is related to the diagnosis (ie: Cerebral Palsy). I would then have a 3rd field that contain the value from autogenerated field in the parent table for a particular client. The relation would be multiple records in the child table to one record in the parent table, through the clientID (autogenerated field in Parent Table, and 3rd field in child). I think the key for this child table could be the ICD9. The other Child Table would be a more involved version as the first child. My wife has to have at least one face to face visit(contact) with the client and caregiver and at least 3 indirects(phone calls, or other means) that can be with client/caregiver or a therapist. This table would track by date, type of contact, if face to face one of two possible locations and notes about the contact. The notes are not fixed in length but are definitely not books not even chapters. Data entry, would be centered around the parent, which only needs to be inputted once unless there are changes such as phone number change or moved to another address. The first child would be entered most likely at the same time as the client into the parent table, but a means to be able to put more that one record per client. The second child table would not necessarily be used at the time of initial entry of client into the Parent Table and the first Child Table. I would need to be able to pull up a record of an existing client and enter info pertaining to the 2nd child. So a query of the parent to find a particular client and then the option to add data to the 2nd child that is related to the query d client. The clientID field would again come into play for this child. The field can be manually filled in by user as I realize that this would involve logic that I'm not sure of to automate. It's something that I could do later. Reporting would be done once a month where one would need some fields from the Parent and the second child. A separate report for each client sorted by client and then the child info (contacts need to be sorted by date and show dat of contact, type of contact, (see description above), location of contact (if face to face), and the notes. Right now she uses a spreadsheet template that puts the client info and her name/title and date (month/year) as a header. The rest of the page is divided into 4 horizontal sections that repeat themselves broken up into the date, type, location, and notes. In some cases the notes for a particular contact will flow into multiple sections (1 to 3 sections in rows). Another report would be one of the billings directly to BCW. I am currently using a spreadsheet template that has last name, first name, Medicaid #, or State Funds, or State Funds/CMO Name, or even the comment of evalution/Not eligible, the date of face to face and dates of the first 3 indirects, and a final field of bill amount for client. This also contains a header of the form name, wife's name/title, month/year and a vendor #. I have room for 18 rows for clients and leaving 4 rows open for stamping by county accounting along with page total. Each apge looks the same with the final page containing the subtotal of each page and the final total. I'm not sure of how to determine the bill amount. The clients that are straight State Funds are billed one amount the Not Eligible another amount, dependent upon time involved (hourly rate), and CMOs and Medicaid are $0.00 amount since we bill direct but have to report it on this bill. The other bills are handled separately and at this time I'm not planning to include this in the billing part yet. I have forms that have to be hand written and mailed in, but I need to be able to pull up the info for reference from all 3 tables. This I think could be handled on a multilevel query, by client list all diag codes, and contacts for month. I guess that's about it for now, there is another report that my wife does that is similar to my state billing. I apologize for my extensive use of bandwidth, and hope that I didn't destroy too many peoples day or now night(late night for me). I can also attach the forms in OOo format on a future email if interested. I need time to convert some of them from M$Office to OOo. The billing I have in OOo already. Any suggestions or help, I would be forever indebted and if you come through Lawrenceville, GA., there's a place that serves real cold Guiness Stout Draft nearby. TIA From erikvega13 at ...626... Mon Jun 25 06:03:57 2007 From: erikvega13 at ...626... (Ash) Date: Sun, 24 Jun 2007 23:03:57 -0500 Subject: [Gambas-user] Quicky app In-Reply-To: <467F399C.7030808@...407...> References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> <200706241958.17320.sourceforge-raindog2@...94...> <467F147B.8080005@...407...> <467F399C.7030808@...407...> Message-ID: I... wow, in short, extensive. In long, I was mearly asking originally about the programming since I'm sort of new still to programming, I've learned it before but the basic steps so I understood most of what I read. Since still in HS and no job and at night, it's really over my head right now. I'd love to help if I could, if I knew how to program. Since I could spend usually from here to the end of the week around 11 hours a day on any project (Summer Break has to have some benefits) but, still way over my head. Sorry, I just, first I apologize for starting something that big. Second, I read it all and interested (eh, I'm just a sucker for nobel causes :P) and would love to know how to help, if I could at all. On 6/24/07, Scott Castaline wrote: > > Erik Vega wrote: > > > It's actually quite interesting with me. I'd love to hear more about > this, > > then again I love anything that deals with software and programming. > Love to > > hear more, even if it's irrelevant and a bit off-topic. > > > ------------------------------------------------------------------------- > > Okay, you asked for it. You may want to grab a beer before continuing. > > We live in the Atlanta area of Georgia of the US of A. My wife is what > they call a Service Coordinator or in some cases a Case Manager in the > areas Early Intervention Program known as Babies Can't Wait in the > Health District we live in. Her function is as an advocate for > developmentally delayed infants. She assists the family in getting > needed services for the child, such as Physical Therapy, Speech Therapy, > Occupational Therapy, just to list a couple of things that I know of. > The state of Georgia has in the past 1 - 2 years has started to make > changes to the program affecting various groups in the program as well > as making cuts in funds. > > Okay, (forgive me Lord for I will be sinning) here comes the part where > I rant. An idea of what is going on can be explained in a TV ad that the > Democratic challanger to the Governor used in his campaign. It showed an > empty adaptive wheelchair sitting in a dark room. The message was that > the Governor, had cut money to the disabled, so that he could give > himself and other rich business people major tax breaks. Which had some > truth to it, not all. What is happening is that these kids are being > divided up and placed into different funded groups. You have some that > don't meet criteria so are direct billed to the state, those are not a > problem. Then the very few that are Medicaid, also no problem. The > problem is with 3 groups that are called CMO's. Sonny says (the > Governor) that things are working great. The CMO's are making a profit, > the state is saving money. Well yeh, the CMO's are getting paid by the > state, but either don't pay the providers or take a very long time to > pay. There are some therapists that have just gotten paid recently for > services provided almost a year ago, and then they've held back or > denied payment on some services. My wife originally started back in 1998 > sub- contracting to the program through another company that handled the > billing and other administrative functions. They had to go out of > business leaving about 35 to 50 people to have to fend for themselves. > My wife of course is one of them, and is now contracted directly to the > county's program BCW. I'm handling the billing and application process > for her. Now the clincher, the state has just published guidelines to > individual counties as to how they can restructure themselves. It looks > like my wife's position could disappear. A speech therapist or a > Physical Therapist, or whatever would now be expected to do Service > Coordination as well as what they are supposed to be doing. Problem is > that a lot of the Therapist's have stopped being providers because they > couldn't afford to wait so long to be paid and then get paid for only > half of what they were supposed to get. That is why I just want to throw > something quick together, but something that I could then either go in > and put in the needed time and work to fix up or replace. Ok end of rant. > > Basically I figured that based on the data my wife works with and that > some of that data is reused in the billing side, I felt this called for > using a DBMS of some sort. I am familiar with MySQL version 4.x and have > started playing around with 5.0.1. I came up with 3 tables. The first > table is similar to an address book, with client name, address, > caregiver (usually parent or some guardian), a phone number(I'm thinking > of 2 fields for a primary number and an alternate number might also use > check boxes for home, cell, work, fax, not sure if I need that part), > type of billing whether Medicaid, State Funded, Peach State Health Plan( > 1 of the 3 CMO's), and Amerigroup (2nd of the 3 CMO's). The 3rd CMO > refuses to pay for service coordination or provide it themselves, so > that one doesn't matter. The last field would be in most cases a > Medicaid number or an assigned number by the CMO. I was planning on > using an autogenerated numbering system for indexing. > > One child table could be compared to an item table in an inventory > control DB. The record would contain a medical code number referred as > the ICD9 which is related to the diagnosis (ie: Cerebral Palsy). I would > then have a 3rd field that contain the value from autogenerated field in > the parent table for a particular client. The relation would be multiple > records in the child table to one record in the parent table, through > the clientID (autogenerated field in Parent Table, and 3rd field in > child). I think the key for this child table could be the ICD9. > > The other Child Table would be a more involved version as the first > child. My wife has to have at least one face to face visit(contact) with > the client and caregiver and at least 3 indirects(phone calls, or other > means) that can be with client/caregiver or a therapist. This table > would track by date, type of contact, if face to face one of two > possible locations and notes about the contact. The notes are not fixed > in length but are definitely not books not even chapters. > > Data entry, would be centered around the parent, which only needs to be > inputted once unless there are changes such as phone number change or > moved to another address. The first child would be entered most likely > at the same time as the client into the parent table, but a means to be > able to put more that one record per client. The second child table > would not necessarily be used at the time of initial entry of client > into the Parent Table and the first Child Table. I would need to be able > to pull up a record of an existing client and enter info pertaining to > the 2nd child. So a query of the parent to find a particular client and > then the option to add data to the 2nd child that is related to the > query d client. The clientID field would again come into play for this > child. The field can be manually filled in by user as I realize that > this would involve logic that I'm not sure of to automate. It's > something that I could do later. > > Reporting would be done once a month where one would need some fields > from the Parent and the second child. A separate report for each client > sorted by client and then the child info (contacts need to be sorted by > date and show dat of contact, type of contact, (see description above), > location of contact (if face to face), and the notes. Right now she uses > a spreadsheet template that puts the client info and her name/title and > date (month/year) as a header. The rest of the page is divided into 4 > horizontal sections that repeat themselves broken up into the date, > type, location, and notes. In some cases the notes for a particular > contact will flow into multiple sections (1 to 3 sections in rows). > > Another report would be one of the billings directly to BCW. I am > currently using a spreadsheet template that has last name, first name, > Medicaid #, or State Funds, or State Funds/CMO Name, or even the comment > of evalution/Not eligible, the date of face to face and dates of the > first 3 indirects, and a final field of bill amount for client. This > also contains a header of the form name, wife's name/title, month/year > and a vendor #. I have room for 18 rows for clients and leaving 4 rows > open for stamping by county accounting along with page total. Each apge > looks the same with the final page containing the subtotal of each page > and the final total. I'm not sure of how to determine the bill amount. > The clients that are straight State Funds are billed one amount the Not > Eligible another amount, dependent upon time involved (hourly rate), and > CMOs and Medicaid are $0.00 amount since we bill direct but have to > report it on this bill. The other bills are handled separately and at > this time I'm not planning to include this in the billing part yet. I > have forms that have to be hand written and mailed in, but I need to be > able to pull up the info for reference from all 3 tables. This I think > could be handled on a multilevel query, by client list all diag codes, > and contacts for month. > > I guess that's about it for now, there is another report that my wife > does that is similar to my state billing. I apologize for my extensive > use of bandwidth, and hope that I didn't destroy too many peoples day or > now night(late night for me). I can also attach the forms in OOo format > on a future email if interested. I need time to convert some of them > from M$Office to OOo. The billing I have in OOo already. > > Any suggestions or help, I would be forever indebted and if you come > through Lawrenceville, GA., there's a place that serves real cold > Guiness Stout Draft nearby. > > TIA > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From yacc143 at ...626... Mon Jun 25 12:41:56 2007 From: yacc143 at ...626... (Andreas Kostyrka) Date: Mon, 25 Jun 2007 12:41:56 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <1182624576.5471.3.camel@...40...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <1182624576.5471.3.camel@...40...> Message-ID: <4b1e2ff90706250341wdfda0ecybb90ab747ed2b70e@...627...> Trouble is that New is also a function. NEW is a keyword that can be only used in an assignment. New is the function to use instead in all other places. >From the docs that were installed with Gambas: New Syntax Object = New ( Class [ , Constructor parameters... ] ) Instantiates the class Class. This routine works exactly like the NEW operator, except that the class name is specified at runtime and not at compile time. If you want to specify the observer that will receives all the events generated by the newly created object, you must use the Object.Attach static method. Andreas 2007/6/23, Charlie Reinl : > > Salut Andreas, > > new is a gambas KEYWORD, and so it is changed by the IDE. > UpperCase, and a leading, trailing space. > > > > Amicalment > Charlie > > > Am Samstag, den 23.06.2007, 01:54 +0200 schrieb Andreas Kostyrka: > > Hi! > > > > I'm wondering if this is a known bug, or what I'm doing wrong? > > > > $entries.Add(New("ABC", arg1)) > > > > gets changed by the IDE to > > > > $entries.Add( NEW ("ABC", arg1)) > > > > which is an Error :( > > > > TIA, > > > > Andreas > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From yacc143 at ...626... Mon Jun 25 12:45:03 2007 From: yacc143 at ...626... (Andreas Kostyrka) Date: Mon, 25 Jun 2007 12:45:03 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <200706240234.48076.gambas@...1...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <1182624576.5471.3.camel@...40...> <200706240234.48076.gambas@...1...> Message-ID: <4b1e2ff90706250345w2d7764a7n5a0c1315ca99ded9@...627...> 2007/6/24, Benoit Minisini : > > The highlighting routine is not yet clever enough to make the difference > between the two new syntaxes. > > This is not a big problem at the moment, as the compiler makes the > difference. This is a big problem. I somehow think that the IDE should allow me to enter legal code, without "fixing it" to something illegal? The issue is not the highlighting thing, the issue is the IDE fixing it wrongly. Andreas But you are right when wanting the highlighting routine to be as clever as > the > compiler. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From hscast at ...407... Mon Jun 25 15:15:13 2007 From: hscast at ...407... (Scott Castaline) Date: Mon, 25 Jun 2007 09:15:13 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: References: <467EB7BE.7000008@...407...> <200706241608.19044.sourceforge-raindog2@...94...> <467EF0F9.5000705@...407...> <200706241958.17320.sourceforge-raindog2@...94...> <467F147B.8080005@...407...> <467F399C.7030808@...407...> Message-ID: <467FBFE1.1080705@...407...> Ash wrote: > I... wow, in short, extensive. In long, I was mearly asking originally about > the programming since I'm sort of new still to programming, I've learned it > before but the basic steps so I understood most of what I read. Since still > in HS and no job and at night, it's really over my head right now. I'd love > to help if I could, if I knew how to program. Since I could spend usually > from here to the end of the week around 11 hours a day on any project > (Summer Break has to have some benefits) but, still way over my head. Sorry, > I just, first I apologize for starting something that big. Second, I read it > all and interested (eh, I'm just a sucker for nobel causes :P) and would > love to know how to help, if I could at all. > > On 6/24/07, Scott Castaline wrote: >> Erik Vega wrote: >> >>> It's actually quite interesting with me. I'd love to hear more about >> this, >>> then again I love anything that deals with software and programming. >> Love to >>> hear more, even if it's irrelevant and a bit off-topic. >>> >> ------------------------------------------------------------------------- >> >> Okay, you asked for it. You may want to grab a beer before continuing. >> >> We live in the Atlanta area of Georgia of the US of A. My wife is what >> they call a Service Coordinator or in some cases a Case Manager in the >> areas Early Intervention Program known as Babies Can't Wait in the >> Health District we live in. Her function is as an advocate for >> developmentally delayed infants. She assists the family in getting >> needed services for the child, such as Physical Therapy, Speech Therapy, >> Occupational Therapy, just to list a couple of things that I know of. >> The state of Georgia has in the past 1 - 2 years has started to make >> changes to the program affecting various groups in the program as well >> as making cuts in funds. >> >> Okay, (forgive me Lord for I will be sinning) here comes the part where >> I rant. An idea of what is going on can be explained in a TV ad that the >> Democratic challanger to the Governor used in his campaign. It showed an >> empty adaptive wheelchair sitting in a dark room. The message was that >> the Governor, had cut money to the disabled, so that he could give >> himself and other rich business people major tax breaks. Which had some >> truth to it, not all. What is happening is that these kids are being >> divided up and placed into different funded groups. You have some that >> don't meet criteria so are direct billed to the state, those are not a >> problem. Then the very few that are Medicaid, also no problem. The >> problem is with 3 groups that are called CMO's. Sonny says (the >> Governor) that things are working great. The CMO's are making a profit, >> the state is saving money. Well yeh, the CMO's are getting paid by the >> state, but either don't pay the providers or take a very long time to >> pay. There are some therapists that have just gotten paid recently for >> services provided almost a year ago, and then they've held back or >> denied payment on some services. My wife originally started back in 1998 >> sub- contracting to the program through another company that handled the >> billing and other administrative functions. They had to go out of >> business leaving about 35 to 50 people to have to fend for themselves. >> My wife of course is one of them, and is now contracted directly to the >> county's program BCW. I'm handling the billing and application process >> for her. Now the clincher, the state has just published guidelines to >> individual counties as to how they can restructure themselves. It looks >> like my wife's position could disappear. A speech therapist or a >> Physical Therapist, or whatever would now be expected to do Service >> Coordination as well as what they are supposed to be doing. Problem is >> that a lot of the Therapist's have stopped being providers because they >> couldn't afford to wait so long to be paid and then get paid for only >> half of what they were supposed to get. That is why I just want to throw >> something quick together, but something that I could then either go in >> and put in the needed time and work to fix up or replace. Ok end of rant. >> >> Basically I figured that based on the data my wife works with and that >> some of that data is reused in the billing side, I felt this called for >> using a DBMS of some sort. I am familiar with MySQL version 4.x and have >> started playing around with 5.0.1. I came up with 3 tables. The first >> table is similar to an address book, with client name, address, >> caregiver (usually parent or some guardian), a phone number(I'm thinking >> of 2 fields for a primary number and an alternate number might also use >> check boxes for home, cell, work, fax, not sure if I need that part), >> type of billing whether Medicaid, State Funded, Peach State Health Plan( >> 1 of the 3 CMO's), and Amerigroup (2nd of the 3 CMO's). The 3rd CMO >> refuses to pay for service coordination or provide it themselves, so >> that one doesn't matter. The last field would be in most cases a >> Medicaid number or an assigned number by the CMO. I was planning on >> using an autogenerated numbering system for indexing. >> >> One child table could be compared to an item table in an inventory >> control DB. The record would contain a medical code number referred as >> the ICD9 which is related to the diagnosis (ie: Cerebral Palsy). I would >> then have a 3rd field that contain the value from autogenerated field in >> the parent table for a particular client. The relation would be multiple >> records in the child table to one record in the parent table, through >> the clientID (autogenerated field in Parent Table, and 3rd field in >> child). I think the key for this child table could be the ICD9. >> >> The other Child Table would be a more involved version as the first >> child. My wife has to have at least one face to face visit(contact) with >> the client and caregiver and at least 3 indirects(phone calls, or other >> means) that can be with client/caregiver or a therapist. This table >> would track by date, type of contact, if face to face one of two >> possible locations and notes about the contact. The notes are not fixed >> in length but are definitely not books not even chapters. >> >> Data entry, would be centered around the parent, which only needs to be >> inputted once unless there are changes such as phone number change or >> moved to another address. The first child would be entered most likely >> at the same time as the client into the parent table, but a means to be >> able to put more that one record per client. The second child table >> would not necessarily be used at the time of initial entry of client >> into the Parent Table and the first Child Table. I would need to be able >> to pull up a record of an existing client and enter info pertaining to >> the 2nd child. So a query of the parent to find a particular client and >> then the option to add data to the 2nd child that is related to the >> query d client. The clientID field would again come into play for this >> child. The field can be manually filled in by user as I realize that >> this would involve logic that I'm not sure of to automate. It's >> something that I could do later. >> >> Reporting would be done once a month where one would need some fields >> from the Parent and the second child. A separate report for each client >> sorted by client and then the child info (contacts need to be sorted by >> date and show dat of contact, type of contact, (see description above), >> location of contact (if face to face), and the notes. Right now she uses >> a spreadsheet template that puts the client info and her name/title and >> date (month/year) as a header. The rest of the page is divided into 4 >> horizontal sections that repeat themselves broken up into the date, >> type, location, and notes. In some cases the notes for a particular >> contact will flow into multiple sections (1 to 3 sections in rows). >> >> Another report would be one of the billings directly to BCW. I am >> currently using a spreadsheet template that has last name, first name, >> Medicaid #, or State Funds, or State Funds/CMO Name, or even the comment >> of evalution/Not eligible, the date of face to face and dates of the >> first 3 indirects, and a final field of bill amount for client. This >> also contains a header of the form name, wife's name/title, month/year >> and a vendor #. I have room for 18 rows for clients and leaving 4 rows >> open for stamping by county accounting along with page total. Each apge >> looks the same with the final page containing the subtotal of each page >> and the final total. I'm not sure of how to determine the bill amount. >> The clients that are straight State Funds are billed one amount the Not >> Eligible another amount, dependent upon time involved (hourly rate), and >> CMOs and Medicaid are $0.00 amount since we bill direct but have to >> report it on this bill. The other bills are handled separately and at >> this time I'm not planning to include this in the billing part yet. I >> have forms that have to be hand written and mailed in, but I need to be >> able to pull up the info for reference from all 3 tables. This I think >> could be handled on a multilevel query, by client list all diag codes, >> and contacts for month. >> >> I guess that's about it for now, there is another report that my wife >> does that is similar to my state billing. I apologize for my extensive >> use of bandwidth, and hope that I didn't destroy too many peoples day or >> now night(late night for me). I can also attach the forms in OOo format >> on a future email if interested. I need time to convert some of them >> from M$Office to OOo. The billing I have in OOo already. >> >> Any suggestions or help, I would be forever indebted and if you come >> through Lawrenceville, GA., there's a place that serves real cold >> Guiness Stout Draft nearby. >> >> TIA >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I'm basically in the same boat. My programming days goes back to the 70's and consisted of IBM 360/370 COBOL and 8080 Assembler as well as 6800 Assembler. All in school environments as part of my EET degree. I'm just looking for a simple approach to make life a little easier for my wife. She has an extremely large case load and spends many hours at it. Even though her gross income is fairly decent even for here in the ATL area, with all of the time and effort she probably truly makes only about $1.00/hr. gross. Since we don't know what the near future holds, to really spend the time or money for a more complex app doesn't make sense at this time. But if things work out I would probably want to be able to take whatever I threw together and make a real app out of it. From ronstk at ...239... Mon Jun 25 17:27:14 2007 From: ronstk at ...239... (ron) Date: Mon, 25 Jun 2007 17:27:14 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <4b1e2ff90706250345w2d7764a7n5a0c1315ca99ded9@...627...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706240234.48076.gambas@...1...> <4b1e2ff90706250345w2d7764a7n5a0c1315ca99ded9@...627...> Message-ID: <200706251727.14853.ronstk@...239...> On Monday 25 June 2007 12:45, Andreas Kostyrka wrote: > 2007/6/24, Benoit Minisini : > > > > The highlighting routine is not yet clever enough to make the difference > > between the two new syntaxes. > > > > This is not a big problem at the moment, as the compiler makes the > > difference. > > > > This is a big problem. I somehow think that the IDE should allow me to enter > legal code, without "fixing it" to something illegal? > > The issue is not the highlighting thing, the issue is the IDE fixing it wrongly. A possible missuse of New and at the wrong place? > > Andreas > Explanation to help: > $entries.Add(New("ABC", arg1)) Assuming $entries is a array variable. You want to add something and that is between the parenthesis. $entries.Add( what_you_want_to_add ) Here the 'what_you_want_to_add' is defined as 'New("ABC", arg1)' What is that 'New' thingy ?? New is a method for creating objects and normal used as: 'Declares a table of strings DIM aTable AS NEW String[12, 8] See:http://gambasdoc.org/help/comp/gb/string[]/_new 'And usage of it in assignment in a loop DIM aTable AS String[12, 8] FOR x = 1 TO 10 aTable = New String[12, 8] ..... ' do somthing with aTable entries.Add(aTable) NEXT ------ Button = NEW Button(ME) AS "MyButton" PUBLIC PROCEDURE MyButton_Click() PRINT "My button was clicked !" END See:http://gambasdoc.org/help/lang/new ----- hButton = New("Button", hParent) 'has exactly the same effect as: hButton = NEW Button(hParent) See:http://gambasdoc.org/help/lang/new2 ----- So if "ABC" is something like "Button" and arg1 like hParent then theoretical .Add( New("ABC", arg1) ) should be correct. However parsing complex constructions as argument or the .Add() does not work well as you found. The problem is the New inside the .Add() here and that expects a variable. You can't also use .Add(Sqr(4),arg1) or .Add( MySubRoutine("anykey") , arg1 ) :) !!! And how should we anyway know what "ABC" and arg1 are in your example? !!!! Why make it so difficult when next code solved all possible miss understanding by syntax parser and the human developer? MyObjectToAdd = New("ABC",arg1) ' or New ABC(arg1) ? $entries.Add( MyObjectToAdd ) Hope this gives some understanding. --- Ron From ronstk at ...239... Mon Jun 25 17:43:25 2007 From: ronstk at ...239... (ron) Date: Mon, 25 Jun 2007 17:43:25 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <4b1e2ff90706250341wdfda0ecybb90ab747ed2b70e@...627...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <1182624576.5471.3.camel@...40...> <4b1e2ff90706250341wdfda0ecybb90ab747ed2b70e@...627...> Message-ID: <200706251743.25721.ronstk@...239...> On Monday 25 June 2007 12:41, Andreas Kostyrka wrote: > Trouble is that New is also a function. NEW is a keyword that can be only > used in an assignment. > New is the function to use instead in all other places. > > >From the docs that were installed with Gambas: > > New > Syntax > Object = New ( Class [ , Constructor parameters... ] ) > ?Instantiates the class Class. > ?This routine works exactly like the NEW operator, except that the class > name is specified at runtime and not at compile time. > ?If you want to specify the observer that will receives all the events > generated by the newly created object, you must use the Object.Attach static > method. > > Andreas > $entries.Add( New("ABC",arg1) ) See that 'Object' is well defined handle to that object created by 'New'. It is that handle you want to add to the entries after the object is made. In php/java it would be: $entries.Add( Object = New("ABC",arg1) ) There you are allowed to replace almost every part by complex functions $entries.Add( New(document.getElementById(Sqr(4)*2) , prompt("the Argument","1234").substr(0,4) ) ) That is what people do when they want impress the boss. For testing and debugging when something goes wrong they slap themself because they do not understand what happens after a few months. Result a angry boss :) Ron From rolf.frogs at ...221... Mon Jun 25 18:27:32 2007 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Mon, 25 Jun 2007 18:27:32 +0200 Subject: [Gambas-user] Quicky app In-Reply-To: <467FBFE1.1080705@...407...> References: <467EB7BE.7000008@...407...> <467FBFE1.1080705@...407...> Message-ID: <200706251827.35346.rolf.frogs@...221...> Hi Scott > I'm just looking for a simple approach to make life a little easier for my > wife. She has an extremely large case load and spends many hours at it. > Even though her gross income is fairly decent even for here in the ATL > area, with all of the time and effort she probably truly makes only > about $1.00/hr. gross. Since we don't know what the near future holds, > to really spend the time or money for a more complex app doesn't make > sense at this time. But if things work out I would probably want to be > able to take whatever I threw together and make a real app out of it. So why didn't you look to solutions in a different area like project management software. Most of this software uses databases as well and you can connect to it with a gambas programm for special data extraction, which you might develop for a longer time. For example easyProject and other open source project management software has features to manage the project members with address and telefon numbers and the time they are avaliable to the project. Further on they may help you in calculate the costs depending on the time they work for the project(parts). You usually have a database (usually mySQL - some my favorit PostgreSQL) and of course a webserver like apache. All you have to do is to read a little bit about project management, configure the software, teach your wife in how to use the software. Of course you "abuse" project management software for a different job, but at least and as far as I understand your writing correctly, your wife does something like managing projects and or parts of a (big) project. My writing shoudn't scare you from programming with gambas, but it might be a quick (perhas not perfect) solution for your problem. So stay on hacking with gambas Rolf. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gambas at ...1... Mon Jun 25 18:36:50 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Jun 2007 18:36:50 +0200 Subject: [Gambas-user] Quicky app In-Reply-To: <467FBFE1.1080705@...407...> References: <467EB7BE.7000008@...407...> <467FBFE1.1080705@...407...> Message-ID: <200706251836.50226.gambas@...1...> On lundi 25 juin 2007, Scott Castaline wrote: > > I'm basically in the same boat. My programming days goes back to the > 70's and consisted of IBM 360/370 COBOL and 8080 Assembler as well as > 6800 Assembler. All in school environments as part of my EET degree. I'm > just looking for a simple approach to make life a little easier for my > wife. She has an extremely large case load and spends many hours at it. > Even though her gross income is fairly decent even for here in the ATL > area, with all of the time and effort she probably truly makes only > about $1.00/hr. gross. Since we don't know what the near future holds, > to really spend the time or money for a more complex app doesn't make > sense at this time. But if things work out I would probably want to be > able to take whatever I threw together and make a real app out of it. > There is not report designer in Gambas yet, but generating OpenOffice documents is easy, as OpenOffice are "just" compressed XML files. Making an OpenOffice document from scratch is of course difficult, but if you have an example of your report as an OpenOffice document, you can use it as a template. Put some markups inside, make a copy of the document, uncompress it, replace these markups by the real data at runtime, and compress it back. It becomes more difficult if you want to fill a table, for example. Maybe a sort of OpenOffice component for Gambas would be useful then. Regards, -- Benoit Minisini From hscast at ...407... Mon Jun 25 19:19:31 2007 From: hscast at ...407... (Scott Castaline) Date: Mon, 25 Jun 2007 13:19:31 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <200706251827.35346.rolf.frogs@...221...> References: <467EB7BE.7000008@...407...> <467FBFE1.1080705@...407...> <200706251827.35346.rolf.frogs@...221...> Message-ID: <467FF923.4070401@...407...> Rolf Schmidt wrote: > Hi Scott > >> I'm just looking for a simple approach to make life a little easier for my >> wife. She has an extremely large case load and spends many hours at it. >> Even though her gross income is fairly decent even for here in the ATL >> area, with all of the time and effort she probably truly makes only >> about $1.00/hr. gross. Since we don't know what the near future holds, >> to really spend the time or money for a more complex app doesn't make >> sense at this time. But if things work out I would probably want to be >> able to take whatever I threw together and make a real app out of it. > > So why didn't you look to solutions in a different area like project > management software. Most of this software uses databases as well and you can > connect to it with a gambas programm for special data extraction, which you > might develop for a longer time. For example easyProject and other open > source project management software has features to manage the project members > with address and telefon numbers and the time they are avaliable to the > project. Further on they may help you in calculate the costs depending on > the time they work for the project(parts). You usually have a database > (usually mySQL - some my favorit PostgreSQL) and of course a webserver like > apache. All you have to do is to read a little bit about project management, > configure the software, teach your wife in how to use the software. Of course > you "abuse" project management software for a different job, but at least and > as far as I understand your writing correctly, your wife does something like > managing projects and or parts of a (big) project. > > My writing shoudn't scare you from programming with gambas, but it might be a > quick (perhas not perfect) solution for your problem. > > So stay on hacking with gambas > Rolf. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Definitely planning on doing other hacking projects in Gambas, I might still go ahead and do a project based on my wife's work. I will definitely check out your suggestions. As I've said, for the immediate time I want to be able to just throw together a quicky that'll allow both of us access to a central data pool (DB) to add edit the data as well as pull out the data in report formats that are similar to the spreadsheet templates currently being used. Thanks for the input. Scott From hscast at ...407... Mon Jun 25 19:34:22 2007 From: hscast at ...407... (Scott Castaline) Date: Mon, 25 Jun 2007 13:34:22 -0400 Subject: [Gambas-user] Quicky app In-Reply-To: <200706251836.50226.gambas@...1...> References: <467EB7BE.7000008@...407...> <467FBFE1.1080705@...407...> <200706251836.50226.gambas@...1...> Message-ID: <467FFC9E.1010500@...407...> Benoit Minisini wrote: > On lundi 25 juin 2007, Scott Castaline wrote: >> I'm basically in the same boat. My programming days goes back to the >> 70's and consisted of IBM 360/370 COBOL and 8080 Assembler as well as >> 6800 Assembler. All in school environments as part of my EET degree. I'm >> just looking for a simple approach to make life a little easier for my >> wife. She has an extremely large case load and spends many hours at it. >> Even though her gross income is fairly decent even for here in the ATL >> area, with all of the time and effort she probably truly makes only >> about $1.00/hr. gross. Since we don't know what the near future holds, >> to really spend the time or money for a more complex app doesn't make >> sense at this time. But if things work out I would probably want to be >> able to take whatever I threw together and make a real app out of it. >> > > There is not report designer in Gambas yet, but generating OpenOffice > documents is easy, as OpenOffice are "just" compressed XML files. > > Making an OpenOffice document from scratch is of course difficult, but if you > have an example of your report as an OpenOffice document, you can use it as a > template. > > Put some markups inside, make a copy of the document, uncompress it, replace > these markups by the real data at runtime, and compress it back. > > It becomes more difficult if you want to fill a table, for example. Maybe a > sort of OpenOffice component for Gambas would be useful then. > > Regards, > The sort function that you mention sounds like something that I could use for now. Essentially all of her data is layed out in table formats on M$Office Spreadsheets. The problems stem from when she removes lines when clients are discharged from the program. She eventually loses cell format info and I'll have to go in and find that fields changed from date to text or numeric to something else, as well as font styles and size. It tends to increase the amount of time required inputing data and printing out the data in correct formats. If I could treat the data seperate from the form and then allow the programs to take the modified data and output it, I think would be a good temporary fix. This would allow me time to learn(or relearn) what I need to learn about Gambas to do the app I really want for her and to find out what the future holds out for her. As I have said earlier, we're not even sure if she and others like her will have a job after Oct or the end of the year. If my sending attachments of my templates would clarify what I'm dealing with, let me know and I'll convert the forms on her system to OOo Calc and send them to you other direct or through the list. TIA From steven at ...1652... Mon Jun 25 20:06:42 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 25 Jun 2007 20:06:42 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706221543.25818.gambas@...1...> References: <200706221417.46081.steven@...1652...> <200706221543.25818.gambas@...1...> Message-ID: <200706252006.42089.steven@...1652...> Could you read it ? Steven Le vendredi 22 juin 2007 15:43, Benoit Minisini a ?crit?: > On vendredi 22 juin 2007, Steven Lobbezoo wrote: > > I tried, to the list and to your personal mail: > > > > SMTP error from remote mailer after MAIL FROM: > > SIZE=1768376: > > ? ? host mail.sourceforge.net [66.35.250.206]: 552 Message size exceeds > > maximum permitted > > > > So, no dice :-( > > > > Is there no other adress ? I can give you an address on my server like > > benoit at ...1721... if you want to. No restrictions there ! > > > > Steven > > Maybe there is something in the big pdf that prevents the SMTP component > for working correctly. > > Can you post your file on a file sharing service on the web? From gambas at ...1... Mon Jun 25 20:20:33 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Jun 2007 20:20:33 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706252006.42089.steven@...1652...> References: <200706221417.46081.steven@...1652...> <200706221543.25818.gambas@...1...> <200706252006.42089.steven@...1652...> Message-ID: <200706252020.33956.gambas@...1...> On lundi 25 juin 2007, Steven Lobbezoo wrote: > Could you read it ? > > Steven > Sorry, your mail was put in the Spam folder... I couldn't read the file. I can connect, browse the directories, but trying to read the file from the ftp server raises an error. -- Benoit Minisini From steven at ...1652... Mon Jun 25 20:33:08 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 25 Jun 2007 20:33:08 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706252020.33956.gambas@...1...> References: <200706221417.46081.steven@...1652...> <200706252006.42089.steven@...1652...> <200706252020.33956.gambas@...1...> Message-ID: <200706252033.09083.steven@...1652...> Sorry about that I transferred it as root, changed the access rights to 777 so, you can read them now. Sorry again, Steven Le lundi 25 juin 2007 20:20, Benoit Minisini a ?crit?: > On lundi 25 juin 2007, Steven Lobbezoo wrote: > > Could you read it ? > > > > Steven > > Sorry, your mail was put in the Spam folder... > > I couldn't read the file. I can connect, browse the directories, but trying > to read the file from the ftp server raises an error. From gambas at ...1... Mon Jun 25 20:58:13 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Jun 2007 20:58:13 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706252033.09083.steven@...1652...> References: <200706221417.46081.steven@...1652...> <200706252020.33956.gambas@...1...> <200706252033.09083.steven@...1652...> Message-ID: <200706252058.13823.gambas@...1...> On lundi 25 juin 2007, Steven Lobbezoo wrote: > Sorry about that > I transferred it as root, > changed the access rights to 777 > so, you can read them now. > > Sorry again, > Steven > I got the file, and I succeeded in sending it to myself by using another Internet provider. I didn't get any error. Here is the code I used: DIM hSmtpClient AS NEW SmtpClient WITH hSmtpClient .Host = "smtp.noos.fr" .From = "gambas at ...764..." .Subject = "Test du composant SMTP de Gambas - " & Str(Now) .To.Add("XXXXX") ' Here is my private e-mail address .Add(File.Load("~/tempfile.pdf"), "application/pdf") .Send() END WITH -- Benoit Minisini From steven at ...1652... Mon Jun 25 22:30:04 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 25 Jun 2007 22:30:04 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706252058.13823.gambas@...1...> References: <200706221417.46081.steven@...1652...> <200706252033.09083.steven@...1652...> <200706252058.13823.gambas@...1...> Message-ID: <200706252230.04972.steven@...1652...> Thanks a lot Benoit, My failure was that I used test/pdf and not application/pdf as mime type. Stangely, this worked before ? However, my e-mails are send correctly with texts and pdf attachements. Just a small hick ;-) : There's no date in the message. I could not find a way to set the date (since i donnot have access to the headers, do i ?). It's not set auto. Thanks again, Steven Le lundi 25 juin 2007 20:58, Benoit Minisini a ?crit?: > On lundi 25 juin 2007, Steven Lobbezoo wrote: > > Sorry about that > > I transferred it as root, > > changed the access rights to 777 > > so, you can read them now. > > > > Sorry again, > > Steven > > I got the file, and I succeeded in sending it to myself by using another > Internet provider. I didn't get any error. Here is the code I used: > > DIM hSmtpClient AS NEW SmtpClient > > WITH hSmtpClient > > .Host = "smtp.noos.fr" > .From = "gambas at ...764..." > .Subject = "Test du composant SMTP de Gambas - " & Str(Now) > .To.Add("XXXXX") ' Here is my private e-mail address > .Add(File.Load("~/tempfile.pdf"), "application/pdf") > > .Send() > > END WITH From d.paleino at ...626... Mon Jun 25 23:28:45 2007 From: d.paleino at ...626... (David Paleino) Date: Mon, 25 Jun 2007 23:28:45 +0200 Subject: [Gambas-user] gb.ldap and other Message-ID: <20070625232845.275808d7@...1597...> Hi all, I'm developing an application to query the Debian bts2ldap gateway. BTS is the Debian Bug Tracking System, and is quite useful for all Debian users :-). First of all, I can't find any documentation about the gb.ldap component. Is it so unused? :-) Secondly, it might seem a silly problem, but I can't show the "&" character in Message boxes. I don't think it's that normal :-). I've also tried to escape it ("\&"), but it gives me an error ("Bad character constant in string"). Using PRINT it works, i.e. the "&" character shows up. Kind regards, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 From gambas at ...1... Tue Jun 26 00:03:54 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jun 2007 00:03:54 +0200 Subject: [Gambas-user] gb.ldap and other In-Reply-To: <20070625232845.275808d7@...1597...> References: <20070625232845.275808d7@...1597...> Message-ID: <200706260003.54620.gambas@...1...> On lundi 25 juin 2007, David Paleino wrote: > Hi all, > I'm developing an application to query the Debian bts2ldap gateway. > BTS is the Debian Bug Tracking System, and is quite useful for all > Debian users :-). > > First of all, I can't find any documentation about the gb.ldap > component. Is it so unused? :-) Apparently... > > Secondly, it might seem a silly problem, but I can't show the "&" > character in Message boxes. I don't think it's that normal :-). I've > also tried to escape it ("\&"), but it gives me an error ("Bad > character constant in string"). Using PRINT it works, i.e. the "&" > character shows up. Which GUI toolkit and Gambas version do you use? Anyway, '&' indicates a shortcut. Maybe by writing it twice, you will get it? Regards, -- Benoit Minisini From d.paleino at ...626... Tue Jun 26 08:34:51 2007 From: d.paleino at ...626... (David Paleino) Date: Tue, 26 Jun 2007 08:34:51 +0200 Subject: [Gambas-user] gb.ldap and other In-Reply-To: <200706260003.54620.gambas@...1...> References: <20070625232845.275808d7@...1597...> <200706260003.54620.gambas@...1...> Message-ID: <20070626083451.7f6d1aeb@...1597...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il giorno Tue, 26 Jun 2007 00:03:54 +0200 Benoit Minisini ha scritto: > On lundi 25 juin 2007, David Paleino wrote: > > > First of all, I can't find any documentation about the gb.ldap > > component. Is it so unused? :-) > > Apparently... How should I proceed to document the component and auto-document myself? Apparently I should read the source code... > > Secondly, it might seem a silly problem, but I can't show the "&" > > character in Message boxes. I don't think it's that normal :-). I've > > also tried to escape it ("\&"), but it gives me an error ("Bad > > character constant in string"). Using PRINT it works, i.e. the "&" > > character shows up. > > Which GUI toolkit and Gambas version do you use? It's a GTK project, with Gambas 1.9.49. > Anyway, '&' indicates a shortcut. Maybe by writing it twice, you will > get it? I'm rather new to Gambas, I didn't know & was a shortcut _also_ in Message boxes. I thought it was only for menus. When I run my project, in console I have: gContainer() 135452672 ldap_init is correct. (&(debbugsID=foo)(debbugsPackage=bar)) The last line is a PRINT strLdapQuery. But Message.Info(strLdapQuery) shows: ( (debbugsID=foo)(debbugsPackage=bar)) The "&" character wasn't "now shown", was "converted to a space". In fact, if I double it ("&&"), I get a double space in Message.Info(): ( (debbugsID=foo)(debbugsPackage=bar)) However I think that shortcuts in Message boxes are useless: they should be used only in menus. Am I wrong? > Regards, Have a nice day, David - -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGgLOS5qqQFxOSsXQRAsSiAJ9s4UM4WlD2IV+BWNri72UhhGHSHgCgvbrT vXtDGIZ/PmaBTx4TE6x2+L8= =Oyyi -----END PGP SIGNATURE----- From yacc143 at ...626... Tue Jun 26 11:41:41 2007 From: yacc143 at ...626... (Andreas Kostyrka) Date: Tue, 26 Jun 2007 11:41:41 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <200706251727.14853.ronstk@...239...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706240234.48076.gambas@...1...> <4b1e2ff90706250345w2d7764a7n5a0c1315ca99ded9@...627...> <200706251727.14853.ronstk@...239...> Message-ID: <4b1e2ff90706260241s7254fb09yf09304d8ee1c1efd@...627...> 2007/6/25, ron : > > On Monday 25 June 2007 12:45, Andreas Kostyrka wrote: > > 2007/6/24, Benoit Minisini : > > > > > > The highlighting routine is not yet clever enough to make the > difference > > > between the two new syntaxes. > > > > > > This is not a big problem at the moment, as the compiler makes the > > > difference. > > > > > > > > This is a big problem. I somehow think that the IDE should allow me to > enter > > legal code, without "fixing it" to something illegal? > > > > The issue is not the highlighting thing, the issue is the IDE fixing it > wrongly. > > A possible missuse of New and at the wrong place? Nope, as I've pointed out already, NEW is an operator. New is a function. See: http://gambasdoc.org/help/lang/new2 Now the IDE turns a completly legal New("classname") into an illegal NEW("classname"). That's a bug. Andreas From gareth at ...1689... Tue Jun 26 16:36:30 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 26 Jun 2007 15:36:30 +0100 (BST) Subject: [Gambas-user] Re; Curl Message-ID: <16000419.20041182868590553.JavaMail.root@...1708...> Hi, Anyone got a working example of Curl in Gambas? -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From mcturra2000 at ...370... Tue Jun 26 17:53:27 2007 From: mcturra2000 at ...370... (Mark Carter) Date: Tue, 26 Jun 2007 15:53:27 +0000 (GMT) Subject: [Gambas-user] Re; Curl Message-ID: <380539.57641.qm@...1722...> I'm not sure if this is good enough for what you want, but I created an example for the HttpClient a couple of weeks ago: http://gambasdoc.org/help/comp/gb.net.curl/httpclient It uses gb.net.curl ----- Original Message ---- From: Gareth Bult To: Gambas User list Mailing List Sent: Tuesday, 26 June, 2007 3:36:30 PM Subject: [Gambas-user] Re; Curl Hi, Anyone got a working example of Curl in Gambas? ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk From ronstk at ...239... Tue Jun 26 17:54:13 2007 From: ronstk at ...239... (ron) Date: Tue, 26 Jun 2007 17:54:13 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <4b1e2ff90706260241s7254fb09yf09304d8ee1c1efd@...627...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706251727.14853.ronstk@...239...> <4b1e2ff90706260241s7254fb09yf09304d8ee1c1efd@...627...> Message-ID: <200706261754.14158.ronstk@...239...> On Tuesday 26 June 2007 11:41, Andreas Kostyrka wrote: > Nope, as I've pointed out already, NEW is an operator. New is a function. > If your 'New' is a _function_, I must assume it is made by you in your code. As the syntax give examples as: a) hButton = New("Button", hParent) ' or b) Button = NEW Button(ME) AS "MyButton" ' or c) DIM iMyArray AS NEW Integer[] ' and this one 'New' here is not a simple function but a constructor method and returns a object, yes functions returns something to. (the way i see) Did you made a function yourself as: FUNCTION New(sString,vArgs) dim iTmp as INTEGER itmp=CINT(sNumber) iTmp=iTmp+iNumber return iTmp END Beside both New' and NEW' are reserved words in gambas and the example function above should even normally not be allowed to make yourself. Simply as your previous code is $entries.Add(New("ABC", arg1)) you do not tell exact what you want. I assume "ABC" is just typing something but it is not unimportant. The "ABC" argument should be a control or data type or results to it. There is no control named "ABC" or data type with that id. The only conclusion is that you made yourself the function 'New' which clashes with the reserved keywords in gambas. Gambas can only highlight/beautify the code as is done $entries.Add(New("ABC", arg1)) ' you try syntax rule 'a' gets changed by the IDE to $entries.Add( NEW ("ABC", arg1)) ' because function New("a",b) can't What happen if you do $entries.Add(New("Button", arg1)) ? As I suggest previous, do it with two lines and this complex construction could/should be solved. Lets wait what Benoit say more about it. I can be wrong to :( Ron From timothy.marshal-nichols at ...247... Tue Jun 26 19:13:09 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Tue, 26 Jun 2007 18:13:09 +0100 Subject: [Gambas-user] PDF file In-Reply-To: <200706252058.13823.gambas@...1...> Message-ID: <000c01c7b815$469dd000$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Benoit Minisini > Sent: Monday, 25 June 2007 07:58 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] PDF file > > On lundi 25 juin 2007, Steven Lobbezoo wrote: > > Sorry about that > > I transferred it as root, > > changed the access rights to 777 > > so, you can read them now. > > > > Sorry again, > > Steven > > > > I got the file, and I succeeded in sending it to myself by using another > Internet provider. I didn't get any error. Here is the code I used: > > DIM hSmtpClient AS NEW SmtpClient > > WITH hSmtpClient > > .Host = "smtp.noos.fr" > .From = "gambas at ...764..." > .Subject = "Test du composant SMTP de Gambas - " & Str(Now) > .To.Add("XXXXX") ' Here is my private e-mail address > .Add(File.Load("~/tempfile.pdf"), "application/pdf") > > .Send() > > END WITH > > -- > Benoit Minisini > I am probably missing something very simple. But how do you set the message body of the SmtpClient email. There appears to be no Body property? Thanks 8-{)} Timothy Marshal-Nichols From gambas at ...1... Tue Jun 26 20:55:14 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jun 2007 20:55:14 +0200 Subject: [Gambas-user] gb.ldap and other In-Reply-To: <20070626083451.7f6d1aeb@...1597...> References: <20070625232845.275808d7@...1597...> <200706260003.54620.gambas@...1...> <20070626083451.7f6d1aeb@...1597...> Message-ID: <200706262055.14516.gambas@...1...> On mardi 26 juin 2007, David Paleino wrote: > Il giorno Tue, 26 Jun 2007 00:03:54 +0200 > > Benoit Minisini ha scritto: > > On lundi 25 juin 2007, David Paleino wrote: > > > First of all, I can't find any documentation about the gb.ldap > > > component. Is it so unused? :-) > > > > Apparently... > > How should I proceed to document the component and auto-document > myself? Apparently I should read the source code... > > > > Secondly, it might seem a silly problem, but I can't show the "&" > > > character in Message boxes. I don't think it's that normal :-). I've > > > also tried to escape it ("\&"), but it gives me an error ("Bad > > > character constant in string"). Using PRINT it works, i.e. the "&" > > > character shows up. > > > > Which GUI toolkit and Gambas version do you use? > > It's a GTK project, with Gambas 1.9.49. > > > Anyway, '&' indicates a shortcut. Maybe by writing it twice, you will > > get it? > > I'm rather new to Gambas, I didn't know & was a shortcut _also_ in > Message boxes. I thought it was only for menus. > > When I run my project, in console I have: > > gContainer() 135452672 > ldap_init is correct. > (&(debbugsID=foo)(debbugsPackage=bar)) > > The last line is a PRINT strLdapQuery. > But Message.Info(strLdapQuery) shows: > > ( (debbugsID=foo)(debbugsPackage=bar)) > > The "&" character wasn't "now shown", was "converted to a space". > In fact, if I double it ("&&"), I get a double space in Message.Info(): > > ( (debbugsID=foo)(debbugsPackage=bar)) > > However I think that shortcuts in Message boxes are useless: they > should be used only in menus. Am I wrong? > > > Regards, > > Have a nice day, > David The gb.gtk component was in early alpha version in 1.9.49. And I'm started to work on it since the release, so I strongly suggest that you compile gambas from the source repository, so that you always have the latest development version. Anyway, I didn't modify any code in the interpretation of message box text, so it should be a bug. I will look at it. As for the gb.ldap component, it seems that the author of the component wrote some documentation about it in the wiki, but in italian (its native language). I suggest you contact it directly to see if he will explain to you how to use it in english. As I don't know LDAP and never used it at all, it is a bit difficult for me. If he agrees, please talk about the gb.ldap component on the mailing-list, so that everything is archived. Regards, -- Benoit Minisini From gambas at ...1... Tue Jun 26 20:55:54 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jun 2007 20:55:54 +0200 Subject: [Gambas-user] Re; Curl In-Reply-To: <380539.57641.qm@...1722...> References: <380539.57641.qm@...1722...> Message-ID: <200706262055.54149.gambas@...1...> On mardi 26 juin 2007, Mark Carter wrote: > I'm not sure if this is good enough for what you want, but I created an > example for the HttpClient a couple of weeks ago: > http://gambasdoc.org/help/comp/gb.net.curl/httpclient > > It uses > gb.net.curl > ----- Original Message ---- > From: Gareth Bult > To: Gambas User list Mailing List > Sent: Tuesday, 26 June, 2007 3:36:30 PM > Subject: [Gambas-user] Re; Curl > > Hi, > > Anyone got a working example of Curl in Gambas? > There is the HTTP network example too. -- Benoit Minisini From d.paleino at ...626... Tue Jun 26 21:01:15 2007 From: d.paleino at ...626... (David Paleino) Date: Tue, 26 Jun 2007 21:01:15 +0200 Subject: [Gambas-user] gb.ldap and other In-Reply-To: <200706262055.14516.gambas@...1...> References: <20070625232845.275808d7@...1597...> <200706260003.54620.gambas@...1...> <20070626083451.7f6d1aeb@...1597...> <200706262055.14516.gambas@...1...> Message-ID: <20070626210115.03158540@...1597...> Il giorno Tue, 26 Jun 2007 20:55:14 +0200 Benoit Minisini ha scritto: > On mardi 26 juin 2007, David Paleino wrote: > > ... > > > > The "&" character wasn't "now shown", was "converted to a space". > > In fact, if I double it ("&&"), I get a double space in > > Message.Info(): > > > > ( (debbugsID=foo)(debbugsPackage=bar)) > > > > However I think that shortcuts in Message boxes are useless: they > > should be used only in menus. Am I wrong? > > The gb.gtk component was in early alpha version in 1.9.49. And I'm > started to work on it since the release, so I strongly suggest that > you compile gambas from the source repository, so that you always > have the latest development version. I find using Debian packages much more comfortable. I'll wait for a new version then :-) (or I'll make a Debian package from a svn snapshot) > Anyway, I didn't modify any code in the interpretation of message box > text, so it should be a bug. I will look at it. Thanks for taking care. > As for the gb.ldap component, it seems that the author of the > component wrote some documentation about it in the wiki, but in > italian (its native language). I suggest you contact it directly to > see if he will explain to you how to use it in english. As I don't > know LDAP and never used it at all, it is a bit difficult for me. I'm Italian as well, forgot it? :-) (I was one of the gambasdoc.org translators) > If he agrees, please talk about the gb.ldap component on the > mailing-list, so that everything is archived. Sure, I'll do. > Regards, Kindly, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 From d.paleino at ...626... Tue Jun 26 21:05:04 2007 From: d.paleino at ...626... (David Paleino) Date: Tue, 26 Jun 2007 21:05:04 +0200 Subject: [Gambas-user] gb.ldap and other In-Reply-To: <200706262055.14516.gambas@...1...> References: <20070625232845.275808d7@...1597...> <200706260003.54620.gambas@...1...> <20070626083451.7f6d1aeb@...1597...> <200706262055.14516.gambas@...1...> Message-ID: <20070626210504.41b61a48@...1597...> Il giorno Tue, 26 Jun 2007 20:55:14 +0200 Benoit Minisini ha scritto: > > ... > (sorry for double-replying) > As for the gb.ldap component, it seems that the author of the > component wrote some documentation about it in the wiki, but in > italian (its native language). [..] It seems like I can't find it anywhere. Could you please post a link? I've looked in: http://gambasdoc.org/help/comp/gb.ldap?it http://gambasdoc.org/help/comp/gb.ldap/ldap?it http://gambasdoc.org/help/comp/gb.ldap/ldapmessage?it http://gambasdoc.org/help/comp/gb.ldap/ldapmod?it http://gambasdoc.org/help/comp/gb.ldap/ldapsearchentry?it and they all seem like unmodified pages. > Regards, Thanks again, David -- . ''`. Debian maintainer | http://snipurl.com/gofoxygo/ : :' : Linuxer #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 From gambas at ...1... Tue Jun 26 21:19:01 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jun 2007 21:19:01 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <200706261754.14158.ronstk@...239...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <4b1e2ff90706260241s7254fb09yf09304d8ee1c1efd@...627...> <200706261754.14158.ronstk@...239...> Message-ID: <200706262119.01315.gambas@...1...> On mardi 26 juin 2007, ron wrote: > On Tuesday 26 June 2007 11:41, Andreas Kostyrka wrote: > > Nope, as I've pointed out already, NEW is an operator. New is a function. > > If your 'New' is a _function_, I must assume it is made by you in your > code. > > As the syntax give examples as: > > a) hButton = New("Button", hParent) ' or > b) Button = NEW Button(ME) AS "MyButton" ' or > c) DIM iMyArray AS NEW Integer[] ' and this one > > 'New' here is not a simple function but a constructor method and > returns a object, yes functions returns something to. (the way i see) > > Did you made a function yourself as: > > FUNCTION New(sString,vArgs) > dim iTmp as INTEGER > itmp=CINT(sNumber) > iTmp=iTmp+iNumber > return iTmp > END > > Beside both New' and NEW' are reserved words in gambas and the example > function above should even normally not be allowed to make yourself. > > Simply as your previous code is $entries.Add(New("ABC", arg1)) > you do not tell exact what you want. > I assume "ABC" is just typing something but it is not unimportant. > > > The "ABC" argument should be a control or data type or results to it. > There is no control named "ABC" or data type with that id. > > The only conclusion is that you made yourself the function 'New' > which clashes with the reserved keywords in gambas. > Gambas can only highlight/beautify the code as is done > > $entries.Add(New("ABC", arg1)) ' you try syntax rule 'a' > > gets changed by the IDE to > > $entries.Add( NEW ("ABC", arg1)) ' because function New("a",b) can't > > What happen if you do $entries.Add(New("Button", arg1)) ? > > As I suggest previous, do it with two lines and this complex > construction could/should be solved. > > Lets wait what Benoit say more about it. I can be wrong to :( > > > Ron > Guys, you really make a problem from nothing. :-) NEW is a special assignment operator, *and* a function. As Gambas is not case sensitive, you can write it as you like: NEw, NeW, nEw, and so on. The only little problem is the syntax highlighter. It is just not clever enough for making the difference between NEW as an operator, and New as a function. The compiler can do the difference: it is just a matter of seeing if there is a brace after the NEW keyword. This is not a bug. Just a little visual glitch :-) Note that I may fix it in the future. :-) Regards, -- Benoit Minisini From gareth at ...1689... Tue Jun 26 21:59:05 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 26 Jun 2007 20:59:05 +0100 (BST) Subject: [Gambas-user] Re; Curl In-Reply-To: <200706262055.54149.gambas@...1...> Message-ID: <22167925.20191182887945790.JavaMail.root@...1708...> Yup, that's what I was after .. Thanks, Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Tuesday, June 26, 2007 7:55:54 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Curl On mardi 26 juin 2007, Mark Carter wrote: > I'm not sure if this is good enough for what you want, but I created an > example for the HttpClient a couple of weeks ago: > http://gambasdoc.org/help/comp/gb.net.curl/httpclient > > It uses > gb.net.curl > ----- Original Message ---- > From: Gareth Bult > To: Gambas User list Mailing List > Sent: Tuesday, 26 June, 2007 3:36:30 PM > Subject: [Gambas-user] Re; Curl > > Hi, > > Anyone got a working example of Curl in Gambas? > There is the HTTP network example too. -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Wed Jun 27 02:06:00 2007 From: ronstk at ...239... (ron) Date: Wed, 27 Jun 2007 02:06:00 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <200706262119.01315.gambas@...1...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706261754.14158.ronstk@...239...> <200706262119.01315.gambas@...1...> Message-ID: <200706270206.00471.ronstk@...239...> On Tuesday 26 June 2007 21:19, Benoit Minisini wrote: > > > > Lets wait what Benoit say more about it. I can be wrong to :( > > > > > > Ron > > > > Guys, you really make a problem from nothing. :-) > > NEW is a special assignment operator, *and* a function. As Gambas is not case > sensitive, you can write it as you like: NEw, NeW, nEw, and so on. > > The only little problem is the syntax highlighter. It is just not clever > enough for making the difference between NEW as an operator, and New as a > function. I don't have a problem with that, using the two line method solves it. > > The compiler can do the difference: it is just a matter of seeing if there is > a brace after the NEW keyword. > > This is not a bug. Just a little visual glitch :-) > > Note that I may fix it in the future. :-) > > Regards, > Highliters have always with this little problems. They don't interpret/compile the exact rules, just colorize following reserved words and simple flow control. My only problem with it here in gambas is rewriting with modified space count. Tabular layout to see optical i.e. miss typed argument length is broken. -- Greets Ron From yacc143 at ...626... Wed Jun 27 20:55:24 2007 From: yacc143 at ...626... (Andreas Kostyrka) Date: Wed, 27 Jun 2007 20:55:24 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <200706261754.14158.ronstk@...239...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706251727.14853.ronstk@...239...> <4b1e2ff90706260241s7254fb09yf09304d8ee1c1efd@...627...> <200706261754.14158.ronstk@...239...> Message-ID: <4b1e2ff90706271155ud9c9cbdnfebf499e674e9384@...627...> Ok, try to enter a function New function call (New is a standard function, I've included a link to the documentation of it). The IDE turns it into a uppercase NEW operator call that is invalid. Andreas 2007/6/26, ron : > > On Tuesday 26 June 2007 11:41, Andreas Kostyrka wrote: > > Nope, as I've pointed out already, NEW is an operator. New is a > function. > > > > If your 'New' is a _function_, I must assume it is made by you in your > code. > > As the syntax give examples as: > > a) hButton = New("Button", hParent) ' or > b) Button = NEW Button(ME) AS "MyButton" ' or > c) DIM iMyArray AS NEW Integer[] ' and this one > > 'New' here is not a simple function but a constructor method and > returns a object, yes functions returns something to. (the way i see) > > Did you made a function yourself as: > > FUNCTION New(sString,vArgs) > dim iTmp as INTEGER > itmp=CINT(sNumber) > iTmp=iTmp+iNumber > return iTmp > END > > Beside both New' and NEW' are reserved words in gambas and the example > function above should even normally not be allowed to make yourself. > > Simply as your previous code is $entries.Add(New("ABC", arg1)) > you do not tell exact what you want. > I assume "ABC" is just typing something but it is not unimportant. > > > The "ABC" argument should be a control or data type or results to it. > There is no control named "ABC" or data type with that id. > > The only conclusion is that you made yourself the function 'New' > which clashes with the reserved keywords in gambas. > Gambas can only highlight/beautify the code as is done > > $entries.Add(New("ABC", arg1)) ' you try syntax rule 'a' > > gets changed by the IDE to > > $entries.Add( NEW ("ABC", arg1)) ' because function New("a",b) can't > > What happen if you do $entries.Add(New("Button", arg1)) ? > > As I suggest previous, do it with two lines and this complex > construction could/should be solved. > > Lets wait what Benoit say more about it. I can be wrong to :( > > > Ron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From info.geex at ...626... Wed Jun 27 22:47:54 2007 From: info.geex at ...626... (Sergio A. Hernandez) Date: Wed, 27 Jun 2007 14:47:54 -0600 Subject: [Gambas-user] Gambas for applications Message-ID: <705a68020706271347g67503b6ek630014b75cab43cc@...627...> I need to do some automation on an .ods file (opendocument spreadsheet). Someone already do this with Gambas? Some one suggest me to try with XML and then open it with OOCalc. Any other idea? From gambas at ...1... Thu Jun 28 01:14:23 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Jun 2007 01:14:23 +0200 Subject: [Gambas-user] Gambas IDE 1.9.49-2 New Function formating. In-Reply-To: <4b1e2ff90706271155ud9c9cbdnfebf499e674e9384@...627...> References: <4b1e2ff90706221654h3c19af44p953d94834e2661d9@...627...> <200706261754.14158.ronstk@...239...> <4b1e2ff90706271155ud9c9cbdnfebf499e674e9384@...627...> Message-ID: <200706280114.23344.gambas@...1...> On mercredi 27 juin 2007, Andreas Kostyrka wrote: > Ok, try to enter a function New function call (New is a standard function, > I've included a link to the documentation of it). > > The IDE turns it into a uppercase NEW operator call that is invalid. > > Andreas > Note that if you really need to use New as an identifier (a function, variable, property or event name), you can do it by writing it between '{' and '}'. As in Visual Basic :-) Regards, -- Benoit Minisini From dev_kpp at ...43... Thu Jun 28 06:20:31 2007 From: dev_kpp at ...43... (develop kpp) Date: Wed, 27 Jun 2007 21:20:31 -0700 (PDT) Subject: [Gambas-user] gb.report In-Reply-To: <6324a42a0705091522j1e6879f6v8e60dcd034d6684a@...627...> Message-ID: <736511.95803.qm@...1723...> i try testreport_0.0.1 and the error show "Bad event handler in FMain.MyFieldFistName_Data():to many arguments" plese help me --- Fabien Bodard wrote: > oups ... > > 2007/5/10, Fabien Bodard : > > > > i think you really nee my example to understand > hos you are complicated > > the things :) > > > > so i send you an example that make a demo of > report cloner, and the > > autoresize mode. > > > > And in bonus a viewer a little bit commented > > > > Now really it begin to be easy. > > > > > > > > > > Regards, > > Fabien Bodard > > > > 2007/5/9, Steven Lobbezoo : > > > > > > OK, > > > > > > 1. As far as it works now, it's great ! I'm > using gb.reports for several > > > reports in my app, all works fine. > > > 2. I reported allready : I had to copy the Units > and TSizeParse classes > > > as > > > well as the MR module into my app to get it > working. > > > 3. If you write a second report, the drawing > area has to be cleaned from > > > > > > program, or there's nothing written. This could > be auto ? > > > 4. I cannot get the zoom to work properly in my > app. I've set : > > > PUBLIC PageCount AS Integer = 0 > > > PUBLIC ResolutionAffichage AS Float = > Desktop.Resolution > > > PUBLIC ReportZoom AS Float = 1 > > > PUBLIC ReportResolution AS Float = > Desktop.Resolution > > > in the MRTools module, that helps to print and > view allright, but zoom > > > stlll > > > does not work. > > > > > > Kindest regards, > > > Steven > > > > > > > > > > > > Le mercredi 9 mai 2007 17:13, Fabien Bodard a > ???crit: > > > > the better assistance, is already to test ! > And return the inpress, > > > the > > > > bugs, etc > > > > > > > > 2007/5/9, Steven Lobbezoo < > steven at ...1652...>: > > > > > Hi Fabien, > > > > > > > > > > I'll wait a bit ;-) than. > > > > > Since I still did not find the time to learn > OO, i'm afraid I cannot > > > be > > > > > of any > > > > > assistance. > > > > > > > > > > Regards, > > > > > Steven > > > > > > > > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a > ???crit: > > > > > > Hi, Steven > > > > > > > > > > > > What you are talking about is named > ReportSection and is not done > > > > > > yet... > > > > > > > > > > i > > > > > > > > > > > will begin that tomarow > > > > > > > > > > > > i'm currently on the adding of the scaled > value (in percentage) > > > for > > > > > > > > > > width, > > > > > > > > > > > height, padding, spacing) > > > > > > > > > > > > I've already done the autoresize mode, > today, that permit to grow > > > the > > > > > > container or object in function of their > content. > > > > > > > > > > > > But i need to stop here and wait for a > Benoit correcting on > > > > > > inheritance. > > > > > > > > > > > > Regards, > > > > > > Fabien Bodard > > > > > > > > > > > > 2007/5/8, Steven Lobbezoo > : > > > > > > > Hi, > > > > > > > > > > > > > > Is there a way to force a pagebreak ? > > > > > > > > > > > > > > Kind regards, > > > > > > > Steven > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > > This SF.net email is sponsored by DB2 > Express > > > > > > > Download DB2 Express C - the FREE > version of DB2 express and > > > take > > > > > > > control of your XML. No limits. Just > data. Click to get it now. > > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > This SF.net email is sponsored by DB2 > Express > > > > > > Download DB2 Express C - the FREE version > of DB2 express and take > > > > > > control of your XML. No limits. Just data. > Click to get it now. > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by DB2 > Express > > > > > Download DB2 Express C - the FREE version of > DB2 express and take > > > > > control of your XML. No limits. Just data. > Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of > DB2 express and take > > > > control of your XML. No limits. Just data. > Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 > express and take > > > control of your XML. No limits. Just data. Click > to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > === message truncated ===> ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/> _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php From steven at ...1652... Thu Jun 28 15:34:41 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Thu, 28 Jun 2007 15:34:41 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <000c01c7b815$469dd000$6401a8c0@...1587...> References: <000c01c7b815$469dd000$6401a8c0@...1587...> Message-ID: <200706281534.41530.steven@...1652...> Timothy, The reponse is in Benoits text : hSmtpClient.Add( "something text") or hSmtpClient.Add(something else, mimetype) Steven Le mardi 26 juin 2007 19:13, timothy a ?crit?: > > -----Original Message----- > > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > > bounces at lists.sourceforge.net] On Behalf Of Benoit Minisini > > Sent: Monday, 25 June 2007 07:58 PM > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] PDF file > > > > On lundi 25 juin 2007, Steven Lobbezoo wrote: > > > Sorry about that > > > I transferred it as root, > > > changed the access rights to 777 > > > so, you can read them now. > > > > > > Sorry again, > > > Steven > > > > I got the file, and I succeeded in sending it to myself by using > > another > > > Internet provider. I didn't get any error. Here is the code I used: > > > > DIM hSmtpClient AS NEW SmtpClient > > > > WITH hSmtpClient > > > > .Host = "smtp.noos.fr" > > .From = "gambas at ...764..." > > .Subject = "Test du composant SMTP de Gambas - " & Str(Now) > > .To.Add("XXXXX") ' Here is my private e-mail address > > .Add(File.Load("~/tempfile.pdf"), "application/pdf") > > > > .Send() > > > > END WITH > > > > -- > > Benoit Minisini > > I am probably missing something very simple. But how do you set the > message body of the SmtpClient email. There appears to be no Body > property? > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Thu Jun 28 16:00:51 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Thu, 28 Jun 2007 16:00:51 +0200 Subject: [Gambas-user] cannot install gambas on opensuse 10.2 Message-ID: <200706281600.51493.steven@...1652...> Hi, I'm trying to install gambas on an opensuse 10.2 box. I allready did the same on several other boxes, no problem, but this time ;-( I've downloaded the latest trunk, did ./reconf-all and ./configure. No errors, all is well; the disabled components are ok. Then the make fails. Can anybody tell me what i'm doing wrong (surely there must be some lib missing - as allways). The output of the make is below. Thanks Steven ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.odbc - gb.db.postgresql - gb.db.sqlite2 - gb.qte - gb.sdl - gb.sdl.sound ************************************************************ brigitte at ...1724...:~/trunk> make make all-recursive make[1]: entrant dans le r?pertoire ? /home/brigitte/trunk ? Making all in main make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? Making all in libltdl make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl ? make all-am make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl ? /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -l dl rm -fr .libs/libltdlc.a .libs/libltdlc.la ar cru .libs/libltdlc.a .libs/ltdl.o ranlib .libs/libltdlc.a creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? Making all in gbx make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbx ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbx ? Making all in gbc make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbc ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbc ? Making all in lib make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? Making all in debug make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/debug ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/debug ? Making all in eval make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/eval ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/eval ? Making all in db make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/db ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/db ? Making all in compress make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/compress ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/compress ? Making all in vb make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? Making all in option make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/option ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/option ? make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? make[5]: Rien ? faire pour ? all-am ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? Making all in share make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/share ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/share ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/main ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/main ? Making all in gb.compress.bzlib2 make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2/sr c ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.bzlib2 ? Making all in gb.compress.zlib make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib ? Making all in gb.db.mysql make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? Making all in gb.db.odbc make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? Making all in gb.db.postgresql make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql ? Making all in gb.db.sqlite3 make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? Making all in gb.db.sqlite2 make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? Making all in gb.db.firebird make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? Making all in gb.gtk make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? Making all in gb.net make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? Making all in gb.net.curl make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? Making all in gb.net.smtp make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? Making all in gb.pcre make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? make[4]: Rien ? faire pour ? all ?. make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? Making all in gb.qt make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? make all-recursive make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? Making all in src make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? Making all in share make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src/share ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/share ? Making all in ext make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext ? Making all in opengl make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src/opengl ? make[5]: Rien ? faire pour ? all ?. make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/opengl ? make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include/ -D_REENTRANT -I../share -I../src/share -DGB_QT_COMPONE NT -pipe -Wall -Wno-unused-value -fvisibility=hidden -g -Os -MT gb_qt_la-moc_ma in.lo -MD -MP -MF ".deps/gb_qt_la-moc_main.Tpo" -c -o gb_qt_la-moc_main.lo `test -f 'moc_main.cpp' || echo './'`moc_main.cpp; \ then mv -f ".deps/gb_qt_la-moc_main.Tpo" ".deps/gb_qt_la-moc_main.Plo"; else rm -f ".deps/gb_qt_la-moc_main.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include/ -D_REENTRANT -I../shar e -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value -fvisibility=hi dden -g -Os -MT gb_qt_la-moc_main.lo -MD -MP -MF .deps/gb_qt_la-moc_main.Tpo -c moc_main.cpp -fPIC -DPIC -o .libs/gb_qt_la-moc_main.o moc_main.cpp:12:2: error: #error "The header file 'main.h' doesn't include ." moc_main.cpp:39: error: 'const QMetaObject MyPostCheck::staticMetaObject' is not a static member of 'class MyPostCheck' moc_main.cpp:39: error: variable 'const QMetaObject MyPostCheck::staticMetaObjec t' has initializer but incomplete type moc_main.cpp:44: error: prototype for 'const QMetaObject* MyPostCheck::metaObjec t() const' does not match any in class 'MyPostCheck' main.h:46: error: candidate is: virtual QMetaObject* MyPostCheck::metaObject() c onst moc_main.cpp:44: error: 'const QMetaObject* MyPostCheck::metaObject() const' can not be overloaded main.h:46: error: with 'virtual QMetaObject* MyPostCheck::metaObject() const' moc_main.cpp: In member function 'const QMetaObject* MyPostCheck::metaObject() c onst': moc_main.cpp:46: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObjec t*' in return moc_main.cpp: At global scope: moc_main.cpp:49: error: no 'void* MyPostCheck::qt_metacast(const char*)' member function declared in class 'MyPostCheck' moc_main.cpp: In member function 'void* MyPostCheck::qt_metacast(const char*)': moc_main.cpp:54: error: 'qt_metacast' is not a member of 'QObject' moc_main.cpp: At global scope: moc_main.cpp:57: error: 'int MyPostCheck::qt_metacall' is not a static member of 'class MyPostCheck' moc_main.cpp:57: error: incomplete type 'QMetaObject' used in nested name specif ier moc_main.cpp:57: error: expected primary-expression before 'int' moc_main.cpp:57: error: expected primary-expression before 'void' moc_main.cpp:57: error: initializer expression list treated as compound expressi on moc_main.cpp:58: error: expected ',' or ';' before '{' token moc_main.cpp:87: error: 'const QMetaObject MyApplication::staticMetaObject' is n ot a static member of 'class MyApplication' moc_main.cpp:87: error: variable 'const QMetaObject MyApplication::staticMetaObj ect' has initializer but incomplete type moc_main.cpp:92: error: prototype for 'const QMetaObject* MyApplication::metaObj ect() const' does not match any in class 'MyApplication' main.h:59: error: candidate is: virtual QMetaObject* MyApplication::metaObject() const moc_main.cpp:92: error: 'const QMetaObject* MyApplication::metaObject() const' c annot be overloaded main.h:59: error: with 'virtual QMetaObject* MyApplication::metaObject() const' moc_main.cpp: In member function 'const QMetaObject* MyApplication::metaObject() const': moc_main.cpp:94: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObjec t*' in return moc_main.cpp: At global scope: moc_main.cpp:97: error: no 'void* MyApplication::qt_metacast(const char*)' membe r function declared in class 'MyApplication' moc_main.cpp: In member function 'void* MyApplication::qt_metacast(const char*)' moc_main.cpp:102: error: 'qt_metacast' is not a member of 'QApplication' moc_main.cpp: At global scope: moc_main.cpp:105: error: 'int MyApplication::qt_metacall' is not a static member of 'class MyApplication' moc_main.cpp:105: error: incomplete type 'QMetaObject' used in nested name speci fier moc_main.cpp:105: error: expected primary-expression before 'int' moc_main.cpp:105: error: expected primary-expression before 'void' moc_main.cpp:105: error: initializer expression list treated as compound express ion moc_main.cpp:106: error: expected ',' or ';' before '{' token make[5]: *** [gb_qt_la-moc_main.lo] Erreur 1 make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? make[4]: *** [all-recursive] Erreur 1 make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? make[3]: *** [all-recursive] Erreur 1 make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? make[2]: *** [all] Erreur 2 make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le r?pertoire ? /home/brigitte/trunk ? make: *** [all] Erreur 2 brigitte at ...1724...:~/trunk> ------------------------------------------------------- From info.geex at ...626... Thu Jun 28 16:22:06 2007 From: info.geex at ...626... (Sergio A. Hernandez) Date: Thu, 28 Jun 2007 08:22:06 -0600 Subject: [Gambas-user] Gambas-user Digest, Vol 13, Issue 17 In-Reply-To: References: Message-ID: <705a68020706280722t4e806b94pf552f7b4f52bacda@...627...> Steven, Make sure the following packages are installed: autoconf, automake, gcc, gcc-c++, g++, make, qt3, qt3-devel, qt3-static, qt3-doc. Also make sure that the QTDIR path have the right values. > ------------------------------ > > Message: 5 > Date: Thu, 28 Jun 2007 16:00:51 +0200 > From: Steven Lobbezoo > Subject: [Gambas-user] cannot install gambas on opensuse 10.2 > To: gambas-user at lists.sourceforge.net > Message-ID: <200706281600.51493.steven at ...1652...> > Content-Type: Text/Plain; charset="utf-8" > > Hi, > > I'm trying to install gambas on an opensuse 10.2 box. > I allready did the same on several other boxes, no problem, but this time ;-( > I've downloaded the latest trunk, did ./reconf-all > and ./configure. > No errors, all is well; the disabled components are ok. > Then the make fails. > Can anybody tell me what i'm doing wrong (surely there must be some lib > missing - as allways). > The output of the make is below. > > Thanks > Steven > > ************************************************************ > > THESE COMPONENTS ARE DISABLED: > > - gb.corba > - gb.db.firebird > - gb.db.odbc > - gb.db.postgresql > - gb.db.sqlite2 > - gb.qte > - gb.sdl > - gb.sdl.sound > > ************************************************************ > > brigitte at ...1724...:~/trunk> make > make all-recursive > make[1]: entrant dans le r?pertoire ? /home/brigitte/trunk ? > Making all in main > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > Making all in libltdl > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl > ? > make all-am > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl > ? > /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I. -g > -O2 -c -o ltdl.lo ltdl.c > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC > -o .libs/ltdl.o > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null > 2>&1 > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la > ltdl.lo -l > dl > rm -fr .libs/libltdlc.a .libs/libltdlc.la > ar cru .libs/libltdlc.a .libs/ltdl.o > ranlib .libs/libltdlc.a > creating libltdlc.la > (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? > Making all in gbx > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbx ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbx ? > Making all in gbc > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbc ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbc ? > Making all in lib > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? > Making all in debug > make[5]: entrant dans le r?pertoire > ? /home/brigitte/trunk/main/lib/debug ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/debug ? > Making all in eval > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/eval > ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/eval ? > Making all in db > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/db ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/db ? > Making all in compress > make[5]: entrant dans le r?pertoire > ? /home/brigitte/trunk/main/lib/compress ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/compress > ? > Making all in vb > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? > Making all in option > make[5]: entrant dans le r?pertoire > ? /home/brigitte/trunk/main/lib/option ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/option ? > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? > make[5]: Rien ? faire pour ? all-am ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? > Making all in share > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/share ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/share ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > Making all in gb.compress.bzlib2 > make[2]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > make all-recursive > make[3]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2/sr > c ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2/src ? > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > make[4]: quittant le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > make[3]: quittant le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > make[2]: quittant le r?pertoire > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > Making all in gb.compress.zlib > make[2]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.zlib ? > make all-recursive > make[3]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.zlib ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.zlib/src > ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire > ? /home/brigitte/trunk/gb.compress.zlib/src ? > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.compress.zlib ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > ? > Making all in gb.db.mysql > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.mysql/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > Making all in gb.db.odbc > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > Making all in gb.db.postgresql > make[2]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.postgresql ? > make all-recursive > make[3]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.postgresql ? > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.postgresql ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > ? > Making all in gb.db.sqlite3 > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.sqlite3/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3/src > ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > Making all in gb.db.sqlite2 > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > Making all in gb.db.firebird > make[2]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.firebird ? > make all-recursive > make[3]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.firebird ? > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.db.firebird ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > Making all in gb.gtk > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > Making all in src > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > Making all in gb.net > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > Making all in src > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > Making all in gb.net.curl > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.net.curl/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > Making all in gb.net.smtp > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > Making all in src > make[4]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.net.smtp/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > Making all in gb.pcre > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > Making all in src > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? > make[4]: Rien ? faire pour ? all ?. > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > Making all in gb.qt > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? > make all-recursive > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? > Making all in src > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > Making all in share > make[5]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.qt/src/share ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/share ? > Making all in ext > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext > ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext ? > Making all in opengl > make[5]: entrant dans le r?pertoire > ? /home/brigitte/trunk/gb.qt/src/opengl ? > make[5]: Rien ? faire pour ? all ?. > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/opengl > ? > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I. -I.. > -I/usr/lib/qt3/include/ -D_REENTRANT -I../share -I../src/share > -DGB_QT_COMPONE > NT -pipe -Wall -Wno-unused-value -fvisibility=hidden -g -Os -MT > gb_qt_la-moc_ma > in.lo -MD -MP -MF ".deps/gb_qt_la-moc_main.Tpo" -c -o > gb_qt_la-moc_main.lo `test > -f 'moc_main.cpp' || echo './'`moc_main.cpp; \ > then mv -f ".deps/gb_qt_la-moc_main.Tpo" > ".deps/gb_qt_la-moc_main.Plo"; > else rm -f ".deps/gb_qt_la-moc_main.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include/ -D_REENTRANT > -I../shar > e -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value > -fvisibility=hi > dden -g -Os -MT gb_qt_la-moc_main.lo -MD -MP > -MF .deps/gb_qt_la-moc_main.Tpo -c > moc_main.cpp -fPIC -DPIC -o .libs/gb_qt_la-moc_main.o > moc_main.cpp:12:2: error: #error "The header file 'main.h' doesn't > include ect>." > moc_main.cpp:39: error: 'const QMetaObject > MyPostCheck::staticMetaObject' is not > a static member of 'class MyPostCheck' > moc_main.cpp:39: error: variable 'const QMetaObject > MyPostCheck::staticMetaObjec > t' has initializer but incomplete type > moc_main.cpp:44: error: prototype for 'const QMetaObject* > MyPostCheck::metaObjec > t() const' does not match any in class 'MyPostCheck' > main.h:46: error: candidate is: virtual QMetaObject* > MyPostCheck::metaObject() c > onst > moc_main.cpp:44: error: 'const QMetaObject* MyPostCheck::metaObject() > const' can > not be overloaded > main.h:46: error: with 'virtual QMetaObject* MyPostCheck::metaObject() > const' > moc_main.cpp: In member function 'const QMetaObject* > MyPostCheck::metaObject() c > onst': > moc_main.cpp:46: error: cannot convert 'QMetaObject* (*)()' to 'const > QMetaObjec > t*' in return > moc_main.cpp: At global scope: > moc_main.cpp:49: error: no 'void* MyPostCheck::qt_metacast(const char*)' > member > function declared in class 'MyPostCheck' > moc_main.cpp: In member function 'void* MyPostCheck::qt_metacast(const > char*)': > moc_main.cpp:54: error: 'qt_metacast' is not a member of 'QObject' > moc_main.cpp: At global scope: > moc_main.cpp:57: error: 'int MyPostCheck::qt_metacall' is not a static > member of > 'class MyPostCheck' > moc_main.cpp:57: error: incomplete type 'QMetaObject' used in nested > name specif > ier > moc_main.cpp:57: error: expected primary-expression before 'int' > moc_main.cpp:57: error: expected primary-expression before 'void' > moc_main.cpp:57: error: initializer expression list treated as compound > expressi > on > moc_main.cpp:58: error: expected ',' or ';' before '{' token > moc_main.cpp:87: error: 'const QMetaObject > MyApplication::staticMetaObject' is n > ot a static member of 'class MyApplication' > moc_main.cpp:87: error: variable 'const QMetaObject > MyApplication::staticMetaObj > ect' has initializer but incomplete type > moc_main.cpp:92: error: prototype for 'const QMetaObject* > MyApplication::metaObj > ect() const' does not match any in class 'MyApplication' > main.h:59: error: candidate is: virtual QMetaObject* > MyApplication::metaObject() > const > moc_main.cpp:92: error: 'const QMetaObject* MyApplication::metaObject() > const' c > annot be overloaded > main.h:59: error: with 'virtual QMetaObject* MyApplication::metaObject() > const' > moc_main.cpp: In member function 'const QMetaObject* > MyApplication::metaObject() > const': > moc_main.cpp:94: error: cannot convert 'QMetaObject* (*)()' to 'const > QMetaObjec > t*' in return > moc_main.cpp: At global scope: > moc_main.cpp:97: error: no 'void* MyApplication::qt_metacast(const > char*)' membe > r function declared in class 'MyApplication' > moc_main.cpp: In member function 'void* MyApplication::qt_metacast(const > char*)' > > moc_main.cpp:102: error: 'qt_metacast' is not a member of 'QApplication' > moc_main.cpp: At global scope: > moc_main.cpp:105: error: 'int MyApplication::qt_metacall' is not a > static member of 'class MyApplication' > moc_main.cpp:105: error: incomplete type 'QMetaObject' used in nested > name speci fier > moc_main.cpp:105: error: expected primary-expression before 'int' > moc_main.cpp:105: error: expected primary-expression before 'void' > moc_main.cpp:105: error: initializer expression list treated as compound > express ion > moc_main.cpp:106: error: expected ',' or ';' before '{' token > make[5]: *** [gb_qt_la-moc_main.lo] Erreur 1 > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > make[4]: *** [all-recursive] Erreur 1 > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > make[3]: *** [all-recursive] Erreur 1 > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? > make[2]: *** [all] Erreur 2 > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? > make[1]: *** [all-recursive] Erreur 1 > make[1]: quittant le r?pertoire ? /home/brigitte/trunk ? > make: *** [all] Erreur 2 > brigitte at ...1724...:~/trunk> > > ------------------------------------------------------- > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 13, Issue 17 > ******************************************* > From sourceforge-raindog2 at ...94... Thu Jun 28 18:30:13 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Jun 2007 12:30:13 -0400 Subject: [Gambas-user] cannot install gambas on opensuse 10.2 In-Reply-To: <200706281600.51493.steven@...1652...> References: <200706281600.51493.steven@...1652...> Message-ID: <200706281230.13586.sourceforge-raindog2@...94...> On Thursday 28 June 2007, Steven Lobbezoo wrote: > I'm trying to install gambas on an opensuse 10.2 box. ... > moc_main.cpp:102: error: 'qt_metacast' is not a member of > 'QApplication' moc_main.cpp: At global scope: Sure sounds like you're trying to build Gambas under Qt4. It needs Qt3 at present (and a 32-bit environment, just to cover the other obvious gotcha.) Rob From david_villalobos_c at ...43... Thu Jun 28 18:35:18 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Thu, 28 Jun 2007 09:35:18 -0700 (PDT) Subject: [Gambas-user] Form definition Message-ID: <658702.16088.qm@...1670...> Hi all, I made a project with Gambas 1.9.25 and when I try to compile it with 1.9.49 is says something about there is a problem in Form Definition, time ago, someone ask the same, but I couldn't find the mail. My question is: how can I solve it? Best regards David ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From timothy.marshal-nichols at ...247... Fri Jun 29 08:46:47 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Fri, 29 Jun 2007 07:46:47 +0100 Subject: [Gambas-user] PDF file In-Reply-To: <200706281534.41530.steven@...1652...> Message-ID: <000001c7ba19$44d75560$6401a8c0@...1587...> > > > > > > I got the file, and I succeeded in sending it to myself by using > > > > another > > > > > Internet provider. I didn't get any error. Here is the code I used: > > > > > > DIM hSmtpClient AS NEW SmtpClient > > > > > > WITH hSmtpClient > > > > > > .Host = "smtp.noos.fr" > > > .From = "gambas at ...764..." > > > .Subject = "Test du composant SMTP de Gambas - " & Str(Now) > > > .To.Add("XXXXX") ' Here is my private e-mail address > > > .Add(File.Load("~/tempfile.pdf"), "application/pdf") > > > > > > .Send() > > > > > > END WITH > > > > > > -- > > > Benoit Minisini > > > > I am probably missing something very simple. But how do you set the > > message body of the SmtpClient email. There appears to be no Body > > property? > > > > Thanks > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > > > Timothy, > > The reponse is in Benoits text : > > hSmtpClient.Add( "something text") > or > hSmtpClient.Add(something else, mimetype) > > Steven > > Thanks, I have just tried this. Alas it adds a text attachment to the mail message. Which I guess is what you would expect when looking at the help. It does not set the message body. Thanks 8-{)} Timothy Marshal-Nichols From eilert-sprachen at ...221... Fri Jun 29 11:35:49 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 29 Jun 2007 11:35:49 +0200 Subject: [Gambas-user] TextEdit or Editor control questions Message-ID: <4684D275.8040906@...221...> Does anyone here have experience with the TextEdit and the Editor controls? There are two different applications of mine which could be pimped by one of the two. The first is a printing form editor which would profit from being able to highlight commands and keywords, the second is a part of the printing system I made enabling the user to type something into a given text before it is printed. So I was looking into how these two are operated, but there are a couple of questions left open: - When I want the Editor to highlight my commands instead of Gambas ones (it's Custom, right?), where do I define my keywords etc. to highlight? - In the TextEdit.Text, there is always the whole code delivered back including HTML tags. Is there a way to get an extract of pure text? These are the first two questions :-) and oh yes, does anyone have made an example app with those? Thanks for your ideas! Rolf From steven at ...1652... Sat Jun 30 10:19:50 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 30 Jun 2007 10:19:50 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <000001c7ba19$44d75560$6401a8c0@...1587...> References: <000001c7ba19$44d75560$6401a8c0@...1587...> Message-ID: <200706301019.50887.steven@...1652...> I dont get it. If I do this : FOR EACH tmp IN ToMails Ema.To.Add(tmp) NEXT Ema.From = MGlobal.U_Mail Ema.Subject = "Voici votre information concernant le bien " & ME.Tag Ema.Host = "revimmo.com" Ema.Alternative = FALSE Ema.Add("Voici votre fichier pdf avec les donn?es principales sur le bien " & ME.Tag & "\nNous sommes toujours a votre service pour des renseignements supplementaires" & "\n\nDe la part de " & MGlobal.U_Nom & " de " & MGlobal.U_AgenNom & "\n" & MGlobal.U_AgenStreet & "\n" & Mglobal.U_AgenPlz & " " & Mglobal.U_AgenVille & "\nTel.: " & MGlobal.U_AgenTel & " et Fax : " & MGlobal.U_AgenFax & "\n\nMon portable est : " & MGlobal.U_Cell) Ema.Add(file.Load(User.Home & "/request/work/tempfile.pdf"), "application/pdf", ME.Tag & ".pdf") Ema.Send message.Info("Vos message(s) sont envoy?es") I get a message with the text AND an attachement (pdf file) Works exactly correct with me Steven Le vendredi 29 juin 2007 08:46, timothy a ?crit?: > > > > I got the file, and I succeeded in sending it to myself by using > > > > > > another > > > > > > > Internet provider. I didn't get any error. Here is the code I > > used: > > > > DIM hSmtpClient AS NEW SmtpClient > > > > > > > > WITH hSmtpClient > > > > > > > > .Host = "smtp.noos.fr" > > > > .From = "gambas at ...764..." > > > > .Subject = "Test du composant SMTP de Gambas - " & Str(Now) > > > > .To.Add("XXXXX") ' Here is my private e-mail address > > > > .Add(File.Load("~/tempfile.pdf"), "application/pdf") > > > > > > > > .Send() > > > > > > > > END WITH > > > > > > > > -- > > > > Benoit Minisini > > > > > > I am probably missing something very simple. But how do you set the > > > message body of the SmtpClient email. There appears to be no Body > > > property? > > > > > > Thanks > > > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > Timothy, > > > > The reponse is in Benoits text : > > > > hSmtpClient.Add( "something text") > > or > > hSmtpClient.Add(something else, mimetype) > > > > Steven > > Thanks, I have just tried this. Alas it adds a text attachment to the > mail message. Which I guess is what you would expect when looking at the > help. It does not set the message body. > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Sat Jun 30 10:22:43 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 30 Jun 2007 10:22:43 +0200 Subject: [Gambas-user] cannot install gambas on opensuse 10.2 In-Reply-To: <200706281230.13586.sourceforge-raindog2@...94...> References: <200706281600.51493.steven@...1652...> <200706281230.13586.sourceforge-raindog2@...94...> Message-ID: <200706301022.43995.steven@...1652...> Helas, No I had Qt4 and Qt3 installed. So for the test, I removed Qt4 ( and surely i'm in a 32 bit environment) With only Qt3 I get the same result. Steven Le jeudi 28 juin 2007 18:30, Rob a ?crit?: > On Thursday 28 June 2007, Steven Lobbezoo wrote: > > I'm trying to install gambas on an opensuse 10.2 box. > > ... > > > moc_main.cpp:102: error: 'qt_metacast' is not a member of > > 'QApplication' moc_main.cpp: At global scope: > > Sure sounds like you're trying to build Gambas under Qt4. It needs > Qt3 at present (and a 32-bit environment, just to cover the other > obvious gotcha.) > > Rob > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Sat Jun 30 10:27:27 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 30 Jun 2007 10:27:27 +0200 Subject: [Gambas-user] Gambas-user Digest, Vol 13, Issue 17 In-Reply-To: <705a68020706280722t4e806b94pf552f7b4f52bacda@...627...> References: <705a68020706280722t4e806b94pf552f7b4f52bacda@...627...> Message-ID: <200706301027.27135.steven@...1652...> Hi, They are all installed. I did not have an QTDIR variable. So, I tried to set it to "/usr/lib/qt3" Same result Steven Le jeudi 28 juin 2007 16:22, Sergio A. Hernandez a ?crit?: > Steven, > > Make sure the following packages are installed: > autoconf, automake, gcc, gcc-c++, g++, make, qt3, qt3-devel, > qt3-static, qt3-doc. > > Also make sure that the QTDIR path have the right values. > > > ------------------------------ > > > > Message: 5 > > Date: Thu, 28 Jun 2007 16:00:51 +0200 > > From: Steven Lobbezoo > > Subject: [Gambas-user] cannot install gambas on opensuse 10.2 > > To: gambas-user at lists.sourceforge.net > > Message-ID: <200706281600.51493.steven at ...1652...> > > Content-Type: Text/Plain; charset="utf-8" > > > > Hi, > > > > I'm trying to install gambas on an opensuse 10.2 box. > > I allready did the same on several other boxes, no problem, but this time > > ;-( I've downloaded the latest trunk, did ./reconf-all > > and ./configure. > > No errors, all is well; the disabled components are ok. > > Then the make fails. > > Can anybody tell me what i'm doing wrong (surely there must be some lib > > missing - as allways). > > The output of the make is below. > > > > Thanks > > Steven > > > > ************************************************************ > > > > THESE COMPONENTS ARE DISABLED: > > > > - gb.corba > > - gb.db.firebird > > - gb.db.odbc > > - gb.db.postgresql > > - gb.db.sqlite2 > > - gb.qte > > - gb.sdl > > - gb.sdl.sound > > > > ************************************************************ > > > > brigitte at ...1724...:~/trunk> make > > make all-recursive > > make[1]: entrant dans le r?pertoire ? /home/brigitte/trunk ? > > Making all in main > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > > Making all in libltdl > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl > > ? > > make all-am > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/libltdl > > ? > > /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > -I. -g > > -O2 -c -o ltdl.lo ltdl.c > > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC > > -o .libs/ltdl.o > > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null > > 2>&1 > > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la > > ltdl.lo -l > > dl > > rm -fr .libs/libltdlc.a .libs/libltdlc.la > > ar cru .libs/libltdlc.a .libs/ltdl.o > > ranlib .libs/libltdlc.a > > creating libltdlc.la > > (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/libltdl ? > > Making all in gbx > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbx ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbx ? > > Making all in gbc > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/gbc ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/gbc ? > > Making all in lib > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? > > Making all in debug > > make[5]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/main/lib/debug ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/debug ? > > Making all in eval > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/eval > > ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/eval ? > > Making all in db > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/db ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/db ? > > Making all in compress > > make[5]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/main/lib/compress ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/compress > > ? > > Making all in vb > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/vb ? > > Making all in option > > make[5]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/main/lib/option ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib/option ? > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/lib ? > > make[5]: Rien ? faire pour ? all-am ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/lib ? > > Making all in share > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main/share ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main/share ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/main ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/main ? > > Making all in gb.compress.bzlib2 > > make[2]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > make all-recursive > > make[3]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2/sr > > c ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2/src ? > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > make[4]: quittant le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > make[3]: quittant le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > make[2]: quittant le r?pertoire > > ? /home/brigitte/trunk/gb.compress.bzlib2 ? > > Making all in gb.compress.zlib > > make[2]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.zlib ? > > make all-recursive > > make[3]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.zlib ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.zlib/src > > ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire > > ? /home/brigitte/trunk/gb.compress.zlib/src ? > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.compress.zlib ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > > ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > > ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.compress.zlib > > ? > > Making all in gb.db.mysql > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.mysql/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.mysql ? > > Making all in gb.db.odbc > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.odbc ? > > Making all in gb.db.postgresql > > make[2]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.postgresql ? > > make all-recursive > > make[3]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.postgresql ? > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.postgresql ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > > ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > > ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.postgresql > > ? > > Making all in gb.db.sqlite3 > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > > ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > > ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.sqlite3/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3/src > > ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 > > ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite3 ? > > Making all in gb.db.sqlite2 > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > > ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > > ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 > > ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.sqlite2 ? > > Making all in gb.db.firebird > > make[2]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.firebird ? > > make all-recursive > > make[3]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.firebird ? > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.db.firebird ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.db.firebird ? > > Making all in gb.gtk > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > Making all in src > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.gtk ? > > Making all in gb.net > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > > Making all in src > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net ? > > Making all in gb.net.curl > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.net.curl/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.curl ? > > Making all in gb.net.smtp > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > Making all in src > > make[4]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.net.smtp/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.net.smtp ? > > Making all in gb.pcre > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > Making all in src > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? > > make[4]: Rien ? faire pour ? all ?. > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre/src ? > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.pcre ? > > Making all in gb.qt > > make[2]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? > > make all-recursive > > make[3]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt ? > > Making all in src > > make[4]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > > Making all in share > > make[5]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.qt/src/share ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/share ? > > Making all in ext > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext > > ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/ext ? > > Making all in opengl > > make[5]: entrant dans le r?pertoire > > ? /home/brigitte/trunk/gb.qt/src/opengl ? > > make[5]: Rien ? faire pour ? all ?. > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src/opengl > > ? > > make[5]: entrant dans le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > > if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > > -I. -I.. > > -I/usr/lib/qt3/include/ -D_REENTRANT -I../share -I../src/share > > -DGB_QT_COMPONE > > NT -pipe -Wall -Wno-unused-value -fvisibility=hidden -g -Os -MT > > gb_qt_la-moc_ma > > in.lo -MD -MP -MF ".deps/gb_qt_la-moc_main.Tpo" -c -o > > gb_qt_la-moc_main.lo `test > > -f 'moc_main.cpp' || echo './'`moc_main.cpp; \ > > then mv -f ".deps/gb_qt_la-moc_main.Tpo" > > ".deps/gb_qt_la-moc_main.Plo"; > > else rm -f ".deps/gb_qt_la-moc_main.Tpo"; exit 1; fi > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include/ -D_REENTRANT > > -I../shar > > e -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value > > -fvisibility=hi > > dden -g -Os -MT gb_qt_la-moc_main.lo -MD -MP > > -MF .deps/gb_qt_la-moc_main.Tpo -c > > moc_main.cpp -fPIC -DPIC -o .libs/gb_qt_la-moc_main.o > > moc_main.cpp:12:2: error: #error "The header file 'main.h' doesn't > > include > ect>." > > moc_main.cpp:39: error: 'const QMetaObject > > MyPostCheck::staticMetaObject' is not > > a static member of 'class MyPostCheck' > > moc_main.cpp:39: error: variable 'const QMetaObject > > MyPostCheck::staticMetaObjec > > t' has initializer but incomplete type > > moc_main.cpp:44: error: prototype for 'const QMetaObject* > > MyPostCheck::metaObjec > > t() const' does not match any in class 'MyPostCheck' > > main.h:46: error: candidate is: virtual QMetaObject* > > MyPostCheck::metaObject() c > > onst > > moc_main.cpp:44: error: 'const QMetaObject* MyPostCheck::metaObject() > > const' can > > not be overloaded > > main.h:46: error: with 'virtual QMetaObject* MyPostCheck::metaObject() > > const' > > moc_main.cpp: In member function 'const QMetaObject* > > MyPostCheck::metaObject() c > > onst': > > moc_main.cpp:46: error: cannot convert 'QMetaObject* (*)()' to 'const > > QMetaObjec > > t*' in return > > moc_main.cpp: At global scope: > > moc_main.cpp:49: error: no 'void* MyPostCheck::qt_metacast(const char*)' > > member > > function declared in class 'MyPostCheck' > > moc_main.cpp: In member function 'void* MyPostCheck::qt_metacast(const > > char*)': > > moc_main.cpp:54: error: 'qt_metacast' is not a member of 'QObject' > > moc_main.cpp: At global scope: > > moc_main.cpp:57: error: 'int MyPostCheck::qt_metacall' is not a static > > member of > > 'class MyPostCheck' > > moc_main.cpp:57: error: incomplete type 'QMetaObject' used in nested > > name specif > > ier > > moc_main.cpp:57: error: expected primary-expression before 'int' > > moc_main.cpp:57: error: expected primary-expression before 'void' > > moc_main.cpp:57: error: initializer expression list treated as compound > > expressi > > on > > moc_main.cpp:58: error: expected ',' or ';' before '{' token > > moc_main.cpp:87: error: 'const QMetaObject > > MyApplication::staticMetaObject' is n > > ot a static member of 'class MyApplication' > > moc_main.cpp:87: error: variable 'const QMetaObject > > MyApplication::staticMetaObj > > ect' has initializer but incomplete type > > moc_main.cpp:92: error: prototype for 'const QMetaObject* > > MyApplication::metaObj > > ect() const' does not match any in class 'MyApplication' > > main.h:59: error: candidate is: virtual QMetaObject* > > MyApplication::metaObject() > > const > > moc_main.cpp:92: error: 'const QMetaObject* MyApplication::metaObject() > > const' c > > annot be overloaded > > main.h:59: error: with 'virtual QMetaObject* MyApplication::metaObject() > > const' > > moc_main.cpp: In member function 'const QMetaObject* > > MyApplication::metaObject() > > const': > > moc_main.cpp:94: error: cannot convert 'QMetaObject* (*)()' to 'const > > QMetaObjec > > t*' in return > > moc_main.cpp: At global scope: > > moc_main.cpp:97: error: no 'void* MyApplication::qt_metacast(const > > char*)' membe > > r function declared in class 'MyApplication' > > moc_main.cpp: In member function 'void* MyApplication::qt_metacast(const > > char*)' > > > > moc_main.cpp:102: error: 'qt_metacast' is not a member of 'QApplication' > > moc_main.cpp: At global scope: > > moc_main.cpp:105: error: 'int MyApplication::qt_metacall' is not a > > static member of 'class MyApplication' > > moc_main.cpp:105: error: incomplete type 'QMetaObject' used in nested > > name speci fier > > moc_main.cpp:105: error: expected primary-expression before 'int' > > moc_main.cpp:105: error: expected primary-expression before 'void' > > moc_main.cpp:105: error: initializer expression list treated as compound > > express ion > > moc_main.cpp:106: error: expected ',' or ';' before '{' token > > make[5]: *** [gb_qt_la-moc_main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/brigitte/trunk/gb.qt ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/brigitte/trunk ? > > make: *** [all] Erreur 2 > > brigitte at ...1724...:~/trunk> > > > > ------------------------------------------------------- > > > > > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > > > ------------------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > End of Gambas-user Digest, Vol 13, Issue 17 > > ******************************************* > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Jun 30 12:53:41 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Jun 2007 12:53:41 +0200 Subject: [Gambas-user] PDF file In-Reply-To: <200706301019.50887.steven@...1652...> References: <000001c7ba19$44d75560$6401a8c0@...1587...> <200706301019.50887.steven@...1652...> Message-ID: <200706301253.41360.gambas@...1...> On samedi 30 juin 2007, Steven Lobbezoo wrote: > I dont get it. > If I do this : > > FOR EACH tmp IN ToMails > Ema.To.Add(tmp) > NEXT > > Ema.From = MGlobal.U_Mail > Ema.Subject = "Voici votre information concernant le bien " & ME.Tag > Ema.Host = "revimmo.com" > Ema.Alternative = FALSE > Ema.Add("Voici votre fichier pdf avec les donn?es principales sur le > bien " & ME.Tag & > "\nNous sommes toujours a votre service pour des > renseignements supplementaires" & > "\n\nDe la part de " & MGlobal.U_Nom & " de " & > MGlobal.U_AgenNom & > "\n" & MGlobal.U_AgenStreet & > "\n" & Mglobal.U_AgenPlz & " " & Mglobal.U_AgenVille & > "\nTel.: " & MGlobal.U_AgenTel & " et Fax : " & > MGlobal.U_AgenFax & > "\n\nMon portable est : " & MGlobal.U_Cell) > Ema.Add(file.Load(User.Home > & "/request/work/tempfile.pdf"), "application/pdf", ME.Tag & ".pdf") > > Ema.Send > message.Info("Vos message(s) sont envoy?es") > > > I get a message with the text AND an attachement (pdf file) > > Works exactly correct with me > > Steven > The final visual result depends on the mail reader. There is no difference between the body of the mail and attached files in the SMTP + MIME protocol. There are all parts of a 'multipart/mixed' MIME message. The only difference is that the body is the first part, and that it is a 'text/plain' part. Regards, -- Benoit Minisini