it's not a gambas ability the problem is to give the good data format
' Gambas class file
PUBLIC SUB _new()
END
PUBLIC SUB Form_Open()
ListBox1.Add(Application.Path &/ "FMain.form")
END
PUBLIC SUB ListBox1_Drag()
END
PUBLIC SUB ListBox1_Drop()
END
PUBLIC SUB Form_Drop()
Message(Dra
M0E Lnx ha scritto:
> AFAIK, such a feature doesn't exist yet... I remember asking about it
> some time ago.
> At least not in 2.x
>
> On Tue, Dec 16, 2008 at 2:15 PM, Doriano Blengino
> wrote:
>
>> Hi list,
>>
>> how can I implement drag&drop with the desktop?
>>
>> I mean, drag an item (a fil
Ron_1st ha scritto:
> On Tuesday 16 December 2008, Doriano Blengino wrote:
>
>> Ron_1st ha scritto:
>>
>>> On Tuesday 16 December 2008, wig wrote:
>>>
>>>
sImport = "< " & Application.Path & "/mytables.sql"
EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImpor
On Tuesday 16 December 2008, Doriano Blengino wrote:
> Ron_1st ha scritto:
> > On Tuesday 16 December 2008, wig wrote:
> >
> >> sImport = "< " & Application.Path & "/mytables.sql"
> >>
> >> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport]
> >>
> >>
> >
> > sImport = "< "
> >
On mardi 16 décembre 2008, Jussi Lahtinen wrote:
> Hi!
> I must rise this again, it is still problem... ideas? Anyone?
> I tried it again with revision 1740, and same problem.
> Do I need to install something from somewhere..?
> Thanks!
>
>
> Jussi
>
>
As briefly explained on the wiki, on the Ubun
Hi!
I must rise this again, it is still problem... ideas? Anyone?
I tried it again with revision 1740, and same problem.
Do I need to install something from somewhere..?
Thanks!
Jussi
On Wed, Dec 10, 2008 at 7:50 PM, Jussi Lahtinen
wrote:
> Hi!
>
> I'm on Ubuntu 8.10 64 bit. I have compiled Ga
AFAIK, such a feature doesn't exist yet... I remember asking about it
some time ago.
At least not in 2.x
On Tue, Dec 16, 2008 at 2:15 PM, Doriano Blengino
wrote:
> Hi list,
>
> how can I implement drag&drop with the desktop?
>
> I mean, drag an item (a filename, for example) to an icon on the
> d
Hi Benoit,
i am developing a cross platform application. The linux side is on GAMBAS
and the Win side is on
C#.NET. The common part is the SQLite database.
There is some foreign relations which are coupled with comboboxes.
So the child table has some foreign key fields joined to parent primary
k
On Tue December 16 2008 21:12:54 Doriano Blengino wrote:
> Wally ha scritto:
> > How to get the parent of the current item in treeview ?
> > (the key's are populated by random numbers)
> >
> > regs wally
> >
> > -
> >- SF.N
Hi list,
how can I implement drag&drop with the desktop?
I mean, drag an item (a filename, for example) to an icon on the
desktop, and viceversa, a file from a file manager to a running gambas
application?
Regards,
--
Doriano Blengino
"Listen twice before you speak.
This is why we have two
Wally ha scritto:
> How to get the parent of the current item in treeview ?
> (the key's are populated by random numbers)
>
> regs wally
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>
Ron_1st ha scritto:
> On Tuesday 16 December 2008, wig wrote:
>
>> sImport = "< " & Application.Path & "/mytables.sql"
>>
>> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport]
>>
>>
>
> sImport = "< "
> sSqlFile = Application.Path & "/mytables.sql"
>
> EXEC ["mysql", sUser,
Bump?
On Tue, Dec 16, 2008 at 7:59 AM, M0E Lnx wrote:
> Attn: Fabien,
> Your sample works for me, but I need a way to execute the code in each
> form's _Open() or _Show() event... Or any sub for that matter.
>
> I noticed that the code is only ran once (the very first time the form
> is loaded).
Hello,
I'have resolved my problem.
The approach I have taken is: In the external function in C convert the
char array into a Gambas String (length + array of char) then in Gambas I
get the string thru the Read #pointer, stringvar function.
Could anybody confirm if this is the best approach?
Re
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://a
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://a
If you do not provide a Key, gambas will assign one, but you can
provide one as a string. Like this
Prep
-Prep0
-Prep1
Inst
-Inst0
-Inst1
Conf
-Conf0
-Conf1
On Tue, Dec 16, 2008 at 11:11 AM, Wally wrote:
> How to get the parent of the current item in treeview ?
> (the key's are po
How to get the parent of the current item in treeview ?
(the key's are populated by random numbers)
regs wally
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't hap
On Tuesday 16 December 2008, wig wrote:
> sImport = "< " & Application.Path & "/mytables.sql"
>
> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport]
>
sImport = "< "
sSqlFile = Application.Path & "/mytables.sql"
EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport, sSqlFi
Hi, I got an error when close my connection at runtime, the error is easy, the
connection is not closed, it still accepts queries.
Is the .Close() Method supposed to close the connection meaning that it won't
accept queries or I'm wrong. See the attached example.
Gambas 3, svn 1740, Mandriva 20
Hi to all,
i have a text area and i want when i feed text to it to go to the last
line of it, so i wrote the next code that works fine
PUBLIC SUB txaSQL_Change()
txaSQL.Pos = Len(txaSQL.Text)
END
how can i have the same result with an editor control?
--
Γεια χαρα σε όλους!!!
Regards,
De
Indeed, can be extended to intercept the command shell error, rest is the
same, in the end it is one big string that is deliverd to SHELL.
But with EXEC, it seems to be different: separate parameters are to be
delivered and it is not clear how to deliver the part with the sql file:
This does not
Attn: Fabien,
Your sample works for me, but I need a way to execute the code in each
form's _Open() or _Show() event... Or any sub for that matter.
I noticed that the code is only ran once (the very first time the form
is loaded). Can you suggest a way of doing this?
On Mon, Dec 15, 2008 at 12:0
Le mardi 16 décembre 2008 12:20:06 wig, vous avez écrit :
> > wig wrote:
> >> Although I can create table by table from within Gambas with
> >> hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a
> >> mysql dump file, so that I can create the tables with data (in one
> >> comman
> wig wrote:
>> Although I can create table by table from within Gambas with
>> hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a
>> mysql dump file, so that I can create the tables with data (in one
>> command).
>>
>> Untill now I allways used phpMyAdmin dump/export and impor
25 matches
Mail list logo