Re: [Gambas-user] How To INSERT INTO in MySQL?

2012-02-06 Thread M. Cs.
And I agree with Fabien I just over with the transcription of former wrongly formatted query style -> query="INSERT INTO." MyConn.Exec(query) Don't use that style! You will make only troubles with escaping characters. The right way is MyConn.Exec("INSERT Into ... VALUES(&1,&2...);",myvar1,m

Re: [Gambas-user] Start a form minized

2012-02-07 Thread M. Cs.
Try to add at the Public Sub Form_Open() Me.Minimized=True . End 2012/2/7, Rolf Schmidt : > Hi everybody out there > > is it possible to start a form minimized or invisible. > I use a TrayIcon to terminate the program and program should stay in the > background and wait for incoming calls. Th

Re: [Gambas-user] Start a form minized

2012-02-08 Thread M. Cs.
Schmidt : > Hi M. Cs.: > >> Try to add at the >> Public Sub Form_Open() >> Me.Minimized=True >> . >> End > > Because this didn't work, I asked. > > Any other ideas? > Thanks > Rolf > ---

[Gambas-user] GridLayout like component needed

2015-01-17 Thread M. Cs.
Hi! I would like to know whether SWT's GridLayout could be implemented in Gambas. I see VPanel and HPanels but it seems to me that it isn't possible to say how many rows/columns should be inside such a container, and it makes them quite clumsy. E.g if I need 4 radioButtons in 2x2 layout and if I wa

[Gambas-user] Window's close button and exiting

2015-06-20 Thread M. Cs.
I didn't code in Gambas for a while. I found that when I close the application using window's close button, the application closes, but gbr3 process remains. How could I quit this as well? -- ___

[Gambas-user] Ever crashing Gambas 3.7.1

2015-06-21 Thread M. Cs.
Another bug: gb.qt4: warning: calling the event loop during a keyboard event handler is ignored gbx3: warning: circular references detected: It comes up for nearly any action, be it menu or keypress. The application closes without error message. Csaba -

[Gambas-user] A simple server question

2013-09-27 Thread M. Cs.
Hello, I am trying to write a Gambas frontend for a Java server. I have written a short class for that purpose: Static App As SSocket Public messenger As Socket Public Sub _new() messenger = New Socket As "socket" messenger.Connect("localhost", ) End Public Sub socket_Read() Dim sCad As S

Re: [Gambas-user] A simple server question

2013-09-27 Thread M. Cs.
I have done any network programming, but that seems > bit odd. > > Jussi > > > On Fri, Sep 27, 2013 at 5:01 PM, M. Cs. wrote: > > > Hello, I am trying to write a Gambas frontend for a Java server. I have > > written a short class for that purpose: > > > > S

Re: [Gambas-user] Gambas Future or what kind of Gambas we want.

2013-11-01 Thread M. Cs.
Why, at least if it would be possible to implement multi-threading... 2013/11/1 Kevin Fishburne > On 11/01/2013 12:19 PM, PICCORO McKAY Lenz wrote: > > well, theres some point that end in a double-edged sword > > > > there's sense to ported to BSD, maebo, firefox-os,but if we make > > software

[Gambas-user] Using masks

2009-05-21 Thread M. Cs.
I want to enhance the look of my application. I need some instructions about the masks. I have some ideas, but need confirmation. 1. So if I have a form sized 1024x768, and I want to create skins for it, I'll have to create a same sized .png image with transparent areas over the text boxes, buttons

Re: [Gambas-user] Welcome to QT4!

2009-06-22 Thread M. Cs.
When will gambas3 be available in RPMs? -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to

Re: [Gambas-user] Cannot compile

2009-07-23 Thread M. Cs.
If want to experimenting with Gambas examples, you should open them, and then make a Save As... with them, and you will have them as your own projects, and of course, they'll become writable. This is the normal way of behaviour, so don't worry! --

[Gambas-user] Scaling GUI

2009-09-15 Thread M. Cs.
Is it possible to make a GUI automatically stretched upon maximizing the GUI window, with all its elements? I mean, I have a form with edit boxes, list boxes buttons. Is it possible to have them proportionally scaled when I change the size of a box? If yes, how to do that? -

Re: [Gambas-user] Scaling GUI

