Re: [Gambas-user] menu

2010-04-01 Thread yuhej

Hello,

No any idea? Maybe there is no any solution to do that? I may need to give
up then the idea :-(

Robi


yuhej wrote:
 
 Hello List,
 
 I have a very basic question... when I develop my applications I'd like
 them
 to appear in the menu under a group (when installed on a machine). When I
 do
 tha packaging I'm able to set several parameters, but is it possible to
 create an own menu (for example myApps) and to put the different
 application
 under this menu (myApps/app1, myApps/app2, etc)? If yes, where can I
 specify
 it?
 The user PC is Ubuntu.
 
 Thanks,
 Robi
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 

-- 
View this message in context: 
http://old.nabble.com/menu-tp27855632p28114470.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] class

2010-04-01 Thread yuhej

Hello List,

I have no experience with the classes in gambas and just a little in VB.
Based on the bult-in example I could get working it when defining the
properties as public variable but I don't know how to encapsulate (how to
use the get and the set if I have private properties.

An other question is if it's possible to overload functions. I tried to make
2 constructors by making 2 _new functions (in one to set the properties by
giving the list of the properties, in the second to give a ID to of the
record where I store them in a database to get the data from). I got an
error message.

A very simple example with one parameter and one function would be
appretiated!

Thanks,
Robi
-- 
View this message in context: 
http://old.nabble.com/class-tp28114690p28114690.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] 32 or 64?

2010-02-13 Thread yuhej

Hello List,

I have to change my computer and need to install Ubuntu (9.10).
From the Gambas point of view is there any difference? What I develop will
be installed on 32 bit Ubuntu. Is there any advantage to use the 64 bit or
any drawback?

Thanks,
Robi
-- 
View this message in context: 
http://old.nabble.com/32-or-64--tp27574204p27574204.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] output to open office files

2010-01-20 Thread yuhej

Hello Benoît,

As far as I know we have no easy option to write data to open office calc
files like VB can do to excel.
Once I read in a comment of you - if my memory is correct - that you plan to
do a function for that but only in the far future. Is it previewed in
Gambas2 or do you have any schedule on that? It would be very useful.

Thanks,
Robi
-- 
View this message in context: 
http://old.nabble.com/output-to-open-office-files-tp27240444p27240444.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] serial port

2009-12-09 Thread yuhej

Hello,

I'm very happy with the serial port communication, just I have some more
question.

When I start the application, I don't know what ports will be used and how
many.
So I have an object array where I add new serial ports depending on the
hardware configuration.

From this object array, I'm able to send and receive data. I just don't know
how to access to the serial port events (read). Can someone help me in this
matter?

Thanks,
Robi


yuhej wrote:
 
 Useful info, I'll do like that.
 Thanks, Robi
 
 2009/9/19 nando nand...@nothingsimple.com
 
 In my Linux serial port experience, serial port devices are named:

 /dev/ttyS0..9 and upwards
 /dev/ttyUSB0..9 and upwards depending on what is plugged in USB.

 I have done a lot of serial port stuff with Gambas.

 I know that trying to open then with the serial port control
 will fail is non-exising port. This error can be detected.

 It can be possible to open a port as a test to see if it exists, but you
 may be changing parameters and stealing chars from an existing
 connection.
 I've had this happen tooreally messes things up.

 -Fernando


 -- Original Message ---
 From: yuhej robert1juh...@gmail.com
 To: gambas-user@lists.sourceforge.net
 Sent: Fri, 18 Sep 2009 21:08:04 -0700 (PDT)
 Subject: [Gambas-user]  serial port

  Hello,
 
  I can see that Gambas can handle the serial ports which is a very good
 news
  for me.
  Can someone tell me how can I get the list of the serial ports of my
  computer? I wish to make an autodetect function and only allow to
 select
  from the working serial ports.
 
  Robi
  --
  View this message in context:
 http://www.nabble.com/serial-port-tp25518421p25518421.html
  Sent from the gambas-user mailing list archive at Nabble.com.
 
 
 --
  Come build with us! The BlackBerryreg; Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart
 your
  developing skills, take BlackBerry mobile applications to market and
 stay
  ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
  http://p.sf.net/sfu/devconf
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 --- End of Original Message ---



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 

-- 
View this message in context: 
http://old.nabble.com/serial-port-tp25518421p26708752.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] tab

2009-12-05 Thread yuhej

Hi,

Is there any option to hide some of the tabs of a tab control? For different
users I wish to show different information (depending on their right) but I
don't know if I may make invisible or not enabled some of the tabs.

Another quesion: can I change the order of the tabs (in design time)?

Thanks,
Robi
-- 
View this message in context: http://old.nabble.com/tab-tp26656660p26656660.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Split

2009-11-22 Thread yuhej

Hello,

The Split function baheves strange for me.
I receive data fon an equipment throu RS232 and I need to extract the
information from a string.

The data groups are separated by 4 chr(10) character (originally it was 2
CrLf but when reading in Gambas it became 4 chr(10) - this is also strange).

So I take the string and I use Split(myString, chr(10)  chr(10)  chr(10) 
chr(10)).
The result is the same what as I use Split(myString, chr(10)), so the first
character only:
0. item is one data
1,2,3. item empty
4. item data
5, 6, 7. empty
etc.

To solve the problem I used Replace function to replace the 4 chr(10) with
only one character and the Split function on the redefined string - so
finally my code works.

Please let me know if this is a bug, a normal behaviour or I have made a
mistake when using the Split function.

Regards, Robi
-- 
View this message in context: 
http://old.nabble.com/Split-tp26463657p26463657.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


[Gambas-user] packaging

2009-10-01 Thread yuhej

Hello,

I'm not very far from being able to test my first Gambas application. It
works from the IDE, also the executable on my PC.
I try to make a package to test it on a virgin ubuntu but I haven't
succeeded. I got an error message like that:
-
Creating package for Ubuntu.
Making build directory.
Creating desktop file...
Sources are being debianizated.
Creating package...
sh: fakeroot: not found
The package build has failed.
Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
-

Is there anything misiing from my system, I made a mistake or is this a bug?
Thanks for your help.

Robi
-- 
View this message in context: 
http://www.nabble.com/packaging-tp25695659p25695659.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas output

2009-09-18 Thread yuhej

Hello Ricardo,

For the moment I survive with text files.
It would be very useful if you can make a function with this option when you
have a little time!

Regards, Robi


Ricardo Díaz Martín wrote:
 
 I use my own system to generate standard odt files but maybe it's no
 enought
 clear for other people... :-(
 
 To do this, first I extract content.xml from .odt template and modify it.
 After, I put the new content.xml again inside the new file. I use this for
 print reports in my apps and works fine.
 
 I'm thinking to make an example of this but more user friendly and put as
 gambas example but I got lot of work now (maybe in a few months...)
 
 
 2009/9/17 yuhej robert1juh...@gmail.com
 

 Hello,

 From my application I need to create some standard output files. When I
 used
 VB I usually put out data to Excel files. It has the advantage that
 everyone
 can open and edit and I can use templates.
 Do we have a simillar option from Gambas? Fo instance to write into Open
 Office Calc files?

 Thanks,
 Robi
 --
 View this message in context:
 http://www.nabble.com/gambas-output-tp25491550p25491550.html
 Sent from the gambas-user mailing list archive at Nabble.com.



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 

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


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] serial port

2009-09-18 Thread yuhej

Hello,

I can see that Gambas can handle the serial ports which is a very good news
for me.
Can someone tell me how can I get the list of the serial ports of my
computer? I wish to make an autodetect function and only allow to select
from the working serial ports.

Robi
-- 
View this message in context: 
http://www.nabble.com/serial-port-tp25518421p25518421.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] how to start a file?

2009-09-13 Thread yuhej

Hello,

I just start with Gambas (used VB before) and hopefully I found a place
where I can get some answers.
At this moment I wish to add an option of attaching files in my application
(by saving the path) and to open them later.
Can someone tell me how can I start a file from Gambas? For instance a
spreadsheet with open office?

Thanks for your help in advance.

Robi
-- 
View this message in context: 
http://www.nabble.com/how-to-start-a-file--tp25416046p25416046.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