> I got bit by the same thing when 12.04 came along. My original install of
> Gambas apparently came from a different source. When i did this, I got
> Gambas updated and my old executables started to work again.
> Bill
>
> Keith Clark wrote, On 04/30/2014 17:03
After a recent update to Ubuntu 14.04 on a couple of my computers, I can
no longer execute my GAMBAS programs. No errors are given, they are
just not executable anymore. Ubuntu does not seem to know what to do
with them.
They are not project files, but executables. This happened on two
diff
Add([1, 2, 3, 4, 5])
>data.Add([6, 7, 8, 9, 10, 11])
>
>For ii = 0 To data.Max
> For jj = 0 To data[ii].Max
>v[ii, jj] = data[ii][jj]
> Next
>Next
>
> Or maybe you want to read the data from file?
>
> Jussi
>
>
>
>
>
> On Fri, Jun 2
t
> Next
>
>
> Jussi
>
>
>
>
>
>
>
>
> On Thu, Jun 27, 2013 at 10:55 PM, Keith Clark
> wrote:
>
>> On 13-06-27 05:34 AM, Tobias Boege wrote:
>>> On Wed, 26 Jun 2013, Keith Clark wrote:
>>>> Does Gambas support read
On 13-06-27 05:34 AM, Tobias Boege wrote:
> On Wed, 26 Jun 2013, Keith Clark wrote:
>> Does Gambas support read/data commands like the following for loading a
>> simple array with fixed values?
>>
>> for t=0 to 4
>> for x = 0 to 4
>> read v(t,
Does Gambas support read/data commands like the following for loading a
simple array with fixed values?
for t=0 to 4
for x = 0 to 4
read v(t,x)
next x
next t
data 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5..
Maybe I'm just not finding it?
-
I am getting a bad row index in the following code.
iProductRows = 1
fProducts = Open "products.dat" For Input
While Not Eof(fProducts)
gvProducts.Rows.Count = iProductRows
Line Input #fProducts, sName
Line Input #fProducts, iLargePrice
Line Input #fProducts,
I'm getting the following errors when trying to open a new form with a
GridView on it.
It seems to start whenever I try to set the number of rows.
Ubuntu 12.04
** (SubShopPOS:13153): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR
(bar)' failed
(SubShopPOS:13153): Gtk-CRITICAL **: IA__gtk_widg
On 12-10-25 03:21 PM, Keith Clark wrote:
> I'm using a TabStrip for the first time and not understanding it 100% yet.
>
> I've created one with 5 tabs on it. I noticed that if I shrink the
> control, there is another 'red outlined' frame behind it. In fact,
>
I'm using a TabStrip for the first time and not understanding it 100% yet.
I've created one with 5 tabs on it. I noticed that if I shrink the
control, there is another 'red outlined' frame behind it. In fact,
there are 3 more. If I shrink the first red frame, it will eventually
start to hide
On 12-09-22 06:23 PM, richard wrote:
> On 23/09/12 08:03, Keith Clark wrote:
>> How do I modify settings of a control on another form? Let's say that I
>> want to be able to control the number of rows and columns of a grid
>> view, gvSampleGrid, on form, fGame
How do I modify settings of a control on another form? Let's say that I
want to be able to control the number of rows and columns of a grid
view, gvSampleGrid, on form, fGameGrid from form, fGameSetup.
Would it not be fGameGrid.gvSampleGrid.rows.count=10?
I am working with the book A beginner'
On 12-01-20 05:14 PM, tobias wrote:
> hi,
>
>> How would I get the MySQL last_insert_id() value into an integer
>> variable inside gambas?
>>
>> I tried with
>>
>> CurrentID=db.exec("select last_insert_id() as last")
>>
>> but I get a type mismatch error. Expecting integer, got result.
>>
>> Thank
How would I get the MySQL last_insert_id() value into an integer
variable inside gambas?
I tried with
CurrentID=db.exec("select last_insert_id() as last")
but I get a type mismatch error. Expecting integer, got result.
Thanks,
Keith
-
How would I go about filling a listbox with a result from a mysql
query? I know how to connect, write the query and get the result back
in say $Result.
The $Result would contain only one field with multiple rows.
Thanks,
Keith
I used to love Wall Street Raider for DOS/Windows and would like to
create a newer, updated version for Linux. I think Gambas would make
the perfect platform for doing so.
If anyone is interested in participating, let me know my personal email
and we'll get things started!
Keith
---
C++. Gambas is just another
> language that with it's Basic Syntax should make it easier to write cgi
> apps.
>
> Randy
>
>
>
> On Sat, Dec 3, 2011 at 3:50 PM, John Spikowskiwrote:
>
>> On Sat, 2011-12-03 at 18:09 -0500, Keith Clark wrote:
>>> Has anyone wri
Has anyone written an example/tutorial of CGI programming with Gambas?
Any links for me to read?
Thanks,
Keith
--
All the data continuously generated in your IT infrastructure
contains a definitive record of customer
I'm going to install Gambas 3 on my Ubuntu 11.10 computer and was
wondering if I should remove the already installed Gambas 2.2 first?
Thanks,
Keith
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.s
I seem to have forgotten how to connect to a mysql database server. I
can reference the document: http://gambasdoc.org/help/howto/database
but I keep getting connection errors. maybe I don't have the address
correct? What format does it take www.xxx.com?
-
I've just installed Ubuntu 11.04 and Gambas 3 is still not included in
this popular distro?
Maybe I'm not updating correctly or something.
Keith
--
WhatsUp Gold - Download Free Network Management Software
The most intu
On Wed, 2010-04-07 at 21:55 +0200, Fabien Bodard wrote:
> 2010/4/7 Keith Clark :
> > On Wed, 2010-04-07 at 14:40 -0500, nando wrote:
> >> Replace will work for quote and backslash
> >> For double quote:
> >>
> >> doublequote$ is chr$(34)
&g
On Wed, 2010-04-07 at 14:40 -0500, nando wrote:
> Replace will work for quote and backslash
> For double quote:
>
> doublequote$ is chr$(34)
> Replace$(mystring, chr$(34), "\" & chr$(34)
>
> But, Benoit had an email of the nice solution.
> -Fernando
>
>
Ok, I've tried this:
DescriptionTe
> did you understand how subst() function work ijn gambas ??
>
> mystring = subst("this is my &1 &2", "black", "dog")
>
> print mystring give :
>
> this my black dog
>
> &1 and &2 are replaced by subst param
>
> for the sql queries it work at the same ... but with an automatic escaping.
> so t
On Wed, 2010-04-07 at 14:40 -0500, nando wrote:
> Replace will work for quote and backslash
> For double quote:
>
> doublequote$ is chr$(34)
> Replace$(mystring, chr$(34), "\" & chr$(34)
>
> But, Benoit had an email of the nice solution.
> -Fernando
>
I don't think this works. This is what I ge
On Wed, 2010-04-07 at 14:40 -0500, nando wrote:
> Replace will work for quote and backslash
> For double quote:
>
> doublequote$ is chr$(34)
> Replace$(mystring, chr$(34), "\" & chr$(34)
>
> But, Benoit had an email of the nice solution.
> -Fernando
I did not understand that solution either.
On Tue, 2010-04-06 at 16:27 -0500, nando wrote:
> Strings that contain these three characters: quote, double quote and backslash
> need to be escaped.
> You escape them by having a backslash immediately before it.
> Example:
> Patty O'Lantern would be...
> Patty O\'Lantern
>
> One way is to mak
How do I change the text that is displayed in the TableView Headers?
Thanks (still learning!),
Keith
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactive
I have the following code:
$Query = ""
QueryArray[0] = "insert into products_description"
QueryArray[1] =
"(products_id,language_id,products_name,products_description,products_format)"
QueryArray[2] = "values (" & NewProductID & ",1,'" & TitleTextBox.Text &
"','" & DescriptionTextArea.Text & "',"
I have a project that I'm working on, and at home I included the
required gb.net.curl by adding it in Project>Properties>Components.
This is on a machine running Ubuntu 10.04 Beta.
I then created an executable, along with a complete copy of the entire
directory and tried it here at work on a machi
On Tue, 2010-03-16 at 16:37 +0100, Charlie Reinl wrote:
> Am Dienstag, den 16.03.2010, 06:14 -0400 schrieb Keith Clark:
> > On Sat, 2010-03-13 at 00:19 +0100, Benoît Minisini wrote:
> > > > Could someone forward me a few links about how to use a printer from
> > > &g
On Sat, 2010-03-13 at 00:19 +0100, Benoît Minisini wrote:
> > Could someone forward me a few links about how to use a printer from
> > within Gambas? I need to know how to "Print" to a system default
> > printer.
> >
> > Thanks
> >
> > Keith
> >
>
> In Gambas 2 or Gambas 3 ?
>
Any luck with
On Sat, 2010-03-13 at 00:19 +0100, Benoît Minisini wrote:
> > Could someone forward me a few links about how to use a printer from
> > within Gambas? I need to know how to "Print" to a system default
> > printer.
> >
> > Thanks
> >
> > Keith
> >
>
> In Gambas 2 or Gambas 3 ?
>
Gambas 2.19
K
Could someone forward me a few links about how to use a printer from
within Gambas? I need to know how to "Print" to a system default
printer.
Thanks
Keith
--
Download Intel® Parallel Studio Eval
Try the new software
:
> Keith Clark wrote:
> > I have input a value into a TableView cell, and now I want to read it.
> > The problem is that I want to read it as a text string. The 'number' is
> > actually an ISBN code. It can sometimes be a string, as it can contain
> > an 'X&
I have input a value into a TableView cell, and now I want to read it.
The problem is that I want to read it as a text string. The 'number' is
actually an ISBN code. It can sometimes be a string, as it can contain
an 'X' or a 10 digit number, but starting with a 0.
For example, 0123456789, 12345
I have a TableView object and have imported some data into it that is
formatted as currency. How can I know take that and add it to a Float
variable?
Keith
--
Download Intel® Parallel Studio Eval
Try the new software to
On Wed, 2010-03-10 at 23:11 +0100, Alessandro Rinaldi wrote:
> >From http://gambasdoc.org/help/comp/gb.form/tableview
> -
> TableView (gb.form)
> This control is an editable GridView.
> Use the Edit method to start editing a cell. Beware that this method
> must be called during the Click event.
I want to create a table where a user can input data into cells, and
depending on the data, calculate and display values in other cells.
Which would I use, GridView or TableView?
Keith
--
Download Intel® Parallel Studi
On Thu, 2010-03-04 at 22:38 +1100, richard terry wrote:
> On Thursday 04 March 2010 22:34:52 Keith Clark wrote:
> > I have designed a form and all looked great. Suddenly the form no
> > longer looks the same in the design mode compared to the run mode. The
> > objects are
I have designed a form and all looked great. Suddenly the form no
longer looks the same in the design mode compared to the run mode. The
objects are no longer in the same places as shown when I'm in
programming mode.
Not sure what went wrong and if this is maybe a bug?
Keith
On Tue, 2010-03-02 at 22:44 +0100, M. Cs. wrote:
> 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..
On Mon, 2010-03-01 at 23:36 +0100, Charlie Reinl wrote:
> Am Montag, den 01.03.2010, 16:22 -0500 schrieb Keith Clark:
> > I am trying to access some data using the documentation "A Beginner's
> > Guide to Gambas" and I've gotten this far:
> >
> >
On Mon, 2010-03-01 at 23:36 +0100, Charlie Reinl wrote:
> Am Montag, den 01.03.2010, 16:22 -0500 schrieb Keith Clark:
> > I am trying to access some data using the documentation "A Beginner's
> > Guide to Gambas" and I've gotten this far:
> >
> >
I am trying to access some data using the documentation "A Beginner's
Guide to Gambas" and I've gotten this far:
PUBLIC SUB SearchButton_Click()
DIM $Query AS String
DIM $Result AS Result
DIM iIndex AS Integer
DIM hField AS ResultField
DatabaseConnection.Connect()
$Query = "sele
On Sat, 2010-02-27 at 18:23 +0100, Fabien Bodard wrote:
> 2010/2/27 Keith Clark :
> > I cannot, for the life of me, get a picture box to work. I've googled
> > to death and I cannot find an example that works.
> >
> > Here is what I have so far:
> >
I cannot, for the life of me, get a picture box to work. I've googled
to death and I cannot find an example that works.
Here is what I have so far:
$Image = Image.Load("/home/keithclark/" & ISBN.text & ".jpg")
BookPictureBox.Picture.Image = $Image
And all I get back is Null Object error.
Ron,
Perfect and thank you.
Keith
On Sat, 2010-02-27 at 10:40 +0100, Ron wrote:
>
> Keith Clark wrote:
> > I have a text box where data is entered via a bar code scanner. The
> > scanner adds an code at the end of the data.
> >
> > I want that to trigg
I have a text box where data is entered via a bar code scanner. The
scanner adds an code at the end of the data.
I want that to trigger some code. What "event" is triggered by
that, if any.
Thanks,
Keith
--
Downlo
I'm trying to access the Gambas online documentation by selecting the
question mark in Gambas, then Help Browser.
A browser opens but I keep getting the following error when trying to
access anything.
I'm running under Ubuntu 9.10
Unable to load page
Problem occurred while loading the URL
fil
On Fri, 2010-02-26 at 06:46 -0800, charlesg wrote:
> Hi
>
> What Linux distro? What version Gambas?
>
> If you installed from Ubuntu repository, Go into Synaptic, search on Gambas
> and install missing components. The dang repository version is incomplete.
>
> rgds
Charles,
Thanks! That did i
I have just installed Gambas 2 on a machine and when I try to run my
application I get the following errors:
Some components are missing: gb.db.form, gb.net, gb.net.smtp
I have googled this and cannot seem to find much.
I'm sure I have solved this problem in the past fut I cannot remember
how.
On Thu, 2010-02-25 at 20:10 -0500, Keith Clark wrote:
> I am having some trouble understanding MySQL access. I am new to Gambas
> so you may have to take it easy on me!
>
> Ok, I followed the instructions as per:
>
> http://gambasdoc.org/help/howto/database
>
> And I
I am having some trouble understanding MySQL access. I am new to Gambas
so you may have to take it easy on me!
Ok, I followed the instructions as per:
http://gambasdoc.org/help/howto/database
And I'm now trying to insert my first record into a populated database.
Here is my code to do so:
PUBL
Does anyone have an example program that I can take a look at that
accesses a remote MySQL database?
Keith
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud
On Tue, 2009-06-02 at 11:50 +0200, Jesus Guardon wrote:
> Doriano Blengino escribió:
> > richard terry ha scritto:
> >> On Tue, 2 Jun 2009 12:39:13 pm Keith Clark wrote:
> >>
> >>> I have made my first Executable file via the Project menu item
I have made my first Executable file via the Project menu item and it
created a file.gambas file.
I sent that to another computer, but it won't execute. Do I need to
install gambas on every machine that I want to run gambas created
executables on?
Thanks,
Keith
--
I'm using Gambas on Ubuntu 9.04 and when I try to view the documentation
by pressing F1, noting comes up in the called upon browser. It states
there is no documentation, check your path.
For example, when looking for documentation on Chart:
File “/usr/share/gambas2/help/help/comp/gb+chart/chart.
Can a value box be named with a variable. ie: ValueBox[x].Value
Keith
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Mee
On Fri, 2009-05-29 at 08:31 -0700, David Villalobos Cambronero wrote:
> try this:http://gambasdoc.org/help/howto/database
>
> or ask me all you need
>
> Regards
>
>
> --
> David
>
>
>
> ----- Original Message
> From: Keith Clark
>
Is there a good MySQL interaction tutorial available?
Keith
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the mind
On Wed, 2009-05-27 at 23:12 -0700, charlesg wrote:
> I don't think you answered Diego's questions?
Indeed I did not, sorry about that. I am using Ubuntu 9.04
>
> The last time I installed Gambas 2.8 from Applications, Add/Remove in Ubuntu
> 9.04, the installation was incomplete and I had to go
On Wed, 2009-05-27 at 15:58 -0600, Diego Fernández wrote:
> mmm
>
> Distro:
> Gambas Version:
> How did you install it?
> When did you get that errors?
>
> Please provide enough information so the list could help you.
>
> :D
>
> Keith Clark escribió:
>
Hi there, I started my first project with gambas and right away I get
the following error: missing gb.net, gb.net.smtp, gb.db.form.
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering
64 matches
Mail list logo