Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread Fabien Bodard
just send the tarball (tar.gz) générated by the IDE (project->generate->archive) 2012/11/9 John > Thanks for the reply! > > Sure, whatever will help.err, what would be the best way to do this? > I can put a link to it from my dropbox account but I am not sure how to > package it for you. I

[Gambas-user] Fedora and mp3

2012-11-09 Thread M. Cs.
Hello! Did someone manage to play mp3 with Fedora 17 through Gambas3? I just don't know why, but there's no sounds at all, even if there are no errors shown. Thanks! Other question: is it possible to implement gstreamer instead of sdl and sdl.sound? Csaba -

[Gambas-user] Object Array problem

2012-11-09 Thread wally
What is bad in this code ? ' Gambas class file Public Struct Tupel x As Integer y As Integer End Struct Public dataArr As New Tupel[] Public Sub Button1_Click() Dim i As Integer Dim dataset As New Tupel For i = 0 To 9 dataset.x = (i + 1) dataset.y = (i + 1

Re: [Gambas-user] Object Array problem

2012-11-09 Thread Sebi
IMO, the problem is that you are just updating the values of dataset, and then adding it to the array. All items point to the same object, and end up having the value of the last update. You should create a new instance of the structure in each loop. -Original Message- From: wally Date

Re: [Gambas-user] Object Array problem

2012-11-09 Thread wally
Yes, thank you ! On Friday, November 09, 2012 14:43:51 Sebi wrote: > IMO, the problem is that you are just updating the values of dataset, and > then adding it to the array. All items point to the same object, and end up > having the value of the last update. You should create a new instance of >

Re: [Gambas-user] Fedora and mp3

2012-11-09 Thread Fabien Bodard
is it already done ... it's gb.media 2012/11/9 M. Cs. > Hello! > Did someone manage to play mp3 with Fedora 17 through Gambas3? > I just don't know why, but there's no sounds at all, even if there are no > errors shown. Thanks! > > Other question: is it possible to implement gstreamer instead o

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread John
ummm.oops? Sorry, have not had a chance to go back and look at it yet. I will today. Got side tracked making a VBOX ova file with Lubuntu+GuestAdditions+Gambas 3.3.3 IDE for some users in another BASIC forum I hang out in. It is kinda crazzy how many users can't get the 3.3.3 and Guest

Re: [Gambas-user] Running program

2012-11-09 Thread Cogier
Thanks Fabien Bodard (good thought) & Johny Provoost. I tried Johny's solution and it did work, with modifications. I am using Gambas 2.23 and the following code did the trick. (The program is called "Barcode") Public Sub Form_Open() DIM sOutput AS String 'Check if the program not already s

[Gambas-user] Torrent: VBox-OVA file + Gambas 3.3.3 IDE + Lubuntu + GuestAdditons

2012-11-09 Thread John
For anyone who might want this, This is for any "NEW" programmers that use VirtualBox to run Linux in. You can download this OVA file as a torrent and install it through "file> import appliance". It is about 1.31Gb in size so it might take a while as I am the only seeder for now. This is not

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread John
Thanks for the help guys! Here is a link to the file in my dropbox account. I am new to programming so it might look a mess, any advise is welcome. https://dl.dropbox.com/u/41965771/Control-Center-0.0.2.tar.gz Thanks again -John - Original Message - From: John Sent: 11/09/12 08:13 AM

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread Jussi Lahtinen
You can send compressed projects here as attachment. First thing that comes into my mind, is why don't you use buttons with picture? Now there is mix of labels and pictureboxes, without apparent reason which one to click on. With 'shell "somecommand &"', the ampersand is not necessary, as executi

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread John
Hi and thanks for the help. 1. I thought that from a usere stand point the the clean look of the text and a picture would look better. from a programming point of view, it is alot more work and this was my first atempt to make a CC. I will think about the button idea, how do you attach a pictu

Re: [Gambas-user] Fedora and mp3

