(Programming by VisualAge for BASIC by the beginner)
It leaps to OS/2 software. It leaps to a homepage. It leaps to Vol2.
Introduction
Chapter 1 Introduction of VisualAge for Basic
Now, it is a method of comrades after this.
An extended component is installed.
Chapter 2 Basic Editing of VisualAge for Basic
Like how is application made?
The start of VisualAge for Basic
I will make an easy program.
How to use an on line help
Creation of GUI application
Lesson 1: Creation of a GUI object
Lesson 2: Customize of an object
Lesson 3: Programming of behavior
The monitor of OS/2 MAGAZIN No.16 was won and VisualAge for BASIC for OS/2 was able to be got. Thank you which only an editorial department does not make.
VisualAge for BASIC for OS/2 comes out, and I want you to also become a discount price (12,600 yen) and want a price. But since there was a memory with 26MB necessity also at the lowest when often seen, although it opted for the hard change and Hurd was upgraded, the program etc. was wavering [ whether I who know nothing use, and ] sure enough.
And there is VisualAge for BASIC for OS/2 at hand now.
I carry out so much. Why do I want VisualAge for BASIC? What is made from VisualAge for BASIC?
Shall I teach quietly? I want to make a soft OS/2 version like DDwin. DDWin The Electronic Book and EPWING agreement which are used with Electronic Book players (SONY DATA Discman etc.) It is a program for seeing CD-ROM. . With é┘é±, although he wants the translation software used by the Internet, this is not made by any means. Then, I want to make software like DDWin currently used with the Windows version. What is said is my dream. It does not understand [ whether it is also a making / software like DDWin /-from VisualAgefor BASIC corner, or ]. But let's have a dream greatly. However, probably, it will be quicker for other men to make someone previously rather than I make.
No, being [ it ]-already kana. " attached to OS/2 Warp which existed
Kana-kanji conversion (WritingHeads/IM32) CD-ROM of EPWING agreement can be searched with ".
"The account of programming hard struggle" begun by such a reason. Although the point is a steep long distance, I think that he will study little by little, enjoying programming as a hobby. It is fortunate if the direction which does not know programming gets interested. Moreover, please the good more familiar one gives me advice for programming.
It was written that the character of VisualAge Basic as an application development language in which DB/2 (relational database of IBM) were utilized is stronger than for general programmers.
Although the sample version of DB/2 was introduced before and it excelled in it, it was different and Approach etc. and a kitchen were not able to be used. Then, it thinks that it will find out what thing is made using VisualAgeBasic, and DB / the 2 sample versions are introduced again. Moreover, multimedia, ProTAKER/2, OpenDoc, etc. are installed collectively.
Here, the capacity of a hard disk becomes less insufficient and carries out recutting a partition. It is the trouble which cannot install ProTAKER/2 installation and shortly again. This problem is also solved somehow and is introduction of VisualAgeBasic still more.
Although the introduction itself was easy, one cautions [ 2 ] were required. First, if INSTALL.EXE is started, what being introduced and the screen to choose will come out.
1.VisualAge for Basic
2. VisualAge for Basic (with DB2 Support)
It seems if DB/2 are not introduced, and "VisualAge for Basic (DB / with 2 support)" which chooses "VisualAgeBasic" is chosen, "it cannot install" here in which two choices are possible.
Moreover, when installing "VisualAge for Basic (DB / with 2 support)" and they cannot install [ the following messages can appear and ] in the direction of the last of the transmission stage of a file, please start "ODBC Installer" of DB/2, and install ODBC.
ODBC driver manager
EPFIE187: While the introductory error performed 'EXEC'EXIT routine, it generated. A return code is OX120D.
Which of "VisualAge Basic" and "VisualAge for Basic (DB / with 2 support)" or the direction to introduce is double-clicked.
Or "action" => "introduction" is chosen in the window of "introduction and maintenance", and the button of "choosing all" is clicked in a selection window. Although it did not waver since it was the same as the time of installation of DB/2, VisualAgeBasic did not have explanation of what, either.
This hit is the natural thing I want you to write even to explanation and the README file of installation, although it does not understand things.
About me, the time concerning introduction was 8 minutes and 52 seconds.
Although the description "before using it" currently attached to VisualAge for Basic is looked over, it does not understand well.
Although it does, if it becomes per [ programming / of "a setup of property", and behavior of "object /" ], it does not know well that form is made. the kana which he studies [ "before using it" ] little by little -- but it is likely to be bored
that is right -- since the multimedia player was created with the report which introduced VisualAge for Basic to OS/2 MAGAZIN No.16, I will make it reference and will make However, although it could make and cook, in knowing nothing, it was impossible too.
If you do not study fundamental operation of VisualAge for Basic, is it useless? But, it got to know that "the extended component for OS/2" was attached in this report. Since there was no description in a description about this "extended component for OS/2", it was saved.
INSTALL.EXE is started from the OS2_COMP directory of CD-ROM, and all installations, VisualComponents Basic Ver1.0, and Multimedia Components Basic Ver1.0 are chosen. The rest registers the READM file of an applicable directory into reference at a tool box.
c: \vabasic\DLL\BVC3DOPT.DLL-3D option button
c: \vabasic\DLL\BVC3DGRP.DLL-3D group push button
c: \vabasic\DLL\BVC3DCMD.DLL-3D command button
c: \vabasic\DLL\BVC3DCH.DLL-3D check box
c: \vabasic\DLL\BVC3DFM.DLL-3D frame
c: \vabasic\DLL\BVC3DPN.DLL-3D panel
c: \vabasic\DLL\BVCANI.DLL-animation button
c: \vabasic\DLL\BVCCALN.DLL-calendar
c: \vabasic\DLL\BVCKEY.DLL-key status
c: \vabasic\DLL\BVCSWH.DLL-switch
c: \vabasic\DLL\BVCTICK.DLL-TIKKA
c: \vabasic\DLL\BVCPICLP.DLL-PIKUCHA clip
c: \vabasic\DLL\BVCMEMO.DLL-memorandum
c: \vabasic\DLL\BMCMMT.DLL-multimedia
Applicable .DLL is specified from "addition of a file" of the "file" menu of VisualAge Basic with é╚é╟, and it registers with a tool box.
To the beginning If VisualAge for Basic is opened, three windows will appear.
The 1st step of application creation is creation of a user interface. Two and one text box are included for the command button in form.
A start of VisualAge for Basic displays the blank form of the name of Form1 automatically. A text box and two command buttons are added to this.
Next, the property of three objects (a text box, two command buttons) is set up. Such properties are set up using a property editor.
In order to access the property editor of form, form is clicked, and a "property editor" icon is clicked, or "window" > [ =] "property editor" menu item is chosen in a project window.
A property editor is also displayed as one window. It consists of a "menu bar", a "button", an "object list region", "formula mode", "status area", a "property list", a "range", etc.
Then, customize form.
Next, a text box is clicked.
The rest is two command buttons.
é▒é╟ writes the VisualAgefor BASIC code to each made object in a "code editor", and gives behavior to an object.
The "code editor" icon of a project window is clicked, or "window" => "a code editor" is chosen, and a "code editor" is opened. A "code editor" is displayed as one window. (Since a window opens five, do I want a big monitor?)
In a window, a "menu bar", a "tool bar", a "situation display line help region", a "navigation region", and a "code region" are located.
When a user performs specific action, it defines what occurs as a VisualAge for BAISIC code. In the case of a user program "Hello" button, when a user clicks a button, it is necessary to define what occurs. Similarly the "Bye" button and a total of two event PUROSHI jars are required.
Description of event pro SHIJI
Sub Command1_Click(
End Sub
- A code region is clicked and the code of the following "Hello" buttons is typed.
Sub Command1_Click(
Text1.Text ="Hello programming"
End Sub
- Command2 of the 2nd command button is chosen from an object / "class" box.
- The inside of a text window is clicked and the code of the following "Bye" buttons is typed.
Sub Command2_Click(
Text1.Text ="Bye bye programming"
End Sub
Syntax inspection
Execution and a stop of application
Storage of work
Now, the program was completed. By the default, VisualAge for BASIC attaches the file extension of ".i", and keeps the form contained in application.
"File" => "an end" is chosen in a project window.
And such a program was made.
So far, although "REXX" - "Java" was also made, it is a PUROSHI jar, property, and nonsense, and it is é┬é▄é├éóé─éóé▄é╖. If you do not study per how to use the information on an on line help, information is insufficient only at the printed matter "before using it." Although he will want to purchase if there is a good thing of the reference book of VisualAgafor BASIC, it does not see yet. It seems that the reference book of this VB can be used very well as it is although it is in large numbers if it is the reference book of VB. But do I surely want the primer of VisualAgefor BASIC to me, a beginner?
Since "Hello programming" was made to description é╟éñéΦ, it cannot be understood at all about the contents. Then, he studies about "Hellp programming" which made the on line help to the place on an errand.
1. Form Creation (Tool Box)
In form creation, if each button of a tool box is clicked and "F1" is pushed, an on line help will be displayed.
The help of the "TextBox" component
The help of the "CommandButton" component
2. Help of Setup of Property
See about the property of form by the property editor. There is no less than 42 kinds of setup. Display a help from the first line of No. 1, respectively.
BackColor
BorderStyle
Caption
ClipControls
ControlBox
DBCSStatusBar
DrawMode
DrawStyle
Even if it sees in the condition to say, he cannot understand easily. It is still more, and since it only becomes sleepy, it solves by making it this grade. Since the definition which comes out even if it sees an on line help is not understood, even if it sees an on line help, it does not understand too. Is a terminological on line help needed?
It was easy to use the direction seen in search of the word which does not understand an on line help, either by reference.
It seems that many things are actually touched and it cannot but practice until it can do automatically too. Moreover, it advances little by little, looking at a text.
Now, interactive graphical user interface (GUI) application is created shortly. This program consists of two forms for renewal of an inventory system, and a report. Data is initialized in one form and the command button which performs informational addition, edit, deletion, and storage is made in it. New data is received in another form and data is corrected to it.
In the text of VisualAge for BASIC, each item is learned using the tutorial. With the tutorial, some modules by which coding was carried out beforehand, and designed forms are prepared so that it can use to try according to a study stage. For example, even if it does not end a lesson 1, the copy of lesson2.prj is opened and a lesson 2 can be started to learn from a lesson 2. That is, the last result of a lesson 1 is contained and lesson2.prj can start a lesson 2 using it.
Here, it is a sample file. It worked having copied the x:\VABASIC\samples\tutorial\TUTOR1 directory to another work directory x:\VABASIC\takechi.
This is another method of creating two or more same objects of type.
Is List created as component arrangement? "-- it is -- ", no [ "no" ], and "cancellation"
"No" is clicked. About component arrangement, it learns later.
Next, the method of using it is applicable to creation of each object.
The icon showing a common dialog serves as a mark on form. When performing application, the dialog which an operating system offers instead appears. In this application, in order to keep work, when the button "kept to a file" is clicked, a dialog appears, and although that is right, it does not understand well. About a common dialog component, since that learns and is right later, it progresses previously.
At the lesson 1, it learned about the technique for creating an object in form of a Ctrl+ click, a Shift+ drug, and a selection + click. At a lesson 2, the method of correcting and customizing the object of form is learned. To pleasure
Change the property of the form made from the lesson 1. Although the Japanese display should have made it strain oneself well, Japanese was also displayed by changing a font.
The button of a "property editor" is clicked and the property editor of Form1 is displayed.
The property of Form1 is listed.
It can set up and the property of two or more objects can be changed, after choosing an object as a group first. Here, carry out group selection and two objects, Label1 and Label2, are changed.
Arrange a list box and a label using the technique of two or more selections of property.
It is the beginning of programming still more. Since there is a file of the sample for lesson 3, although éα is good for the first time from a continuation of a lesson 2, and it is what may use it, it advances from a continuation of a lesson 2.
It seems that what thing and the List1_Click event PUROSHI jar which will be performed if a user clicks by the list box somehow, although it does not understand are written even if it writes.
"Execution" button is clicked by the project window or the code editor. Since the PUROSHI jar personally inputted since the sample program was used was a few, the program moved in this stage.
It learned about the event PUROSHI jar after this, and a sample program was not used after study, such as reference of a syntax error, but the old program was made from the start. This took time.
It leaps to INDEX.
It leaps to a homepage.
It leaps to > Vol2.