What It's All About: Visual Basic Express Takes A

Total Page:16

File Type:pdf, Size:1020Kb

What It's All About: Visual Basic Express Takes A 05_597051 ch01.qxd 10/20/05 1:21 PM Page 13 Chapter 1 What It’s All About: Visual Basic Express Takes a Bow In This Chapter ᮣ Understanding why VB Express exists ᮣ Discovering VB Express’s goals ᮣ Organizing via the user interface ᮣ Programming for the Internet isual Basic Express is the only popular computer programming language Vavailable today. By popular, I mean “for the people” — novices, small- business people, amateurs — anyone other than professional programmers. VB Express is the language for the rest of us. It’s not yet popular in the sense of selling well — but I hope that soon changes. Whether it will become popular in the other sense of the word, only time will tell. But there are far more small-business people, beginners, and enthusiasts than there are professionals, just as amateur cooks outnumber professional chefs. That’s why VB Express’s predecessor, Visual Basic, was for a decade the world’s most popular computer language by a wide margin. Small-business people need an efficient, understandable programming lan- guage to write quick utilities to solve problems unique to their work. A surf- board makerCOPYRIGHTED may often need to calculate MATERIAL polyester catalyst ratios, or dad might want to write up a quick history quiz to help with Laura’s homework. A hobbyist may enjoy creating a coin collection management program. Whatever your personal needs, knowing how to program a computer — and thus how to perfectly customize its behavior — is a useful and often enjoy- able skill. 05_597051 ch01.qxd 10/20/05 1:21 PM Page 14 14 Part I: The Basics of Visual Basic Express Something Strange Happened in Orlando Visual Basic, VB .NET, and now Visual Basic Express — all these versions of Microsoft’s Basic language can be confusing. Before you get started writing programs with VB Express, you may find it helpful to understand why Visual Basic Express was even created. After all, Visual Basic .NET already existed, so why a new version of VB? In the following sections, I explain how VB has changed over the years, so that you can understand just how VB Express fits into the picture and what VB Express can do for you. Visual Basic through the years When Microsoft introduced Visual Basic in 1991, VB was primarily a procedure- oriented language (organizing its programs via Events, subroutines, and functions. To make it easily understood, Visual Basic was designed to be as close to English as possible. Its punctuation, diction, and syntax are familiar — easily understood, remembered, and read — because VB is like a natural human language. Someone creating VB would choose the word stop, for example, when they wanted the computer to stop. Makes sense to me. But in July 2000, something astonishing happened in Orlando. Visual Basic .NET was unveiled in front of an audience of many of the world’s best Visual Basic programmers. But VB .NET was so unlike what Basic has always stood for that I heard people around me gasp. VB .NET changed Basic from its traditional role as the fastest route from idea to application to a jumbled, tortuous programming style with an immense, impenetrable, disorganized library of functions called the .NET Framework. It was oxymoronic in the extreme. It was as though you decided to rewrite the phone book for clarity and hired the IRS to do it. My informed guess is that Microsoft became confused and lost sight of the nature and purpose of the Basic language — clarity and efficiency. It brought in a team of managers and programmers who apparently had little, if any, experience with Basic. Instead, these people’s expertise was in C-type lan- guages and object-oriented programming (OOP). One stated purpose of .NET was to bring all Microsoft’s computer languages into line. Visual Basic, for example, had traditionally allowed you to start counting lists from 1 (as in: I took my first trip to Spain last summer).This is the way people think of lists: the first item is item 1. But the C languages start 05_597051 ch01.qxd 10/20/05 1:21 PM Page 15 Chapter 1: What It’s All About: Visual Basic Express Takes a Bow 15 counting from zero (so you’d have to say: I took my zeroth trip to Spain last summer). But counting nothing first is pretty counterintuitive for everyone but programmers. Makes no sense, but they do it that way. With .NET, Visual Basic was asked to abandon its traditional, sensible count-up-from-one prac- tice and get into line with the C zeroth approach. The C languages embrace precisely what Basic avoids — complexity, ineffi- ciency, redundancy, and jargon. OOP/C-style language is to Basic what acade- mic theorizing is to practical action. The result: Visual Basic nose-dived in popularity when .NET was forced on the VB audience. For the first time, there was no popular (for-the-people) computer language. Visual Basic today Visual Basic was the world’s most popular programming language for over a decade, but when Visual Basic .NET appeared, things changed. Because of the .NET framework’s added complexity, Visual Basic lost its appeal for begin- ning, amateur, and small-business programmers. Its popularity has declined. In this newest iteration of Visual Basic — Visual Basic Express 2005 — Microsoft has tried to win back this segment of programmers. It is, after all, the largest segment of programmers, considerably outnumbering professional develop- ers working in large organizations. Visual Basic 2005 comes in two versions: Visual Basic 2005 for Developers and Visual Basic 2005 Express Edition. Because you bought this book, I assume you have the Express Edition. VB for Developers focuses on technologies that assist people working in groups on the same program (OOP has many such features). But for people programming alone, VB Express should be everything you need. VB Express is a subset of VB for Developers, but little of significance is left out for those programming solo. What Does Visual Basic Express Have to Offer? Nobody knows whether it’s too little, too late, but VB Express is designed to rescue Visual Basic, and maybe it will. I hope so. The world needs a computer language for the rest of us — for those who aren’t professional programmers. (For professionals, complexity and obscurity often help ensure job security.) 05_597051 ch01.qxd 10/20/05 1:21 PM Page 16 16 Part I: The Basics of Visual Basic Express VB Express is simpler on the surface than its big brother Visual Basic .NET, but the entire, massive .NET Framework (library of objects) is at your dis- posal in VB Express. So you’ll find all the power you need under the hood. Defaults that serve a purpose Some C-language complexity and verbosity does give you additional control over the task (if you’re specifying, for instance, a new font size). But this con- trol is also available in Basic. If you want to get particular about formatting, you have that option in Basic — you can write some additional code. There’s a default Basic print format, however. Most printing jobs are just fine with the default typeface, type size, margins, and black as the color for the text. In C and similar languages, however, there usually is no simple default behav- ior for common tasks like printing. Instead, you must write lots of tangled, complicated code specifying all kinds of things about line size, lines per page, typeface, and so on. In other words, C/OOP places two burdens on the pro- grammer: You usually must manipulate a large number of properties, and you must work in a language so alien, so counterintuitive, that it takes most people years to achieve competence. Few ever achieve actual mastery. Remember that professional programmers are only a fraction of the program- ming public. Amateurs, novices, small-business people, and others like to make computers do things (it’s often fun to program). It’s also useful to be able to write a quick sales-tax calculator or a small diary program for little Ashley. When you write your own programs, you can quickly modify them to adapt to changing conditions: adding, for instance, a password feature to Ashley’s diary program when she grows old enough to have secrets worth concealing. The Express initiatives I believe Microsoft understands that there is a problem (how many copies of VB .NET are selling?). Is VB Express the answer? I hope so. VB Express inter- acts with beginning programmers differently than VB .NET does, but with varying degrees of success: ߜ The My object achieves some abstraction (reducing your need to write huge amounts of code to accomplish some common tasks). As you see in Chapter 6, My improves a relatively small number of tasks. ߜ The startup screen (see Figure 1-1) appears to contain welcomed simpli- fications and assistance. But I find much of the content behind the links on this “Welcome to Visual Basic Express” portal deceptive. The “Create 05_597051 ch01.qxd 10/20/05 1:21 PM Page 17 Chapter 1: What It’s All About: Visual Basic Express Takes a Bow 17 Your First Program” step-through leads you to think that you can create “powerful programs . quickly and easily.” You can’t, and the example browser trick is hardly a program. The My Movie “starter kit” is far from useful as a learning tool. It’s quite advanced actually, and certainly off- putting to all but the Einsteins among novice programmers. Figure 1-1: Looks inviting, but are the examples understand able and promises kept? ߜ The menus in VB Express are abbreviated.
Recommended publications
  • Manualgambas.Pdf
    Introducción Este míni-manual esta pensado y orientado para los asistentes al taller de Gambas. Dado que, a priori, esperamos la asistencia de gente sin conocimientos previos de programación este texto va a ser escueto y muy elemental. Además de dar una formación teórica básica tiene el propósito de servir como chuleta para poder consultar las sintaxis más elementales como por ejemplo de las condicionales, bucles, etc. Nuestra herramienta: GAMBAS Vamos a usar Gambas, un lenguaje de programación visual similar al Visual Basic de Microsoft. Gambas dispone de su propio IDE. Un IDE, por sus siglas en inglés, es un entorno de desarrollo integrado. Gambas es lo que se conoce como un lenguaje de programación interpretado y como ocurre con GNU que es un acrónimo recurrente (Gnu No es Unix) Gambas significa Gambas Almost Means BASic, que traducido al castellano es Gambas Casi es BASic. Los IDE's son unos programas que aglutinan todo lo que necesitamos para programar. Tenemos un editor para picar (vamos a ir introduciéndonos en la jerga del programador) código, con resaltado por colores, autocompletado para ayudarnos en la edición, señalización de errores, etc. Un depurador para poder controlar la ejecución del programa y evaluar su comportamiento con sus inspectores de variables, objetos, etc. Un compilador para generar los binarios, bytecodes, ejecutables, etc. Un empaquetador para crear los instaladores. Además disponen de otras herramientas como gestores de servicios SVC para el control de versiones como GIT o similares. Editores de conexión a bases de datos, etc. Lo primero que vemos al ejecutar Gambas la ventana de bienvenida y nos da varias opciones, abrir un proyecto existente, crear uno nuevo o abrir recientes.
    [Show full text]
  • MIC5161 Win 2003 Launch V6
    Microsoft Windows Server 2003 and Microsoft Visual Studio .NET 2003 Launch Guide Do more with less. 1 Contents Introduction 2 Introducing Microsoft® Windows® Server 2003 4 Windows Server 2003 Case Studies 10 Introducing Microsoft® Visual Studio® .NET 2003 26 Visual Studio .NET 2003 Case Studies 41 Australian .NET Connected Partners 47 Microsoft® SQL Server™ 52 Microsoft Exchange Server 53 Windows Server 2003 and Visual Studio .NET 2003 Launch Sponsors 55 Platform Partner 56 Platinum Sponsors 61 Gold Sponsors 81 Silver Sponsors 96 Australian Windows Server 2003 JDP 100 Microsoft Gold Certified Partners 102 2 3 Welcome to the launch of Windows Server 2003! This is an exciting time for In my ten or more years in the Australian developer community, the combination Microsoft, our partners and customers, as this is unquestionably the most of Microsoft Windows Server 2003 and Microsoft Visual Studio® .NET 2003 is customer-focused Windows Server release yet. The reality of today’s IT environment the most exciting launch I have ever been involved with. Last February, Microsoft is the demand to do more with technology and, at the same time, do it with reset the bar for innovation and productivity with a new development paradigm for less cost. Over the last two years, we have spent time with customers using building Web Services and applications – Visual Studio .NET. This year, we build Microsoft® Windows® 2000 Server and Windows NT® Server 4.0 to really on that momentum by offering an entire development platform for the building understand what it would take to enable them do a lot more with Windows Server and execution of those applications.
    [Show full text]
  • Scanned Document
    OJ )> Vl () 0 ,0 ,m' I 1-V II&JS mm&Radio4 I nederlandse ornroep stichting I THE CHIP SHOP BASICODE2 mmmRadio4 - Broadcasting Support Services CONTENTS ©NOS nederlandse omroep stichting, Hilversum, Netherland 1. INTRODUCTION 5 ISBN 0-906965-14-4 2. HOW TO USE BASICODE-2 7 This edition first published by Broadcasting Support Services January 1984 3. BASICODE- THE SPECIFICATIONS 9 THE CHIP SHOP BBC Radio4 4. BASICODE-2 PROTOCOL 12 British Broadcasting Corporation Portland Place 5. APPLE II & lie 26 London W1A 1AA 6. BBC (A& B) 29 All rights reserved. This handbook and the accompanying computer programs are copyright. No part of this handbook or 7. COMMODORE COMPUTERS 31 the accompanying computer programs may be reproduced, 8. SHARP MZSOA 36 translated, copied or transmitted by any means whatsoever without the prior written permission of the copyright owners. 9. SINCLAIR ZX81 37 The publisher assumes no responsibility for errors, nor liability 10. TANDY TRS-80 & VIDEOGENIE 41 for loss or damage, however caused, arising from the use of the Basicode 2 kit. 11. THE FUTURE 47 The BASICODE-2 kit is available for £3.95 frorr:: Broadcasting Support Services P.O. Box? London W3 6XJ Please make cheques or postal orders payable to Broadcasting Support Services. Published for The Chip Shop, Radio 4, by Broadcasting Support Services- an independent educational charity providing follow­ up services for viewers and listeners. Introduction Chapter One BASICODE-2 INTRODUCTION BASICODE has been developed by the radio programme Hobbyscoop This book and the accompanying cassette contain the details of NOS­ which is broadcast weekly by Nederlanse Omroep Stichting (NOS), BASICODE.
    [Show full text]
  • B4X Booklets
    B4X Booklets B4X Getting started Copyright: © 2018 Anywhere Software Edition 1.4 Last update : 2018.11.28 Table of contents 2 B4X Getting started 1 B4X .............................................................................................................................................. 5 2 Getting started B4A..................................................................................................................... 6 2.1 B4A Trial version ................................................................................................................. 7 2.2 Installing B4A and Android SDK ........................................................................................ 8 2.2.1 Installing Java JDK .......................................................................................................... 8 2.2.2 Installing Android SDK ................................................................................................... 9 2.2.3 Installing B4A .................................................................................................................. 9 2.3 B4A Configure Paths in the IDE ........................................................................................ 11 2.4 Installation problem ........................................................................................................... 12 2.5 B4A Choice of the language .............................................................................................. 12 2.6 B4A Connecting a real device...........................................................................................
    [Show full text]
  • Sun City Summerlin Computer Club Seminar Beginning Programming with Visual Basic Script Edition
    Sun City Summerlin Computer Club Seminar Beginning Programming With Visual Basic Script Edition Tom Burt August 31, 2006 This seminar is an experiment. It will present a quick overview of the fundamentals of computer programming, including two “real world” examples. The audience is experienced computer users who can think logically and translate a procedure or other activity into a sequence of steps. For this introduction, we will mainly use the VBScript language, which is a dialect of Microsoft BASIC. It is very similar to Visual Basic for Applications (VBA), which is built into most MS Office applications. It is also similar to the Visual Basic 6 programming language. The VBScript language runtime executive and programming documentation are available free from Microsoft’s Windows Scripting web site. (See the web links at the end of the presentation). If time permits, we’ll also look briefly at Microsoft’s FREE VB.Net 2005 Express Edition. 1 Where to Find the Materials Sun City Summer Computer Club Website Seminars: • http://www.scscc.com/smnr Acrobat file of these slides and Notes: • http://www.scscc.com/smnr/VBScript_Beginning_Programming.pdf ZIP file of the Examples: • http://www.scscc.com/smnr/Programming_Examples.zip TNB August 31, 2006 Intro - Programming VBScript 2 Seminar Agenda Visual Basic Versions and Reference Basic Programming Concepts VBSCRIPT Language -- Bio Break (~10 min) Program 1 – Ticket Draw Program 2 – Clean out Temp folders Web Site Links Open Q and A TNB August 31, 2006 Intro - Programming VBScript We’ll spend the first half of the seminar covering the key programming concepts of the VBScript language.
    [Show full text]
  • Table of Contents
    ^9/08/89 11:43 U206 883 8101 MICROSOFT CORP.. 12)002 Table of Contents m-^mm Table of Contaits 09/08/89 11:44 'Q206 883 8101 MICROSOFT CORP _ _ [ 1003 The Story Begins JAN The story of MS-DOS_begins ..in a hotel in Albuquerque, New Mexico. 1975 In 1975, Albuquerque was the home of Micro Instrumentation'Telemetry MiTS introduces the 8080-baseci Systems, better known as MITS- In January of that year, MITS had intro- Altair computer. duced a kit computer called the Altair. When it was first snipped, the Altair consisted of a metal box with, a panel of switches for input and output, a power supply, and-two boards. One board was the CPU.. At its heart was the 8-bit 8080 microprocessor chip from InteL The other board provided 256 bytes of memory. The Altair had no keyboard, no monitor, and no permanent storage. But it had a revolutionary price tag. It cost $397. For the first time, the term "personal computer" acquired a real-world meaning. The real world of the Altair was not, however, the world of business computing. It was-primarily the world of the computer hobbyist These first users of the microcomputer were not as interested in using spreadsheets and word processors as they were in programming. Accordingly, the first soft- ware for the Altair was a programming language. And the company that developed it was a two-man firm, in Albuquerque, called Microsoft FEB The two men at MiCTosof^ej^PailjAJten^and Bffl Gates-Allen and 1975 Gates-had met when-they were both students at Lakeside High School in Microsoft sails first BASIC to Seattle, where they began their computer-science education oa the school's MITS lor Altair time-sharing terminal By the time Gates had graduated, me two of them had computer.
    [Show full text]
  • Windows Api Examples
    Windows Api Examples Petur J. Skulason. <mailto:[email protected]?subject=Windows Api Examples> http://www.est.is/~pjs/RealBasic/ http://u225.nett.is/~pjs/ All this is free to use in any application (commercial - shareware - freeware). Also to extract examples and post as examples from other websites. (I do not take any responsibility for how good this is, I dont call for any credit mony or anythink else ... ) These are few examples that I have found on lists, and by experimenting with Windows API calls and browsing MSDN website (http://msdn.microsoft.com/ ). Many text’s are copyed from MSDN website in this document are from MSDN website. Examples are tested on Win98 system, HP OmniBook XE2, compiled on PowerBook G3, PPC7300, LC475. Some of examples are working correctly. Most of examples are working, but some are not working, possible that i’am doing somthing wrong, but they are there. Comments, bugs, other samples welcome. Even requests for more samples. I might try to look at it and see if its possible. PS: In this document I have put some links to MSDN webpage’s. If you are running Internet Explorer then you might need to ‘disconnect java script’ couse then ie might show only part of page. Either run ie with *.js ‘OFF’ or use an other browser, like iCab or Netscape. (As of aug 30, 2000 then pages are displayed correct... problem might be solved... ) When declaring functions/subs then one is calling library, like user32.dll . Can omitt the name extension, use like Lib “user32” instead of Lib “user32.dll”.
    [Show full text]
  • Porting VB Applications to Linux and Mac OS X
    Porting VB Applications to Linux and Mac OS X A how-to guide for Visual Basic developers by Hank Marquis Hank Marquis has been using Visual Basic since version 1.0. He is author of A Visual Basic Programmer's Toolkit (APress), The Visual Basic 6.0 Bible (IDG) and over 35 articles published in CTO/BackOffice, Visual Basic Programmer's Journal (VBPJ), Visual Studio Magazine (VSM) and Microsoft MSDN. He is currently CTO of SlayFire Software Co., creating optimization and performance tools for REALbasic. Reach him at [email protected] or www.slayfiresoftware.com. Table of Contents Porting Options Beginning Assumptions Porting Considerations Language Keywords Code Syntax Data Types Language Structure User Interface Project Structure Platform APIs Other Considerations Visual Basic Project Converter Additional Resources Table 1. Porting Considerations Table 2. Visual Basic and REALbasic Datatypes Table 3. Getting Ready: The Step by Step Process Preparing Your Code to Use VB Project Converter © 2004 REAL Software, Inc. and Hank Marquis. All rights reserved. Page 1 of 17 Porting Visual Basic applications to Linux and Mac OS X A how-to guide for Visual Basic developers In this white paper, I'll show how you can preserve your investment in Visual Basic by porting your code to Linux and/or Macintosh using REAL Software's REALbasic. I'll provide some examples, share some experience and give you a roadmap for how to port—and how not to port—your Visual Basic apps cross- platform. My intent is to save you some time and pain. For porting our VB projects, we will use REALbasic 5.5.3 for Windows, a modern software development environment that is quite similar to Microsoft Visual Basic® in terms of the GUI and syntax.
    [Show full text]
  • Visual Basic 2017 Made Easy
    Visual Basic 2017 Made Easy By Dr.Liew 1 Disclaimer Visual Basic 2017 Made Easy is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft Corporation. Trademarks Microsoft, Visual Basic, Excel and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks belong to their respective owners. Liability The purpose of this book is to provide basic guides for people interested in Visual Basic 2017 programming. Although every effort and care has been taken to make The information as accurate as possible, the author shall not be liable for any error, Harm or damage arising from using the instructions given in this book. ​ Copyright ® 2017 Liew Voon Kiong All rights reserved. No Part of this e-book may be reproduced, in any form or by any means, without permission in writing from the author. 2 Acknowledgement I would like to express my sincere gratitude to many people who have made their contributions in one way or another to the successful publication of this book. My special thanks go to my children Xiang, Yi and Xun who have contributed their ideas and help in editing this book. I would also like to appreciate the support provided by my beloved wife Kim Huang and my youngest daughter Yuan. I would also like to thank the millions of readers who have visited my Visual Basic Tutorial website at vbtutor.net for ​ ​ ​ their support and encouragement. About the Author Dr. Liew Voon Kiong holds a bachelor’s degree in Mathematics, a master’s degree in Management and a doctorate in Business Administration.
    [Show full text]
  • Version Information Product Name Microsoft® Basic Keyboard Product
    Version Information Product Name Microsoft® Basic Keyboard Product Version Microsoft Basic Keyboard 1.0a Keyboard Version Microsoft Basic Keyboard 1.0a Product Dimensions Keyboard Length 17.6 inches (446 millimeters) Keyboard Width 7.09 inches (180 millimeters) includes palm rest Keyboard Depth/Height 1.26 inches (32.0 millimeters) with tilt legs folded Keyboard Weight 26.1 ounces (739 grams) Cable Length 78.7 inches (2000 millimeters) Compatibility and Localization Interface PS/2 Compatible Operating Systems Microsoft Windows® Vista™, Windows XP Home and Professional Edition, Windows 2000, and Windows Millennium Top-line System Requirements • Microsoft Windows Vista, Windows XP Home and Professional Edition, Windows 2000, or Windows Millennium Edition • PS/2 port Compatibility Logos Certified for Microsoft Windows Vista Software Version No software required Keyboard Localization Available language sets will vary by product and sales channel 104 key configuration: Chinese (Traditional), International English (ROW), and English (North America) 105 key configuration: English (UK), French (France), German (Germany), and Spanish (Latin America) 106 key configuration: Korean 107 key configuration: Portuguese (Brazil) 109 key configuration: Chinese (Simplified) and Japanese Product Feature Performance QWERTY Key Life 1,000,000 actuations per key Hot Key Features Web, Mail, and Search Hot Key Life 500,000 actuations per key Typing Speed 1000 characters per minute Storage Temperature & Humidity -40 °F (-40 °C) to 158 °F (70 °C) at 0% to 90% relative
    [Show full text]
  • Beginning Realbasic from Novice to Professional
    Beginning REALbasic From Novice to Professional ■■■ Jerry Lee Ford, Jr. Beginning REALbasic: From Novice to Professional Copyright © 2006 by Jerry Lee Ford, Jr. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-634-0 ISBN-10 (pbk): 1-59059-634-X Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Chris Mills Technical Reviewer: Allan Kent Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick, Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft, Jim Sumser, Keir Thomas, Matt Wade Project Manager: Richard Dal Porto Copy Edit Manager: Nicole LeClerc Copy Editor: Marcia Baker Assistant Production Director: Kari Brooks-Copony Production Editor: Lori Bring Compositor: Pat Christenson Proofreader: Linda Seifert Indexer: Broccoli Information Management Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail [email protected], or visit http://www.springeronline.com.
    [Show full text]
  • Belajar Gambas
    I. BELAJAR GAMBAS Pada pertemuan kali ini kita akan belajar salah satu pemrograman dalam Linux. Ada banyak pemrograman dalam Linux seperti halnya pada Windows, tapi yang akan kita bahas sekarang adalah Gambas. Gambas, Apaan tuh? Boleh dikatakan Gambas adalah Visual basic-Nya Linux. Anda yang telah mengenal Visual Basic di windows pasti akan sangat familiar dengan scrip dalam Gambas, meskipun tidak semua skrip sama. Gambas murni proyek open source di bawah naungan GPL(General Public License). Jadi sifatnya Open source alias Free. Instalasi Gambas Kalau dalam Linux Anda tidak terinstal gambas maka Anda dapat mendownload di URLnya, http://gambas.sourceforge.net. Jika paketnya sudah anda dapatkan maka langkah pertama yang harus dilakukan Adalah dengan perintah : $ tar -xjpvf gambas-xxx.tar.bz2 , atau $tar xzpvf gambas-xxx.tar.gz kemudian lakukan konfigurasi dan instalasi dengan perintah berikut: $cd gambas-xxx $./configure $make $make install tunggu beberapa saat hingga proses selesai. pastikan tidak ada kesalahan pada saat penginstalan. Menjalankan Gambas Untuk menjalankan Gambas dapat dilakukan dengan beberapa cara, bisa melalui konsol atau melalui menu start > gambas. Jika sudah terinstal maka cara berikut bisa Anda lakukan: tekan kombinasi tombol Alt+F2 > ketikan gambas lalu tekan enter, maka jendela kerja gambas akan muncul seprti pada gambar1. Komponen dalam Gambas Ketika menjalankan Gambas, yang pertama muncul adalah jendela selamat datang. pada jendela ini ada beberapa pilihan seperti New project untuk membuat projek baru, Open project untuk membuka projek yang sudah kita buat, Recent project untuk membuka projek yang terakhir kita buka, Exsample untuk melihat contoh -contoh yang telah tersedia. kalau Anda pusing atau gak semangat tinggal quit aja.
    [Show full text]