[Gambas-user] What should executable open with?

2009-09-14 Thread CelticBhoy

Really daft question, but on my Ubuntu system my compiled gambas app is set
to open with wine for some reason. I just want to know what it should be set
to, to enable it to run.
-- 
View this message in context: 
http://www.nabble.com/What-should-executable-open-with--tp25432680p25432680.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-12 Thread CelticBhoy

OK had to change it about to this :-

PUBLIC SUB CSales_Change()
  TotalSales.Value = 0
  IF BarSales.Text  NULL THEN TotalSales.Value = BarSales.Value /
SDiv[CheckItem.Index + 1]
  IF OSSales.Text  NULL THEN TotalSales.Value = TotalSales.Value +
OSSales.Value
  IF OSMultiSales.Text  NULL THEN TotalSales.Value = TotalSales.Value +
OSMultiSales.Value
END

-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23504809.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

I have written a small app for controlling the stock in the bar I own, but I
would like some advice on the best way to overcome a brick wall I have hit.
The attached screenshot shows the form I want to use to perform a stock
check. I want the 'total' fields to update when an amount is entered in any
of the count or sales box's, how do I set this to automatically update?
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23480295.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

Could you re-send you example, the archive wont open.
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23482489.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

Still wont open!

ps bar is in Hamilton, Scotland.
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23483601.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

Thanx that has opened it.
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23484163.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

OK that works for changing the value, now how do I stop use entry on this
field?
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23484641.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

Sorry I mean the valuebox containing the total. I dont want the user to be
able to change the value apart from entering in valuebox 1, 2,  3 in your
example. The user should not be able to change valuebox4 directly.
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23485264.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for a little help with an app.

2009-05-11 Thread CelticBhoy

Thats strange, I already had that value set to true, but it still lets me
edit the field, and stores the value I have typed.
-- 
View this message in context: 
http://www.nabble.com/Looking-for-a-little-help-with-an-app.-tp23480295p23485936.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem opening project

2009-05-03 Thread CelticBhoy

I moved the contents of my project folder to another location. At first I did
not realise that there were hidden files in the folder also, and only
coppied the files I could see. Then after copying over the hidden files I
tried to open the project. It open with the form as expected, but the class
file does not load. Can I force this file to load manually.
-- 
View this message in context: 
http://www.nabble.com/Problem-opening-project-tp23356901p23356901.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem opening project

2009-05-03 Thread CelticBhoy

Fixed by tinkering with the .settings file.
-- 
View this message in context: 
http://www.nabble.com/Problem-opening-project-tp23356901p23356958.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error on Jaunty

2009-04-21 Thread CelticBhoy

I am currently using 2.8 from the Ubuntu repo's, the project files are all
uploaded above.
I tried to install a .deb of 2.12 but got a dependancy error for a lib file
- sorry cant remember the name.

-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23160072.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error on Jaunty

2009-04-21 Thread CelticBhoy



CelticBhoy wrote:
 
 I am currently using 2.8 from the Ubuntu repo's, the project files are all
 uploaded above.
 I tried to install a .deb of 2.12 but got a dependancy error for a lib
 file - sorry cant remember the name.
 
 



Just checked again, and this is the error :-

Error: Dependency is not satisfiable: libpoppler3



-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23160137.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy

I am running gambas 2 on a testing version of Ubuntu 9.04, when I try to run
a simple program I get this error :-

Your program has stopped unexpectedlly by raising signal #11

What is this error?
-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23132993.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy

Using 2.8, source code attached
http://www.nabble.com/file/p23138207/FMain.class FMain.class 
-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23138207.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy

Thanx for the offer, I have attached the rest of my files, obviously you will
need to change file location.

http://www.nabble.com/file/p23139578/FMain.form FMain.form 
http://www.nabble.com/file/p23139578/stock.rec stock.rec 
http://www.nabble.com/file/p23139578/suppliers.rec suppliers.rec 
http://www.nabble.com/file/p23139578/stock stock 

If I have missed anything please let me know.
-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23139578.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy

Thanx for the advice  your time looking at this, as I am using the version
from the repo's how do I update my version ??
-- 
View this message in context: 
http://www.nabble.com/Error-on-Jaunty-tp23132993p23140592.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] We should offer online Gambas courses!

2009-03-31 Thread CelticBhoy

I have just had a look at your initial site jbskaggs, and I thought that it
looked quite good. You should however put in place a request section where
people can request either future tutorials, or documented code snipets. And
also a way to submit code/lessons for the administrators to check  include.

