home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / ARQS_ZIP / VBFACTS.ZIP / VBFACTS.TXT
Encoding:
Text File  |  1991-06-25  |  12.4 KB  |  249 lines

  1. Q72316 PR Microsoft Visual Basic
  2. Microsoft News Releases (NEWS)
  3.  
  4.  
  5.  
  6. Microsoft Visual Basic
  7. May 1991
  8.  
  9. Introduction
  10. ------------
  11.  
  12. The Microsoft(R) Windows(TM) graphical environment offers many
  13. benefits to end users -- ease of use, user interface consistency,
  14. interapplication integration -- but poses new challenges for
  15. programmers. Writing Windows applications poses a challenge to
  16. programmers because the available development tools lack the very
  17. combination of functionality and ease of use that the applications
  18. themselves feature.
  19.  
  20. Tools for Developing Graphical Applications
  21. -------------------------------------------
  22.  
  23. Microsoft Windows applications make doing powerful things easy. The
  24. Microsoft Visual Basic(TM) programming system creates applications
  25. that tap into such Windows functionality as rich forms and controls,
  26. pull-down menus, graphics and animation, dynamic data exchange (DDE)
  27. and multi-tasking. These are difficult for Windows programmers using
  28. traditional tools to develop, but very easy to achieve in the
  29. Microsoft Visual Basic programming system. In general, software
  30. development tools have resided at either end of a spectrum, and each
  31. extreme forced developers to make tradeoffs. High-level tools allow
  32. faster development, which is paid for in reduced flexibility and
  33. control and greater runtime overhead. Low-level tools provide better
  34. control and less overhead, but require more programming skill. Thus,
  35. choosing a tool often involves making an undesirable compromise.
  36.  
  37. Microsoft Visual Basic: Real Windows Applications Really Fast
  38. -------------------------------------------------------------
  39.  
  40. Microsoft Visual Basic programming system is a general-purpose
  41. graphical application development system for the Microsoft Windows
  42. environment that bridges the extremes of the tool spectrum described
  43. above. The Visual Basic system addresses the need for a Windows
  44. programming solution that is both serious and easy to use. It is
  45. specifically designed to accelerate Windows version 3.0 development by
  46. harnessing the power of the graphical environment to make mainstream
  47. programmers more productive. Visual Basic helps programmers create
  48. real Windows applications real fast. Extremely easy to use, it is the
  49. ultimate productivity tool.
  50.  
  51. Visual Basic Key Features
  52. -------------------------
  53.  
  54. The following is a description of the key features of the Microsoft
  55. Visual Basic programming system.
  56.  
  57. Visual Design Tools for the User Interface
  58. ------------------------------------------
  59.  
  60. The Visual Basic system offers rich design tools that enable the
  61. visual components of an application to be designed with drawing tools.
  62. No code is required to create graphical user interfaces. Programs are
  63. designed, created and run within the target Windows environment.
  64.  
  65. With Visual Basic programming system, windows and dialog boxes are
  66. designed visually by selecting a tool from the Toolbox of controls and
  67. then placing and sizing them on a form. All the Windows controls are
  68. included in the Toolbox: command buttons, option buttons, check boxes,
  69. simple and drop-down list boxes and combo boxes, text fields, labels
  70. (static text), pictures (that can display icons, bitmaps, Windows
  71. metafiles and programmatic graphics), Frame (to visually and
  72. functionally group controls), Timer (that responds to the system
  73. clock), scroll bars, and file system controls (drives, directory and
  74. file list boxes). These controls have the appearance and behavior of
  75. Windows controls such as three-dimensional command buttons that push
  76. in and out, scroll bars that scroll, and edit fields that accept text
  77. input and support cutting and pasting without writing any code.
  78.  
  79. Visual design tools are also used to set the attributes of a form's
  80. appearance and behavior, from within the Visual Basic environment. The
  81. Property Bar provides a list of available properties for each type of
  82. control. A color palette offers a visual way to assign color
  83. properties. Menus, complete with access keys and accelerators, are
  84. created in outlining fashion in a menu design window. A project or
  85. application can include many forms.
  86.  
  87. A Structured, Powerful Programming Language
  88. -------------------------------------------
  89.  
  90. The Visual Basic language is a powerful, structured, general-purpose
  91. programming language. It is a derivative of the Microsoft
  92. QuickBasic(TM) modern programming system. Visual Basic language offers
  93. all the modern programming structures such as Subs and Functions,
  94. Block If...Then...Else..., Select Case, Do While/Until, For/Next and
  95. error trapping with an easy-to-learn syntax.
  96.  
  97. An Event-Driven Programming Model
  98. ---------------------------------
  99.  
  100. The Visual Basic system introduces a high-level, event-driven
  101. programming model that is especially suited for programming in a
  102. graphical environment. Events such as mouse clicks and key presses are
  103. automatically detected and processed by the system. The Visual Basic
  104. programmer doesn't need to deal with event trapping or Windows message
  105. dispatching and can simply tell the Visual Basic application how to
  106. respond to a specific recognized event on a particular form or
  107. control. The Visual Basic system's visual design tools, combined with
  108. its event-driven nature, free the programmer to think of how the
  109. application should look and behave, instead of having to concentrate
  110. on lower-level system events or coding the user interface.
  111.  
  112. A Fast, Responsive Coding and Debugging Environment
  113. ---------------------------------------------------
  114.  
  115. The Microsoft Visual Basic programming system's combination of an
  116. intuitive front-end building tool with an easy-to-learn programming
  117. language creates a highly productive development environment.
  118.  
  119. Further productivity is realized by the system's threaded p-code
  120. incremental compiler, a technology first introduced in Microsoft
  121. QuickBasic programming system version 4.0 in 1987. Each line of code
  122. is automatically parsed and incrementally compiled as soon as it is
  123. typed in. Syntax errors are trapped immediately, alerting the
  124. programmer to any syntax problem. The incremental compilation allows a
  125. very fast transition from Design mode to Run mode. Break mode is also
  126. available when the program encounters a runtime error or a breakpoint
  127. in the code. The programmer can then single-step or procedure-step
  128. through the application. The programmer also can set the next
  129. statement to be executed anywhere within a procedure. An Immediate
  130. window lets the programmer interact with the application while it is
  131. temporarily suspended in the running state. The programmer can check
  132. or even change the value of a variable, or enter any valid line of
  133. code, which is directly executed without affecting the source code.
  134. The programmer can then copy code entered in the Immediate window to
  135. the Code window, to be included in the program's source code. This
  136. revolutionary technology, first introduced in Microsoft QuickBasic
  137. system version 4.0, is the threaded p-code incremental compiler.
  138.  
  139. For additional productivity, help is readily available in both online
  140. and printed form. A detailed computer-based tutorial gets the user up
  141. and running fast, and manuals (Programmer's Guide and Language
  142. Reference) provide further training and reference materials. Context-
  143. sensitive online Help provides readily available reference information
  144. on the programming language and environment. Code examples from Help
  145. can be copied and pasted to an application's source listing.
  146. The Ability to Create Real Windows .EXE Files
  147.  
  148. When a program is designed, coded, debugged and fully functional, the
  149. programmer simply chooses Make EXE File from the File menu to create
  150. an .EXE file that can be freely distributed, without any royalties or
  151. runtime fees. .EXE files can have all the features generally
  152. associated with Microsoft Windows programs, such as multiple windows,
  153. pull-down menus, standard controls (command buttons, text fields,
  154. option buttons), graphics and icons, drag-and-drop and DDE.
  155.  
  156. Interoperability and Extensibility
  157. ----------------------------------
  158.  
  159. Microsoft Visual Basic programming system gives programmers access to
  160. DDE and dynamic link libraries (DLLs) for interoperability and
  161. extensibility with other applications. Interapplication communication
  162. and integration is available via DDE. Visual Basic applications can be
  163. DDE clients, servers or both. The environment offers high-level DDE
  164. (paste-link) as well as programmable DDE in the language. Visual Basic
  165. environment includes a rich set of DDE events (LinkOpen, LinkClose,
  166. LinkExecute, LinkError), properties (LinkMode, LinkTopic, LinkItem,
  167. LinkTimeout), and methods (LinkExecute, LinkPoke, LinkRequest,
  168. LinkSend).
  169.  
  170. Visual Basic programmers can access external routines in DLLs,
  171. including directly calling the Windows API (applications programming
  172. interface). This is accomplished with a very straightforward syntax. A
  173. one-line Function or Sub Declaration is all that is required to use an
  174. external DLL routine as though it were built into the Visual Basic
  175. system's language.
  176.  
  177. Users can gain powerful additional functionality by extending the
  178. Microsoft Visual Basic development environment with custom controls.
  179. Microsoft has separately announced the Visual Basic Control
  180. Development Kit, which allows Windows developers to create extensions
  181. to the Visual Basic system. Custom controls can have predefined
  182. properties and events and some built-in functionality, just like the
  183. standard controls in the Visual Basic Toolbox. A Visual Basic
  184. programmer can load a custom control into a project, then assign
  185. properties and write code for it just as though it were a built-in
  186. control. Custom controls, like the standard ones, can trap events and
  187. call the appropriate event procedures written in Visual Basic
  188. language. This mechanism allows the Visual Basic environment to be
  189. extended in many different ways, providing custom user-interface
  190. components and specialized functionality such as multimedia, data
  191. access or communications capabilities.
  192.  
  193. Visual Basic For High Productivity
  194. ----------------------------------
  195.  
  196. Visual Basic programming system is designed to make Windows
  197. application developers more productive regardless of skill level or
  198. application complexity. Its tightly integrated graphical development
  199. environment helps move applications from concept to executable code in
  200. the shortest possible time.
  201.  
  202. The Visual Basic User
  203. ---------------------
  204.  
  205. Users of the Microsoft Visual Basic system have the common task of
  206. creating Windows applications, although they come to it with different
  207. backgrounds and skills. They are professional programmers working with
  208. small ISVs, VARs and system integrators; part-time programmers,
  209. including engineers, scientists, analysts and educators; corporate
  210. development staff and MIS professionals; and general PC "power users"
  211. who want to create their own Windows applications. Visual Basic system
  212. doesn't require programming experience, but it is helpful if the user
  213. is familiar with general programming concepts. Anyone who has written
  214. a macro or batch file, or has programmed in any high-level language,
  215. can be productive very quickly with Microsoft Visual Basic. Using the
  216. Visual Basic system, programmers can carry out a variety of tasks,
  217. including writing standalone GUI applications; integrating
  218. applications; developing application front ends, utilities or tools,
  219. and graphical display-oriented programs; and prototyping.
  220.  
  221. Summary
  222. -------
  223.  
  224. As Microsoft Windows grows in popularity, development environments are
  225. naturally evolving toward graphical hosts, allowing programmers to
  226. realize the productivity benefits of the graphical user interface.
  227. Microsoft Visual Basic programming system is a low-cost (under $200
  228. U.S. suggested retail price) Microsoft Windows-hosted and targeted
  229. development tool that uses an event-driven programming model. It
  230. offers high-level visual design tools to help programmers develop
  231. interfaces. A graphical tool for graphical systems, the Visual Basic
  232. programming system provides a simple solution to the otherwise complex
  233. task of creating and integrating real Windows applications. It is the
  234. only general-purpose, high-productivity programming system for the
  235. Microsoft Windows environment.
  236.  
  237. ###
  238.  
  239. Microsoft and the Microsoft logo are registered trademarks and Visual
  240. Basic, Windows and Microsoft QuickBasic are trademarks of Microsoft
  241. Corporation.
  242.  
  243. For pricing and availability outside the U.S., please contact your
  244. local subsidiary.
  245.  
  246. COPYRIGHT Microsoft Corporation, 1991.
  247. Updated  91/05/23 03:53
  248.  
  249.