Re: [Gambas-user] C Code character manipulation - alternatives
I am converting the at the end C code to gambas code. But I seem to be getting nowhere, currently. I am trying. Hope u guide me thru this. ' Gambas module file ' This program demonstrates the relationship ' between a text stream AND character I / O by ' reading characters FROM the keyboard AND THEN ' printing them TO the screen. PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command ' READ , PRINT , AND count characters. PRINT Enter characters (ctrl d to quit): INPUT c count += 1 WHILE NOT (c = Eof) PRINT Chr$(c) INPUT c count += 1 WEND ' PRINT the number OF characters printed. PRINT (count - 1) characters printed. END ' Original C Code: '/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / '/ * * / '/ * This program demonstrates the relationship * / '/ * between a text stream AND character I / O by * / '/ * reading characters FROM the keyboard AND THEN * / '/ * printing them TO the screen. * / '#include stdio.h '#include stdlib.h 'main() '{ ' / * Declare AND initialize variables. * / ' Int c, count = 0; ' / * READ , PRINT , AND count characters. * / ' printf(Enter characters (ctrl d to quit): \n); ' c = getchar(); ' count + +; ' WHILE (c! = Eof) ' { ' putchar(c); ' c = getchar(); ' count + +; ' } ' / * PRINT the number OF characters printed. * / ' printf(%i characters printed. \n, count - 1); ' / * EXIT Program. * / ' RETURN EXIT_SUCCESS; '} '/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / '/ / NOTE: '/ / FOR most OF the unix systems: Eof IS done by: ctrl d The output in C cdoe is: Enter characters (ctrl d to quit): e e re re tyui tyui jhg mnkl jhg mnkl 19 characters printed. -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23629486.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] kdesu vs gksu
Thanks for your offer, still very interested to look at your own example. I think may be hard to happen on the universal solution. Thanks in advance Jesus Steven James Drinnan escribió: For me I would use neither, it would rely on those packages being available. In Fedora it uses its own graphical system - sorry can tell you the name its linked directly to the authentication system. As such those packages are nowhere to be seen. Instead let your package do the checking using shell. There some examples around. If you need I can give you one that you can add in to the sample given by Jose J. Rodriguez. Steven. On Tue, 2009-05-19 at 22:00 +0200, Jesus Guardon wrote: Thanks, Jose This is a good approach, too. But also not perfect, ;-) ... A friend of mine tells that in his Debian testing (KDE), no kdesu is available. Instead it have 'kdesudo', so in this case your code (and David's too) might fail. We must check for this, too. Another issue is that I want to start, is a daemon process and a bit later, another process that connects to this daemon. So, to clarify: 1st) I start a daemon with shell gksu -u root 'some process' 2nd) Meanwhile (we type the passwd), the other process has started, but no host to connect to, because this process has started before the 1st one, which is the host. So my client process fails misserably. I'm not be able to use WAIT in the first shell statement, because a daemon never stops running, so I need to insert a 'WAIT n' in between, not very elegant... Sorry for the brick Best regards Jesus Jose J. Rodriguez escribió: On 5/18/09, Jesus Guardon jguar...@telefonica.net wrote: Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to get it to work. Is there a way to choose between either gksu o kdesu commands at runtime? I've figured it out if it could be something like: SHELL gksu | kdesu -u root 'some_command' or SHELL gksu -u root 'some_command' | kdesu -u root 'some_command' Here's what I do in the vl-hot-config utility: *** ' Gambas module file PUBLIC SUB Main() DIM MyProc AS Process DIM Ret AS String IF System.User.Id 0 THEN EXEC [which, kdesu] TO Ret IF InStr(Ret, kdesu) THEN EXEC [kdesu, Application.Path / vl-hot-config.gambas] ELSE EXEC [which, gksu] TO Ret IF InStr(Ret, gksu) THEN EXEC [gksu, Application.Path / vl-hot-config.gambas] ELSE PRINT No kdesu or gksu available (vl-hot-config needs to run as root)... ENDIF ENDIF QUIT ENDIF FMain.Show END *** Regards, Joe1962 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Icon List in IDE doesn't refresh
In the middle of my working with Gambas2, I just found that when I add another .png as a picture for an icon via the IDE, it is not mentioned yet in the list (TreeView) on the IDE (under Data). I guess it appears only after a reload of the project. This doesn't bother me too much, but it might be confusing for a beginner. Regards Rolf -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] C Code character manipulation - alternatives
The Code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command DIM c1 AS String ' READ , PRINT , AND count characters. PRINT Enter characters (Press Carriage Return Twice to quit): LINE INPUT c1 PRINT c1 count += Len(c1) WHILE NOT (c1 = Eof) LINE INPUT c1 count += Len(c1) PRINT c1 WEND ' PRINT the number OF characters printed. PRINT count characters printed. END Gives me output: Enter characters (Press Carriage Return Twice to quit): 657uyguig 657uyguig uyt876896 uyt876896 21 characters printed. Is it OKAY, should I leave it here? I still dont get the feel of the C code here. I cant use ^Z to end the program and print output. :confused: -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23631663.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] C Code character manipulation - alternatives
KhurramM ha scritto: The Code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command DIM c1 AS String ' READ , PRINT , AND count characters. PRINT Enter characters (Press Carriage Return Twice to quit): LINE INPUT c1 PRINT c1 count += Len(c1) WHILE NOT (c1 = Eof) LINE INPUT c1 count += Len(c1) PRINT c1 WEND ' PRINT the number OF characters printed. PRINT count characters printed. END Gives me output: Enter characters (Press Carriage Return Twice to quit): 657uyguig 657uyguig uyt876896 uyt876896 21 characters printed. Is it OKAY, should I leave it here? I still dont get the feel of the C code here. I cant use ^Z to end the program and print output. :confused: Gambas and C are two very different beasts. Looking at your source, I can say the following: - LINE INPUT. This reads from stdin an entire line of text, terminated by an LF. It is different from INPUT because it reads a whole line, while INPUT tries to match number and words. It returns a string, which is different from C strings. - WHILE NOT (c1 = Eof). Gambas does not require to embed tests in parenthesis. Better to write while c1eof. Then, the EOF (end of file) is not a character, but a condition of a stream. A stream (or a file) is in EOF condition when there is no more data left to read. Sorry for this, but to see this as a character is a C stupid thing; it works, but it is inelegant. In the source you wrote Press enter twice to quit, so I would test for an empty string: while c1. Anyway, you can test for the end-of-file condition using Eof(), like you did. The Eof() is a function which tells if a stream is at end. It returns a boolean (true/false) value, and can not be compared to a string. If gambas does not gives you an error, then it is its fault. Gambas does not require parenthesis to invoke functions, so writing Eof is the same as writing Eof(). If Eof is invoked with a parameter, like Eof(myfile), it tests the indicated stream; if invoked without parameters, it tests the standard input. I am not sure how it couples with input/line input; you could also try while not eof instead of while c1Eof. The original C source you provided was not totally correct, and so is not id gambas descendant. Perhaps a better way to write the program could be: PRINT Enter characters (Press Carriage Return Twice to quit): do LINE INPUT c1 if c1= then break PRINT c1 count += Len(c1) loop PRINT count characters printed. This assumes to enter a null line to terminate. May be this also works (testing for eof): PRINT Enter characters (press ^D to terminate): while not eof LINE INPUT c1 PRINT c1 count += Len(c1) wend PRINT count characters printed. First note that on unix, the eof character is not Ctrl-Z but Ctrl-D. After that, I don't know how ^D works when coupled with LINE INPUT, which reads a full line. I did'nt test, but I suspect that you have to press ^D and Enter; it could work, but it could not... it depends on how LINE INPUT is implemented. Hope this helps - ask more if you need. Best regards, Doriano -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] a function in shared library call another function in another shared library
I have two shared library at my gambas program. The shared library (libftd2xx) works well. But when I call the fuction OpenDevice from sharedlibrary liblumax I got returncode 127. Curse the function OpenDevice from liblumax call the funsction SETVIDPID from libftd2xx. My gambas program declarations: EXTERN Lumax_OpenDevice(PhysicalDevice AS Integer, Channel AS Integer) AS Integer IN /usr/libliblumax EXTERN FT_SetVIDPID(pwdVID AS Integer, pwdPID AS Integer) AS Integer IN /usr/lib/libftd2xx x = Lumax_OpenDevice(1, 0) ' here comes the error I got this message on console: LaserEdit: symbol lookup error: /usr/lib/liblumax.so: undefined symbol: FT_SetVIDPID Can someone help me thank you and kind regards Jürgen -- View this message in context: http://www.nabble.com/a-function-in-shared-library-call-another-function-in-another-shared-library-tp23636488p23636488.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Icon List in IDE doesn't refresh
In the middle of my working with Gambas2, I just found that when I add another .png as a picture for an icon via the IDE, it is not mentioned yet in the list (TreeView) on the IDE (under Data). I guess it appears only after a reload of the project. This doesn't bother me too much, but it might be confusing for a beginner. Regards Rolf Please give more details. If you add a file from the IDE, the project treeview should be refreshed automatically. It won't be refreshed only if you add the file from outside of the IDE. Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Web site translations
Hi everyone, The Gambas web site is now fully translatable. To do that, most of the pages were moved to the wiki - pages that are generated cannot go to the wiki. Everything is in a new project located in /trunk/app/src named MakeWebSite (original, isn't it?). This project generates the HTML pages in all specified languages from HTML templates where string to be translated are marked. To do the translation, just translate the MakeWebSite project as any other Gambas project. You need a subversion write access to commit your changes, so ask me if you don't have one. News can be translated too, provided that you add the news html files to the /news/ project directory, where is your language code. You don't have to run the project. If you do it anyway, it will generate the HTML directly inside the project directory. But as these generated files are not versioned, they will never be committed. Note that not all strings are marked yet, and some pages will move to the wiki. To translate the pages located in the wiki, just go to the wiki. If you want to translate the website to a new language, just tell me and I will add it to the project, with the corresponding flag. And of course if you want more details, ask! Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Web site translations
I just started with the Spanish translation. Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: gambas-user@lists.sourceforge.net Sent: Wednesday, May 20, 2009 8:42:13 AM Subject: [Gambas-user] Web site translations Hi everyone, The Gambas web site is now fully translatable. To do that, most of the pages were moved to the wiki - pages that are generated cannot go to the wiki. Everything is in a new project located in /trunk/app/src named MakeWebSite (original, isn't it?). This project generates the HTML pages in all specified languages from HTML templates where string to be translated are marked. To do the translation, just translate the MakeWebSite project as any other Gambas project. You need a subversion write access to commit your changes, so ask me if you don't have one. News can be translated too, provided that you add the news html files to the /news/ project directory, where is your language code. You don't have to run the project. If you do it anyway, it will generate the HTML directly inside the project directory. But as these generated files are not versioned, they will never be committed. Note that not all strings are marked yet, and some pages will move to the wiki. To translate the pages located in the wiki, just go to the wiki. If you want to translate the website to a new language, just tell me and I will add it to the project, with the corresponding flag. And of course if you want more details, ask! Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Web site translations
ok, I'll will Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, May 20, 2009 9:03:30 AM Subject: Re: [Gambas-user] Web site translations I just started with the Spanish translation. Regards -- David Note that you have to add es:es_ES.UTF-8 to the list of languages in the $aLanguages global variable in the MMain module. Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature Request - Package Management
Sir it will be a very excellent piece of work if u have the latest gambas-debians for ubuntu and debian. Pls, if it is possible, put these for easy/direct download on the gambas website server. Because Hardy is a LTS, so I prefer to use it over the latest version. It will be a lot of help for me and other users. Still I wish if we could get direct binary/shell installers/upgraders. Thanks a lot. Best Regards Khurram -- View this message in context: http://www.nabble.com/Feature-Request---Package-Management-tp23610862p23640672.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Web site translations
Hi, My language has special characters like, á, Á, etc. Since those file will be web pages, do I have to place the HTML tags for those special chars? I mean, in the translation do I have to replace á for aacute;? Regards -- David You have nothing to do, all pages are encoded in UTF-8. -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature Request - Package Management
Hello. I have tried to create deb packages for Ubuntu and Debian distrucion but success.The I wrote the maintainer of Debian packages Gambas and I have never received a reply. The interesting thing is that we could make packages for the latest version without having to compile. What do you think? Regards El mar, 19-05-2009 a las 22:34 -0700, KhurramM escribió: Hello All! TO joshiggins ...The only problem then is, say because your on Hardy, you'd possibly have two different GTK versions... Intelligent Installer, it installs only what is not present on the system. TO Rob Kudla ...I build my own package rather than using some binary installer. ... It is what you prefer, not me. ... would make the Gambas installer fill a CD ... Does JDK do that? Do people complain? 8 Easy testing of a unstable release. What if I still wanna try? :working: ... How will putting Gambas into a monolithic installer create more documentation and help?... Any user on Any Linux can access yours and mine help and documentation. Linux-Platform independent. Also same configuration settings. ...There is an installer system called Klik that would provide what you're describing... . Klik failed to work on 50% applications, on my testing it. :-((:-(( TO Sergio A. Hernandez .. I try to be patient and wait to the ubuntu package. ... I am not patient on waiting for ubuntu to package for me. I am concerned to install and use the latest. :-( Thanks all, and I hope my request is accredited by the Gambas Developer Team. :-) -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Smooth Scrolling (not happening)
Hi all, Some of you may have seen my project... a GUI installer for VectorLinux. I've gotten the functionality parts to work, and it's all good. I do have one annoyance that I can't shake and this is where I need help. While packages are being installed, I have a scrollview that scrolls through the credits of all the people making the distro possible. Sort of like movie credits. The names come from a text file, and each name is turned into a textlabel inside the scrollview. A timer object automatically handles the scrolling (set to 25-50). The problem is that I need this to sroll while a bunch of shell commands run in the background. These shell commands being executed are really packages being installed, so depending on the size of the package, the system may take longer to free up the process object. The timer object lags while the shell process is running in the background, so the scrolling is not smooth at all. The timer object and its event are not at all related to the function that runs the shell processes. It resides on a separate function on a separate module. Any one have any pointers I could follow? Thanks -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Web site translations
Hi, My language has special characters like, á, Á, etc. Since those file will be web pages, do I have to place the HTML tags for those special chars? I mean, in the translation do I have to replace á for aacute;? Regards -- David - Original Message From: David Villalobos Cambronero david_villalobo...@yahoo.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, May 20, 2009 9:11:44 AM Subject: Re: [Gambas-user] Web site translations ok, I'll will Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, May 20, 2009 9:03:30 AM Subject: Re: [Gambas-user] Web site translations I just started with the Spanish translation. Regards -- David Note that you have to add es:es_ES.UTF-8 to the list of languages in the $aLanguages global variable in the MMain module. Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Smooth Scrolling (not happening)
I just tried that and all I accomplished was longer installation times perpackage. The srolling is not improved at all. On May 20, 2009 11:21 AM, Werner wd...@netfront.net wrote: M0E Lnx wrote: Hi all, Some of you may have seen my project... a GUI installer for VectorLinux... Shooting from the hip: since you are already root, could you nice yourself up a little bit? Conversely, could you nice the processes that you created down? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] ODBC
Hello. Does anyone tried to connect via ODBC to a database?. Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] ODBC
programacion wrote: Hello. I tried to connect to Firebird database via ODBC without success.Got do through OpenOffice-Base Firebird and a manager called Flamerobin. It is not the same thing to use IBM, but if you know any known use ODBC drivers for Firebird? uhmm , ooo imho use jdbc not odbc. did you configure odbc.ini ? do isql work ? I've use odbc with gambas and an old db2 udb to dump some table to a new postgresql without any problem. bye, marco. -- Una mela al giorno toglie il medico di torno. Basta avere una buona mira. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] ODBC
Yes, I used the ODBC connection to an IBM i using the IBM ODBC driver for Linux. What kind of problem are you facing ? Da: programacion p...@vtr.net A: Lista Gambas Ingles gambas-user@lists.sourceforge.net Inviato: Mercoledì 20 maggio 2009, 18:40:44 Oggetto: [Gambas-user] ODBC Hello. Does anyone tried to connect via ODBC to a database?. Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] ODBC
Hello. I tried to connect to Firebird database via ODBC without success.Got do through OpenOffice-Base Firebird and a manager called Flamerobin. It is not the same thing to use IBM, but if you know any known use ODBC drivers for Firebird? Thank you very much for reply.(Forgive my bad English) Regards El mié, 20-05-2009 a las 16:52 +, Andrea Bortolan escribió: Yes, I used the ODBC connection to an IBM i using the IBM ODBC driver for Linux. What kind of problem are you facing ? Da: programacion p...@vtr.net A: Lista Gambas Ingles gambas-user@lists.sourceforge.net Inviato: Mercoledì 20 maggio 2009, 18:40:44 Oggetto: [Gambas-user] ODBC Hello. Does anyone tried to connect via ODBC to a database?. Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature Request - Package Management
Hi. Look this link http://www.gambas-it.org/gmbs/modules/news/ Regards El mié, 20-05-2009 a las 11:10 -0700, KhurramM escribió: Sir it will be a very excellent piece of work if u have the latest gambas-debians for ubuntu and debian. Pls, if it is possible, put these for easy/direct download on the gambas website server. Because Hardy is a LTS, so I prefer to use it over the latest version. It will be a lot of help for me and other users. Still I wish if we could get direct binary/shell installers/upgraders. Thanks a lot. Best Regards Khurram -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] C Code character manipulation - alternatives
Thanks Sir. You have given me tips better then the book I am following on C. :working: My two queries: 1 Can I implement ctrl+D or ^D, which I am not able to here, as in C? 2 The program works with INPUT and LINE INPUT. But Line Input also takes blank space as input, while INPUT ends the program over here. And I use string here, but in C it was integer? --- Just for reference: Well I made my program final as: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer DIM c1 AS String ' READ , PRINT , AND count characters. PRINT Enter characters (or Press Carriage Return to quit): LINE INPUT c1 count += Len(c1) WHILE (c1 )' This is the best solution PRINT c1 LINE INPUT c1 count += Len(c1) WEND ' PRINT the number OF characters printed. PRINT count characters printed. END -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23646969.html Sent from the gambas-user mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature Request - Package Management
Sir the page is in French, I dont understand what to do here? Best Regards programacion wrote: Hi. Look this link http://www.gambas-it.org/gmbs/modules/news/ Regards El mié, 20-05-2009 a las 11:10 -0700, KhurramM escribió: Sir it will be a very excellent piece of work if u have the latest gambas-debians for ubuntu and debian. Pls, if it is possible, put these for easy/direct download on the gambas website server. Because Hardy is a LTS, so I prefer to use it over the latest version. It will be a lot of help for me and other users. Still I wish if we could get direct binary/shell installers/upgraders. Thanks a lot. Best Regards Khurram -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- View this message in context: http://www.nabble.com/Feature-Request---Package-Management-tp23610862p23647069.html Sent from the gambas-user mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user