Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread //SCLPL/ Sudeep Damodar
Hi All Thanks for comments.i have one doubt im going to build laser marking application in gambas .for example just like weld mark software .in this case i want line ,circle , rectangle this like control how i get this like controls in gambas Thank n Regards Sudeep On Fri, Dec 13, 2013 at 11:4

Re: [Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Jussi Lahtinen
When do you get this error? I don't see it (I'm using latest Gambas revision). Or maybe it's because I don't get so far... your app fails on not finding "cty.dat". Jussi On Fri, Dec 13, 2013 at 11:26 PM, Pino Zollo wrote: > Here are: > > the database for PostgreSQL named 'log' > > DBLog2 th

[Gambas-user] Drag & drop question

2013-12-13 Thread Daniel Quintero
I have a program to manage my projects, and I want to add the capabilities to add some files drag from the file manager and added to the database. 2 questios: * Dou you have an example like this? * Is possible to obtain the icon associated with the file tha are dropping? For example, if the file

Re: [Gambas-user] Blob type and segmentation error

2013-12-13 Thread Benoît Minisini
Le 12/12/2013 14:18, bill-lancaster a écrit : > Benoît, > BlobTest-0.0.1.tmp.tar.gz > > and some mysql > BackUpOfBlobTest.sql > > Hope this is OK. > Thanks,

Re: [Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Jussi Lahtinen
> I need to send you the source and a database dump to reproduce the bugs... > > where can I send them ?... > Send minimal possible database and project to reproduce the problem. If it's not big there shouldn't be problems to send it to the list. You can send copy directly to me also. by the wa

[Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Pino Zollo
> Please send runnable project. That way your code is not very readable. > I don't understand how you can get error from "form.delete" when it's not > in your code..? yes...it is not in my code that's why it is a weird bug into Gambas3not present in Gambas2 ... I need to send you the s

Re: [Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Jussi Lahtinen
Please send runnable project. That way your code is not very readable. I don't understand how you can get error from "form.delete" when it's not in your code..? Jussi On Fri, Dec 13, 2013 at 9:46 PM, Pino Zollo wrote: > Gambas 3.5.1 > > > > A TextBox with name "Name" gives FORM.Name Overridde

[Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Pino Zollo
Gambas 3.5.1 A TextBox with name "Name" gives FORM.Name Overridden error --- The string "DELETE" gives error FORM.Delete overridden at line: If FBand.ComboBand.Text <> "WFAX" Then

Re: [Gambas-user] Database-manager in 3.5.1 missing, Sql-Visualisation-Tool ?

2013-12-13 Thread Benoît Minisini
Le 13/12/2013 18:24, u...@gmx.ch a écrit : > Dear cracks > > In Gambas2 I found the gambas-database-manager under tools, > but nowhere in Gambas 3.5.1 anymore. > Did I miss something at installation? > > Redoing an MSAccess-project, I'm using Gambas3, MariaDB and > PhpMyAdmin. Missing is a visualiz

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Jussi Lahtinen
> -funtions or subs that make changes in the parameters need to be called > with Byref > Only if the parameters are not objects (objects are always passed as byref). Usually need for byref means broken object model. - "this" = "that" usually means "this" will have the same value of "that" > and

[Gambas-user] Database-manager in 3.5.1 missing, Sql-Visualisation-Tool ?

2013-12-13 Thread u...@gmx.ch
Dear cracks In Gambas2 I found the gambas-database-manager under tools, but nowhere in Gambas 3.5.1 anymore. Did I miss something at installation? Redoing an MSAccess-project, I'm using Gambas3, MariaDB and PhpMyAdmin. Missing is a visualization-tool for the relational links. Any recommendations

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread terco IDE
You can't convert it, you need to port it. A good thing is to have someone that's already into Gambas (I'm lucky to have the help of the guys at gambas-es.org), but if you are not doing open-source, you're in your own. We're porting a big program like this: 1st create the main form, with menus

Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Charlie
Thank you everyone. I tried the simple example from Jussi Lahtinen and found that worked very well. I need to get my head around this before I try the more complex examples. Thanks again. Mark as SOLVED. Charlie -- View this message in context: http://gambas.8142.n7.nabble.com/How-do-you-dea

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Rob Kudla
On 12/13/2013 08:30 AM, Jussi Lahtinen wrote: > Rob, you haven't use Gambas for years? Nope, don't even have Gambas installed anywhere except on the host that runs gambasdoc.org. I still think Gambas is a great language (I'm still reading the list every day, after all) and if I were writing deskt

Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Charlie Reinl
Am Freitag, den 13.12.2013, 05:47 -0800 schrieb Charlie: > Hi Richard, > > Thanks for the reply. Here is the code I am using. I thought there must be a > better way. > > Charlie. > > Public Sub ClearTable() > QTY1.text = "" > QTY2.text = "" > QTY3.text = "" > QTY4.text = "" > QTY5.text = "" > QT

Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Jussi Lahtinen
Dim oo As Object For Each oo In YourForm.Children If oo Is TextBox Then oo.Visible = False oo.Text = "" Endif Next You can use tag property to identify boxes you want to make invisible. Jussi On Fri, Dec 13, 2013 at 3:47 PM, Charlie wrote: > Hi Richard, > > T

Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread nando
When I want to group a bunch of text boxes together to perform the same function - like clear the text, I add them an OBJECT[] and loop through it. So, I usually add them into the array inside _new() or _init() then I can loop through the object array to perform something. OBJECT[] elements are

Re: [Gambas-user] How do you deal with multiple objects (Textboxes)

2013-12-13 Thread Charlie
Hi Richard, Thanks for the reply. Here is the code I am using. I thought there must be a better way. Charlie. Public Sub ClearTable() QTY1.text = "" QTY2.text = "" QTY3.text = "" QTY4.text = "" QTY5.text = "" QTY6.text = "" QTY7.text = "" QTY8.text = "" QTY9.text = "" QTY10.text = "" WH1.text =

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Jussi Lahtinen
Rob, you haven't use Gambas for years? Anyway, I had pretty huge project and I did the conversion largely by hand. Here are the differences (the article contains partly old information, example Mid$() works now as in vb): http://gambasdoc.org/help/doc/diffvb?v3 It's much about converting "End

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Rob Kudla
On 12/13/2013 02:33 AM, //SCLPL/ Sudeep Damodar wrote: > dnt have any idea about Gambas.so i have vb6 project .so i have to know > about how to directly convert vb6 project to Gambas.can you have any option > like this in Gambas I started writing such a thing 10 years ago, for .vbp and .frm file