2012-11-09 Thread M. Cs.
Thank you Fabian! I've ported the musical part of my project from gb.sdl.sound to gb.media, and for the first time ever, I can listen to mp3 songs on a RPM distro! Csaba 2012/11/9 Fabien Bodard > is it already done ... it's gb.media > > > 2012/11/9 M. Cs. > > > Hello! > > Did someone manage t

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread John
This is just so strange, I re installed my version and it still did not work. I downloaded your copy and installed it and it works fine! I didn't find the button for Synaptic you made but I could see the notes you added in the change log when I made a new package with it. The Shell command is

[Gambas-user] Help comments are now exported

2012-11-09 Thread Benoît Minisini
Hi, Since revision #5311, help comments are now exported by the compiler into the information files of libraries and components (*.info files). Consequently, if you define some help in your libraries, you will see them in the IDE! Help comments must begin with two quotes and a space (`'' `), a

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Jussi Lahtinen
Thanks, this is really useful! I'll test it as soon I get some time. Jussi On Sat, Nov 10, 2012 at 2:26 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Hi, > > Since revision #5311, help comments are now exported by the compiler > into the information files of libraries and compon

[Gambas-user] A guide on Installing Gambas 3

2012-11-09 Thread Willy Raets
For those new to Gambas, here is a guide for installing Gambas 3 with step by step instructions and screenshots for several distributions. http://whiteislandsoftware.com/index.php?page=cedi&type=misc&id=2%2F5% 2F84%2F96%2F97&redirected=1&keep_cedi_root=2&redirected=1 Feedback is welcome. Enjoy..

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Willy Raets
On Sat, 2012-11-10 at 01:26 +0100, Benoît Minisini wrote: > Hi, > > Since revision #5311, help comments are now exported by the compiler > into the information files of libraries and components (*.info files). > > Consequently, if you define some help in your libraries, you will see > them in t

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread Jussi Lahtinen
> This is the Screen I get when I try and run the control-center.gambas > file, is this supposed to happen? > No. Something is wrong. You did compile Gambas from sources? If so, can you try to recompile Gambas with these commands: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin

Re: [Gambas-user] The "Shell" Command

2012-11-09 Thread John
Umm. Holly smokes guy! Sorry if you got the wrong idea, I am really new to programming. I downloaded Gambas 3.3.3 from the kendek PPA and installed it that way. I did take a look at the Gambas.org site to see how to compile it but got lost. I guess I could use the daily build PPA b

Re: [Gambas-user] A guide on Installing Gambas 3

2012-11-09 Thread John
Congrats Willy! Nice job on this, wish I could have bean more help. -John - Original Message - From: Willy Raets Sent: 11/09/12 04:42 PM To: gambas-user@lists.sourceforge.net Subject: [Gambas-user] A guide on Installing Gambas 3 For those new to Gambas, here is a guide for installing

[Gambas-user] Using MD5Sum On File

2012-11-09 Thread Christian DaGeek247 Stephens
*alright, so I have set up three things; a file chooser, a label, and a command button. What I want to do is get the md5sum of the file chosen shown in the label when the user clicks the button. I can use properties_md5.caption = Crypt.MD5(fchoose.Name) to get a random hash, but i want to get the h

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Sebastian Kulesz
On Fri, Nov 9, 2012 at 9:43 PM, Willy Raets wrote: > On Sat, 2012-11-10 at 01:26 +0100, Benoît Minisini wrote: > > Hi, > > > > Since revision #5311, help comments are now exported by the compiler > > into the information files of libraries and components (*.info files). > > > > Consequently, if yo

Re: [Gambas-user] Using MD5Sum On File

2012-11-09 Thread Rob Kudla
On 11/09/2012 10:34 PM, Christian DaGeek247 Stephens wrote: > command button. What I want to do is get the md5sum of the file chosen > shown in the label when the user clicks the button. I can > use properties_md5.caption = Crypt.MD5(fchoose.Name) to get a random hash, > but i want to get the hash