As I said in an earlier post I am the new user who will benefit from this
idea. I hope that you can follow this through with quality tutorials and
build up a large user and contributer base.

Good luck.

-- 
View this message in context: 
http://www.nabble.com/We-should-offer-online-Gambas-courses%21-tp22792079p22804928.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Catch NULL character

2009-03-28 Thread CelticBhoy

This is the code where the problem comes up :-

PUBLIC SUB Seperate(sComponent AS String, iRec AS Integer)
  
  DIM sElement AS String[13]
  DIM iStart AS Integer
  DIM iFinish AS Integer
  DIM iLen AS Integer
  DIM iLoop AS Integer
  DIM iSlen AS Integer
  
  iLen = Len(sComponent)
  IF iLen  1 THEN 
iStart = 1
FOR iLoop = 1 TO 11
  iFinish = InStr(sComponent, ,, iStart)
  iSlen = iFinish - iStart
  sElement[iLoop] = Mid$(sComponent, iStart, iSlen)
  IF sElement[iLoop] = NULL THEN sElement[iLoop] = 0 
  iStart = iFinish + 1
NEXT 

sElement[12] = Right$(sComponent, (iLen - iFinish))
IName[iRec] = sElement[1]
PSize[iRec] = Val(sElement[2])
SDiv[iRec] = Val(sElement[3])
SOnHand[iRec] = Val(sElement[4])
ICost1[iRec] = Val(sElement[5])
ICost2[iRec] = Val(sElement[6])
ICost3[iRec] = Val(sElement[7])
ICost4[iRec] = Val(sElement[8])
BSell[iRec] = Val(sElement[9])
OSSell[iRec] = Val(sElement[10])
OSMult[iRec] = Val(sElement[11])
MSize[iRec] = Val(sElement[12])
  ENDIF   
END


All arrays apart from IName[]  sElement[] are type float.

example of file input :-

Delour,1,20,0,0,7.95,,0,1.3,,0,0
Martell,1,20,0,15.59,13.17,13.94,0,1.9,16.99,0,0
Bacardi,1,42.8,0,23.99,23.15,24,0,1.55,0,0,0
Bacardi,1,20,0,10.61,11,10,,0,12.99,0,0
OVD,1,20,0,0,,23,0,1.5,13.75,0,0
Morgans,1,42.8,0,24.19,22.65,23,0,1.55,0,0,0

The text file was generated from a spreadsheet which has some empty cells,
as you can see each record has twelve fields. The problem arises when trying
to assign the empty fields to the float arrays.

Thanx in advance for any help.

PS I got round the problem by filling in the empty cells in the spreadsheet,
but I would still like to know where I went wrong.

PPS Where can I download Gambas 3 for Ubuntu ???
-- 
View this message in context: 
http://www.nabble.com/Catch-NULL-character-tp22751957p22756585.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Unable to change valuebox contents after selecting record from combobox

2009-03-27 Thread CelticBhoy

Thanx for the reply's but I managed to sort it, it was a problem with the
combobox.index returning a negative number, and using the wrong event ( I
had used change, worked with click ). After finding the problems it was
simple to sort.

Thanx again for quick reply's.

-- 
View this message in context: 
http://www.nabble.com/Unable-to-change-valuebox-contents-after-selecting-record-from-combobox-tp22723578p22743699.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Catch NULL character

2009-03-27 Thread CelticBhoy

What is wrong with this line :-

IF sElement[iLoop] = NULL THEN sElement[iLoop] = 0

I want to catch a null character and change it to 0.
-- 
View this message in context: 
http://www.nabble.com/Catch-NULL-character-tp22751957p22751957.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Unable to change valuebox contents after selecting record from combobox

2009-03-26 Thread CelticBhoy

I am new to Gambas  am having a small problem with a simple stock control
program. When th program starts a file is read and each record is loaded and
broken down and the element values are assigned to separate arrays, a
combobox is loaded with the names of the stock items. On my form when
running the program I can select what record I want to change with the
combobox, and the correct details for each record are displayed where they
are meant to be, the problem is that I cant edit the contents of the on
screen information other than the combobox contents. All the other info is
stored in valuebox's with type number. Why wont it let me edit the other
contents ??
-- 
View this message in context: 
http://www.nabble.com/Unable-to-change-valuebox-contents-after-selecting-record-from-combobox-tp22723578p22723578.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user