2009-09-15 Thread M. Cs.
Sorry, but your example won't open in Gambas 2.13 I use. I've tried to change all the expand properties to true, but there are no changes. Does a background image make some influence? -- Come build with us! The BlackBerry®

[Gambas-user] Concept of containers

2009-09-15 Thread M. Cs.
I don't understand the concept of containers. When I want to create a UI which would proportionally change its size (e.g. when I double the size of the form, every item doubles its size), do I have to cover all the area of form with panels or vboxes (what's this?), and then to place the real stuff

Re: [Gambas-user] Scaling GUI

2009-09-16 Thread M. Cs.
Well, I succeeded with that, but what if I have more than one item, let say I have an editbox and a button. I've tried to set forms arrange property to fill, but then only the button can be seen, which covers the entire area of the form. Is there a possibility to have homotetical scaling for all th

Re: [Gambas-user] Concept of containers

2009-09-16 Thread M. Cs.
If I understood it well, the form itself is parent of all. So all other items (buttons, comboboxes etc.) are children of the form. If I put something into a container, then the container is the parent of the element. And the arrange property is valid for its children. So I don't need to adjust the

Re: [Gambas-user] Scaling GUI

2009-09-16 Thread M. Cs.
No, I still can't figure out, how to have scaled an item at the same time in two directions. I've managed to have them scaled whether horizontally or vertically. From the point of mathematics that makes no sense. Would it be possible to count the position of each item from the upper left edge of th

[Gambas-user] Right-click menu

2009-10-08 Thread M. Cs.
Is it possible to assign a pop-up menu to an object? I mean I have a gridview and I would like to have a right-click menu with few options like select all, delete selected etc. It would be activated when the mouse's pointer is above the gridview and the right mouse button would be clicked. A simila

Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
Troubles: I've done this PUBLIC SUB gV_Menu() DIM almenu, almenu1 AS Menu almenu = NEW Menu(FMain) almenu1 = NEW Menu(almenu) almenu1.Text = "Delete selected" almenu.Hide IF gV.Rows.Count > 0 AND gv.Column = 1 THEN SELECT Mouse.Right CASE TRUE almenu.popup() CASE ELSE END SELECT ENDIF END And the

Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
O.K That works. Now, through almenu1.Action=My_Subroutine() should work? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your devel

Re: [Gambas-user] Right-click menu

2009-10-09 Thread M. Cs.
O.K I found the answer in examples ' Gambas class file PUBLIC save AS Action PUBLIC SUB gV_Menu() DIM almenu, almenu1 AS Menu almenu = NEW Menu(FMain) almenu1 = NEW Menu(almenu) almenu1.Text = "Delete selected" almenu.Hide almenu.popup() almenu1.Action = "save" END PUBLIC SUB Action_Activate(ke

[Gambas-user] Using masks

2009-10-15 Thread M. Cs.
Is it possible to use an image as a background of a TabStrip? Are the masks usable for that? How can I attach a mask to an object? I would like to have an example. Thanks! -- Come build with us! The BlackBerry(R) Developer

[Gambas-user] Breaking processes

2009-11-04 Thread M. Cs.
How can I stop the execution of a loop which includes shell command for copying files? Example: PUBLIC SUB FCopy() DIM i AS Integer DIM filepaths AS String[] ' the array filepaths is filled with contents FOR i=0 To filepaths.Count-1 SHELL "cp -f " & filepaths[i] & " /home/

Re: [Gambas-user] Breaking processes

2009-11-04 Thread M. Cs.
Thanks, I think it should really work! I'll check it and write again if it won't. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deploymen

[Gambas-user] How to close a modal dialog form?

2009-12-08 Thread M. Cs.
Since the language of help documents aren't as clear to me, and I saw no practical example I need your help. I would like to have a template message dialog with title, text and an image I wrote a subroutine which would do the things. It has an OK button upon itself, but I cannot close the window. I

Re: [Gambas-user] How to close a modal dialog form?

2009-12-08 Thread M. Cs.
Solved! PUBLIC SUB Messenger(naslov AS String, tekst AS String, slika AS String) DIM imge AS PictureBox DIM conti AS TextLabel DIM butty AS Button DIM i AS Integer keret = NEW Form keret.Width = 500 keret.Height = 300 keret.Title = naslov imge = NEW PictureBox(keret) imge.x = 0 imge.y = 0 imge.Wid

[Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
I don't understand why is the handling of dynamically created forms so complicated! I've barely managed to shut a modal dialog, I'm encountering a new problem: when I invoke the procedure Messenger: PUBLIC SUB Messenger(tekst AS String, slika AS String) DIM imge AS PictureBox DIM conti AS TextLab

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
What do you mean exactly by "communicate"? Can you provide the full source > code in a project, we will better understand what you want to do. > > Beware that an object is locked during its _new() so it cannot receive > events. > > Regards, > > -- > Benoît Minisini > > > I mean, the procedure Ops_C

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
So how to stop the rest of the process, while the Messenger( , ) is being executed? I've tried to experimenting with WAIT, but no help. This is the most annoying thing in Gambas. You never know exactly what to do in order to make things work. Is there a possibility, to make the process handling uni

[Gambas-user] How to force a normal number output?

2009-12-16 Thread M. Cs.
I need to have a normal decimal output without E+degree notation. How to force Gambas to use 153879 instead of 1.53879E+5? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's bes

[Gambas-user] Problems retrieving the original values

2009-12-17 Thread M. Cs.
I have a database file in Sqlite which has a REAL type field.When I browse the database in a terminal I have a value 581927884.0, but when I retrieve it to a table!"Size" variable it prints out as 5.819279E+8 which makes troubles for me. Can I have the original number format? --

[Gambas-user] Shell sudo

2009-12-23 Thread M. Cs.
I'd like to make my app able to download and install packages via apt-get (or any other command-line package manager). How can I do that? I know it will need the user's password but how can I pass the command? The simple SHELL "sudo apt-get install ..." won't do the thing! Thanks! -

Re: [Gambas-user] Shell sudo

2009-12-25 Thread M. Cs.
I've found a better solution: I've created a module file with a process. This can be triggered from within the main program. ' Gambas module file PUBLIC hProcess AS Process PUBLIC wins AS Form PUBLIC szoveg1 AS TextBox PUBLIC SUB ReadPassword() DIM black AS Button wins = NEW Form wins.Width = 150

Re: [Gambas-user] Should i upgrade to gambas3

2010-01-01 Thread M. Cs.
>From the Lucid repositories, you can upgrade Gambas2 to the version 2.15. I'm on Karmic, but it should be working with Jaunty too. Use Gambas3 only if you're writing programs for your own use, because the Gambas3 is not a version available for end users. Happy New Year! ---

[Gambas-user] I can't disconnect from the database

2010-01-04 Thread M. Cs.
Although I've invoked the DBconX.Close() command for my sqlite connection, I can still issue queries, and I'm getting results. I'd like to close the connection, select another database file and open it. how to do it? I've checked the DBconX.Open() commands in subroutines, but there's no possibiliti

Re: [Gambas-user] I can't disconnect from the database

2010-01-04 Thread M. Cs.
So that means I cannot redirect the properties for a connection to use another file instead? I mean, if I'd close connection and change the file and reopen? -- This SF.Net email is sponsored by the Verizon Developer Communi

[Gambas-user] How to set fonts to fixed size?

2010-01-16 Thread M. Cs.
I need fixed size for the GUI and all the texts. Is it possible to have exactly the same sizes for all the screen resolutions? I don't want to have dynamically scaled texts. Is it possible to set them as fixed all at once?

Re: [Gambas-user] Installation Gambas2 on Ubuntu 9.10, gb.qte disabled

2010-01-26 Thread M. Cs.
Enable repositories for Lucid, and install gambas2 from .deb packages. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Ch

Re: [Gambas-user] Installation Gambas2 on Ubuntu 9.10, gb.qte disabled

2010-01-26 Thread M. Cs.
No. I'm using gambas2 ver. 2.15 on Karmic. It works like charm. But if he needs more recent version... -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the

[Gambas-user] Need Example for e-mail sending

2010-01-26 Thread M. Cs.
I'd like to see some tutorial for sending e-mail with Gambas. I understand the main concepts(addressing, attaching files), but how to write a message's content, and how to send it. minthaka -- The Planet: dedicated and mana

[Gambas-user] Sqlite and Gambas and image blobs

2010-02-05 Thread M. Cs.
Hi, I'd like to know how can I store image thumbnails (~10 KByte each) inside the sqlite database using Gambas. I'd like to use the stored thumbs as preview images, so I'd have to know how to read the blob data out of database and use it as a content of a Picture container. Once more: CREATE TABLE

[Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
I'm repeating my question, since the documentation is quite obsolete in this topic: How can I open a picture with Gambas2 ("/home/me/pic.jpg"), and put it into a sqlite database table as a blob? How can I use the picture stored in the blob to display as a Picture? Is this solvable at all? Csaba

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
I'm almost there. Still I have a big problem and a possible bug: When I do a querry: querry="SELEC * FROM Thumbs WHERE fajl='b1.jpg' AND volume='ALPHA';" I'm getting 0 hits, although when I do the same querry in terminal, I have exactly 1 shot, as it has to be. Structure of table: Thumbs(fajl TE

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
This error was just typographic. Of course I was using SELECT in the program. But letting out the semicolon doesn't changes the situation. Is it possible, that SELECT cannot handle records which are containing BLOBS? -- The

Re: [Gambas-user] Databases, please help me!

2010-02-07 Thread M. Cs.
The mistery goes on: I managed to get the results with closing the connection in other part of code: altea.Type = "sqlite" altea.Host = User.Home & "/.GamCat" TRY altea.Open() IF NOT altea.Databases.Exist(User.Home & "/.GamCat/ImageThumbs") THEN altea.Databases.Add("ImageThumbs") WAIT 0.5 altea.Cl

Re: [Gambas-user] Databases, please help me!

2010-02-07 Thread M. Cs.
I'm slightly going angry. This excerpt shows the part of code which aims to give each file in the TreeView its thumbnail image: querry = "SELECT FPath,FName,FSubs FROM " & CD valasz = DBconX.Exec(querry) FOR EACH valasz fle.Add(valasz!"FName") pth.Add(valasz!"FPath") subs.Add(valasz!"FSubs") tipu

Re: [Gambas-user] Sqlite and Gambas and image blobs

2010-02-07 Thread M. Cs.
I'm developing the GamCat cataloging program. I'd like to add possibilities to scan CD/DVDs and to create thumbnail images, which would be stored in a database file, and the user could optionaly see the thumbnails of the pictures in a TreeView , which would visually display the content of the archi

Re: [Gambas-user] Databases, please help me!

2010-02-07 Thread M. Cs.
Thanks to all of you! I was a totally idiot! I've commented out one part of the querry text, where the WHERE clausule were defined.[?] Csaba <<338.gif>>-- The Planet: dedicated and managed hosting, cloud storage, colocation

Re: [Gambas-user] MySQL and general data issues

2010-03-02 Thread M. Cs.
I'm using sqlite, and I think the querry should look like: DIM answer AS Result DIM querry As String ... querry="SELECT.;" answer=YourConnection.Exec(querry) FOR EACH answer do what you want. NEXT ---

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
> > So, concretely, you can't create Ubuntu/Debian packages from Mandriva, > unless > you compile the needed programs! > More than that, I never did manage to install the requirements for the Mandriva. I'm a big fan of it, although presently using Kubuntu. I'm curious, wheter you (Benoit) or someo

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
Yes, and the only one with easy-to-use IDE. In other surroundings you have to edit GUI in a separate file and that makes a hell of coding! -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Spe

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
Well, I've 'Slacked' it! Downloaded tar-1.13, compiled from sources made ln -s /usr/local/bin/tar /usr/bin/tar-1.13 ,and it works. One more thing: is autopackage a distribution-independent package? Is it possible to install the programs on every Linux with this package, if no other binary is availa

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
I think you should add it as an option to the IDE. The only reason I'm sticked to Kubuntu is its ability to produce all the binaries. I wonder, whether there are some screenshots of the upcoming Gambas3. I'd realy learn about the planned new features in it: shall it be possible to color the colum

[Gambas-user] Where are the autopackage files

2010-03-05 Thread M. Cs.
I've tried to create the Autopackage file for my app, and although it says everything is O.K I cannot find the output file. I suppose it should have .package extension, isn't? Where is it? -- Download Intel® Parallel Studio

Re: [Gambas-user] Where are the autopackage files

2010-03-05 Thread M. Cs.
That isn't correct at all: I can find all the packages for different distros, including the Slackware, but I cannot see any .package file, although I have Autotools installed. -- Download Intel® Parallel Studio Eval Try the

Re: [Gambas-user] Where are the autopackage files

2010-03-05 Thread M. Cs.
I still cannot produce Autotools file. Is it myapp.package or something else? Gambas 2.19 here. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fi

Re: [Gambas-user] Where are the autopackage files

2010-03-05 Thread M. Cs.
O.K. I was only thinking that it should have extension .package, since at Autopackage's site they were speaking about it. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, fin

Re: [Gambas-user] Question about Databases

2010-03-10 Thread M. Cs.
There's a backend driver gambas2-gb-db-sqlite, which communicates with the sqlite3 driver. You have to specify the Host (folder of the target database file), Name (of the file itself) and Type (which is sqlite) and also a Password if you need some. The details under the hood? I don't know. You have

[Gambas-user] Signal #11

2010-03-27 Thread M. Cs.
Hi, I have strange crashes in my program. It is a module inside a program. The FMain. refers to the main form of the program. It is a Where Is it catalog importer module, but it crashes randomly. I can't find the error's output. I know it uses a LOT of memory, yet I don't understand which symbol co

[Gambas-user] How to detect the song's over?

2010-06-05 Thread M. Cs.
Is there a way in Gambas2 to detect, the song played with Music.Play() is finished? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. S

[Gambas-user] Hell of packages - Benoit

2010-06-08 Thread M. Cs.
Dear Benoit and others, this is a request and i think it is very resonable: can you just request uniformized package naming policy for the different distros? The point is, it is nearly impossible to write cross-distro applications in Gambas2, since each and every distro has its own packaging policy

Re: [Gambas-user] base de données employees avec pho to champ blob

2010-06-12 Thread M. Cs.
Working with blobs isn't a fun: 1. You'll have to excerp the data of the blob: I think Image.Data=yourresult!image where Image is a String, 2. To save the data as a picture: File.Save(pathtoimage,Image) 3. To load the picture into a Picture=Picture["pathtoimage "] With a huge number of image it ca

Re: [Gambas-user] hi all

2010-06-26 Thread M. Cs.
Hello, and welcome! Csaba -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _

[Gambas-user] Moving masked and borderless form window

2010-07-23 Thread M. Cs.
How can I move a form window if it has a mask, and no borders? -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

[Gambas-user] Track playing process bar

2010-08-05 Thread M. Cs.
I would like to add a progress bar / line to a MP3 player. Is it possible to retrieve the length and the current position of the track with Gambas2 ? Thanks! -- The Palm PDK Hot Apps Program offers developers who use the Pl

[Gambas-user] Dinamic menu structures

2010-08-06 Thread M. Cs.
My goal: Let's have a mobile phone, and I would like to send data (images, mp3) to the phone, but I don't know how the directory structure of that certain phone would look like. I would like to have a "Send to:" option which is present for e.g in Konqueror, which would enable me to browse the dire

Re: [Gambas-user] Dinamic menu structures

2010-08-06 Thread M. Cs.
e phone" > Dialog.Path = System.Path > If Dialog.SelectDirectory() Then Return > myPath = Dialog.Path > Print myPath > > Instead of 'System.Path' you could define any start folder. > And afterwards you can copy things easily to myPath on the phone. > >

Re: [Gambas-user] Dinamic menu structures

2010-08-06 Thread M. Cs.
Off course, I would like to have a menu structure where each submenu item represents a subfolder recursively. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challen

Re: [Gambas-user] Dinamic menu structures

2010-08-06 Thread M. Cs.
Great, Fabien, it looks it will work! I'll write to tell if I managed to do it completely. Thanks! Csaba -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge h

Re: [Gambas-user] Dinamic menu structures

2010-08-06 Thread M. Cs.
Another question: how to read the text of the selected menu item, which were dinamically created? -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.

[Gambas-user] Dinamic menus and clicks

2010-08-06 Thread M. Cs.
The next question is, how can I retrieve the text of a menu item, which was created dinamicaly with PUBLIC FUNCTION FillMenu(MenuParent AS Menu, root AS String) DIM s AS String DIM hMenu AS Menu IF MenuParent.Children.Count > 0 THEN MenuParent.Children[0].Delete FOR EACH s IN Dir(root, "*", gb.d

Re: [Gambas-user] Dinamic menus and clicks

2010-08-07 Thread M. Cs.
Thanks Fabian! With your modified example I could reach my goal! -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _

Re: [Gambas-user] Return an array in a function

2010-08-07 Thread M. Cs.
It's not readable! Can you resend it without weblinks? -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___

[Gambas-user] Strange MP3 playback

2010-08-09 Thread M. Cs.
I found that the MP3 files played with Gambas2 doesn't sound correctly: some of them are slower than normally, and some of them are overmodulated. Why? Solutions? -- This SF.net email is sponsored by Make an app they can'

Re: [Gambas-user] Strange MP3 playback

2010-08-23 Thread M. Cs.
I found the workaround for the situation: The above mentioned happens when I record a sound with Audacity (e.g. YouTube) and save as MP3 with 48.000Hz as project frequency (Audigy-2). When I convert the sound with Audacity to 44.000 Hz, then convert the new MP3 to WAV with Nautilus-script, and fin

[Gambas-user] Questions

2012-02-18 Thread M. Cs.
Hi, I have some questions: 1. Is it possible to set/change the text of panel button. I mean the K3b's panel button(of minimized window) shows the process of writing in %. Is this possible with Gambas? 2. How could I retrieve the result from the following query: MyConn.Exec("SELECT sum(myrow) FROM M

Re: [Gambas-user] Questions

2012-02-18 Thread M. Cs.
Thanks! 2012/2/18, Andreas Fröhlke : > 1. just set the text property of your form > > 2. > DIM REStest as Result > > REStest = MyConn.Exec("SELECT sum(myrow) FROM MyTable;) > FOR EACH REStest > PRINT REStest["sum(myrow"] > NEXT > > &g

Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
Please Benoit, if you have some extra time, update the sdl and sdl-sound libraries as well! Csaba 2012/2/19, Benoît Minisini : > Le 18/02/2012 19:40, Dr.Diesel a écrit : >> >> Benoît, please tease us with what the future will bring in 3.1, 3.5 or >> even >> 4.0? >> >> Thanks >> >> > > There will

Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
layback of shifted octaves). And it is also not possible by now to use a timeline for an mp3 song, if I used a Slider I simply cannot move the sound position without having program crashed. Thanks! Csaba 2012/2/19, Benoît Minisini : > Le 19/02/2012 12:08, M. Cs. a écrit : >> Please Benoi

Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
About the crash: just take the example shipped with Gambas IDE and play with different mp3 files, try to change the position of playing song and there you are. Csaba 2012/2/19, Benoît Minisini : > Le 19/02/2012 16:50, M. Cs. a écrit : >> Specially the supported file formats and the

Re: [Gambas-user] Memory problems with Gambas3

2012-02-19 Thread M. Cs.
I have similar issue: I have a module and private subs in it. I'm using string arrays declared inside that SUB. The SUB is invoked when I scan some folders/files. The memory consumption rises during this scan by around 30 MB, which is quite normal, since I'm feeding memory with huge amount of data.

[Gambas-user] How to regain the used memory after clearing the array?

2012-02-21 Thread M. Cs.
Hello! I have this problem with arrays. I have a class Keress given with this: ' Gambas class file Export ' Gambas module file Create Static Private nev As New String[] Private ut As New String[] Private nagy As New Float[] Private mikor As New String[] Private kotet As New String[] Public SConn A

[Gambas-user] I need your help, please!

2012-02-23 Thread M. Cs.
I have few simple questions: what is happening practically with the memory when I open a file and start to read it in into a local variable called myvar? It would be logical for myvar to grow until it reads in the entire file. My question is: - does Gambas clear the memory allocations after the myv

Re: [Gambas-user] I need your help, please!

2012-02-24 Thread M. Cs.
y not used memory to the system. I don't know what's wrong. 2012/2/24, Emil Lenngren : > How large is your csv-file? If it is large then probably much time is spent > when transfering the data from your hard drive into memory. > > /Emil > > 2012/2/23 M. Cs. > >> I

Re: [Gambas-user] How to compile the Gambas3 runtime

2012-02-24 Thread M. Cs.
Add this to your sources: deb http://ppa.launchpad.net/nemh/gambas3/ubuntu oneiric main It is Kendek's repository and works fully. Csaba 2012/2/24, Matteo Pasotti : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Il 24/02/2012 14:44, Peter Scholtz - Isenzo ha scritto: >> Hi all, >> >> I'm

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread M. Cs.
I red somewhere that GOTO is something that a good programer should avoid at all costs. GOTO is a host of countless bug possibilities. 2012/3/2, John Spikowski : > On Fri, 2012-03-02 at 03:31 +0100, Benoît Minisini wrote: >> Anyway, there is a syntax problem. In Basic, GOSUB is ended by a RETURN >

[Gambas-user] Two short questions

2012-03-03 Thread M. Cs.
Hi I have two short questions: 1. Is it a way to handle a curl request as process? I use to call : Shell "curl http://www.mysite.com"; to $myvar This is a bit unsafe. If the net hangs, the program hangs too. Would I be able to kill the process, if I created it as: $hProcess=Exec["curl","http://www.

Re: [Gambas-user] Two short questions

2012-03-03 Thread M. Cs.
Thank you Benoit! gb.net.curl is great solution. 2012/3/3, Benoît Minisini : > Le 03/03/2012 18:53, M. Cs. a écrit : >> Hi I have two short questions: >> 1. Is it a way to handle a curl request as process? >> I use to call : >> Shell "curl http://www.mysite.com&quo

Re: [Gambas-user] mp3 do not play

2012-03-07 Thread M. Cs.
The problem is in the SDL.sound library. I don't know whether this can be solved in Gambas only. I have same issues, but not with all files. In order to help Benoit, try to check the MP3 file's tags: bitrate, etc. It may help discover the real problem. 2012/3/7, Алексей Беспалов : > Hi! > > I try

[Gambas-user] Autotools not working - Gambas 3.0

2012-03-07 Thread M. Cs.
Creating package for Autotools. Making build directory. Creating package... aclocal autoconf automake -a Useless use of /d modifier in transliteration operator at /usr/share/automake-1.9/Automake/Wrap.pm line 60. configure.ac: installing `./install-sh' configure.ac: installing `./missing' Makefile

[Gambas-user] Two modal forms at same time

2012-03-09 Thread M. Cs.
I have a class with two forms W1 and W2. Forms and corresponding buttons are created in Main procedure of the class. The problem is when I first do W1.ShowModal, it does shows modal, and I have control over the buttons of W1, but if I call W2.ShowModal with a button of W1, it shows up modal, but I

Re: [Gambas-user] Two modal forms at same time

2012-03-09 Thread M. Cs.
Sorry, it was my fault with aliases! Csaba 2012/3/9, Jussi Lahtinen : > Can you send project to demonstrate this? > > Jussi > > > > On Fri, Mar 9, 2012 at 15:31, M. Cs. wrote: > >> I have a class with two forms W1 and W2. Forms and corresponding >> buttons

[Gambas-user] Transformable GUI

2012-03-11 Thread M. Cs.
Is it possible to change the layout during runtime? I mean if I have a panel and I would like to move it to another place. Thanks! Csaba -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes

Re: [Gambas-user] Transformable GUI

2012-03-12 Thread M. Cs.
drop it to a VBox2 container? Thanks! 2012/3/11, tobias : > hi, > > On 11.03.2012 20:55, M. Cs. wrote: >> Is it possible to change the layout during runtime? I mean if I have a >> panel and I would like to move it to another place. >> >> Thanks! >> >>

Re: [Gambas-user] Transformable GUI

2012-03-12 Thread M. Cs.
To be more accurate, I would like to implement something like you have in Guayadeque music player for instance. You have different containers and you can move them inside the IDE. 2012/3/12, M. Cs. : > Thank you Tobias, but I would like this as a drag and drop thing. > Let say I have a VBo

[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.
-- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, mo

[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.
Im sorry the mail just went away! I would like to know whether it is possible to move frames inside a VBox so that they change place like this: A B C to C A B I would also like to displace a frame from one container into another if possible. I know from experience, that this kind of manipulation

Re: [Gambas-user] About Visual Studio Express

2012-03-30 Thread M. Cs.
As Mathias said: it is bloated. IMHO, the ribbon menu was the worst thing MS did with Office. But as an option it would be nice. Technically it is nothing more than a ScrollView with horizontal scroll, with an array of VBoxes which have a PictureBox and Label inside. You can already create such str

[Gambas-user] Form with multiple charts

2012-04-08 Thread M. Cs.
Hi I managed to draw two pie-charts on a form, with two separate DrawingAreas. My problem is that it I can do it only with single instance of DIM mychart AS Chart I can use it for two different drawings on two areas, but when I draw a third one on a third drawing area I cannot change it's type. It

<    1   2   3   >