An Introduction to Gambas

If you think Visual Basic is almost useful, here's a way to almost get it on Linux.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

help me report design

dj yunnha's picture

how to create report in gambas use free tols ??

some questions (bugs in bugtracker?)

wig's picture

Interested in Gambas, which has very few publications, I read your article (picked it out of my stack of Linux Journals again).
Because this article relies very much on code, I have a couple of questions after reading and using the article:

- no mention of the "get_id" function (1)

- after making the frmAddBug form, there's no mention of the code to effectively save the bug. (2) In the code it seems to have a wrong name (btnAddBug_click instead of btnSaveBug_click)

- doesn't the status have to be 1 (new) by default? As design in the database (status_id) or in the Save code? A new record gets no status, and I see nowhere how it will be shown, all selections are done with the id of a status being there. Other selections? (status = NULL?)

- at the end of the article there is "data.runSQL(..)" but I can nowhere find this method. Does it have to be data.Exec()?

I must admit that I am entering it in Gambas 1.9 (not 1.0), but there seems to be more than version incompatiblity like system.user that is now etc.

(1), (2): it is in the downloadable code thought
Without the code download it is difficult to follow the article in code.

ps: it would be interesting to update it to Gambas2 or at least 1.9.x if you would take it in your hands again to look at these ..


White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState