[Gambas-user] Cloning a control

2013-07-30 Thread Jim Provan
This is probably a noob question, but then, I am a noob to Gambas, but not to programming in general. How do you clone a control ? I want to make a copy of a control. I have done this in C#, and use it fairly frequently in an app that I am writing, but cannot figure out how to accomplish this in G

Re: [Gambas-user] Usb

2013-07-30 Thread sundar j
Use dbus component for reliable usb detection. Have a look at these links http://gambasdoc.org/help/comp/gb.dbus?v3http://udisks.freedesktop.org/docs/1.0.5/Device.html#Device:DeviceFile From: Kende Kriszti n Sent: Tue, 30 Jul 2013 15:25:07 To: gambas-user@lists.sourceforge.n

[Gambas-user] smtp-client doesn't return

2013-07-30 Thread Rolf-Werner Eilert
Ok, maybe I got this completely wrong, so here's my first trial with gb.net.smtp: Public Sub Main() Dim email As New SmtpClient With email .Add("Is this the mailtext?") .To.Add("mymainem...@receiver.de") .From = "sen...@provider.de" .Subject = "Just a test" .Port = 2

[Gambas-user] Error in Gambas documentation for gb.map

2013-07-30 Thread Willy Raets
I get this error on the documentation page for gb.map at http://gambasdoc.org/help/comp/gb.map?v3 -- Unexpected error while displaying this page. 'UserControl' class is missing in gb.map component exported classes CComponent.Load.594 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.

[Gambas-user] smtp-client mail body

2013-07-30 Thread Rolf-Werner Eilert
Hi folks, just experimenting with the smtp-client from gb.net.smtp. 1. I do not find the way to add a message text, so I'm missing some .message or .body string property. 2. When I want to attach a pdf, is binary the correct way of encoding the attachment? Thanks for your advice Rolf --

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this for pendrives: Dim item, dev, name As String For Each item In Dir("/dev/disk/by-id", "us

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this: Dim item, dev, name As String For Each item In Dir("/dev/disk/by-id", "usb-*", gb.Link)

Re: [Gambas-user] Usb

2013-07-30 Thread Shane
On 30/07/13 19:13, Kende Krisztián wrote: >> is it possible to list all the usb devices on a system? >> > Yeah, the lsusb command is your friend. > > -- > Get your SQL database under version control now! > Version control i

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> is it possible to list all the usb devices on a system? > Yeah, the lsusb command is your friend. -- Get your SQL database under version control now! Version control is standard for application code, but databases have

[Gambas-user] Usb

2013-07-30 Thread Shane
is it possible to list all the usb devices on a system? -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to