home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / ARQS_ZIP / BV0701.ZIP / BV0701.TXT
Encoding:
Text File  |  1992-11-12  |  6.2 KB  |  118 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.                  BV0701: FEATURES QUESTIONS & ANSWERS
  4. ======================================================================
  5.                                                   Revision Date: 11/92
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft Visual Basic(TM) for
  9. Windows(TM) versions 1.0 and 2.0.
  10.  
  11.  --------------------------------------------------------------------
  12. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  13. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  14. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  15. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  16. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  17. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  18. | accuracy and the use of this Application Note. This Application    |
  19. | Note may be copied and distributed subject to the following        |
  20. | conditions: 1) All text must be copied without modification and    |
  21. | all pages must be included; 2) If software is included, all files  |
  22. | on the disk(s) must be copied without modification [the MS-DOS(R)  |
  23. | utility DISKCOPY is appropriate for this purpose]; 3) All          |
  24. | components of this Application Note must be distributed together;  |
  25. | and 4) This Application Note may not be distributed for profit.    |
  26. |                                                                    |
  27. | Copyright 1992 Microsoft Corporation. All Rights Reserved.         |
  28. | Microsoft and MS-DOS are registered trademarks and Visual Basic    |
  29. | and Windows are trademarks of Microsoft Corporation. OS/2 and      |
  30. | Presentation Manager are registered trademarks licensed to         |
  31. | Microsoft Corporation.                                             |
  32. | dBASE is a registered trademark of Ashton-Tate Corporation.        |
  33. | Paradox is a registered trademark of Ansa Software, a Borland      |
  34. | company.                                                           |
  35. | SYBASE is a registered trademark of Sybase, Inc.                   |
  36.  --------------------------------------------------------------------
  37.  
  38. 1. Q. Does Microsoft Visual Basic for Windows support a line-
  39.       continuation character?
  40.  
  41.    A. Neither version 2.0 nor version 1.0 of Visual Basic offers a line-
  42.       continuation character. However, the maximum line length in
  43.       version 2.0 has been increased to 1,024 characters from 255
  44.       characters in version 1.0.
  45.  
  46. 2. Q. Can I create database applications using Microsoft Visual
  47.       Basic for Windows?
  48.  
  49.    A. The Visual Basic Professional Edition version 2.0 provides an
  50.       Open Database Connectivity (ODBC) dynamic-link library (DLL) and
  51.       an SQL driver so that you can access data on a Microsoft or
  52.       SYBASE(R) SQL Server. The ODBC DLL was designed to offer a
  53.       generic interface to any database system. Currently, the ODBC DLL
  54.       only supports Microsoft SQL Server databases; you cannot use the
  55.       ODBC DLL to access local database files, such as those created by
  56.       dBASE(R) and Paradox(R). As drivers become available for these
  57.       database systems, you will be able to access the data for these
  58.       systems. The next question and answer set provides more
  59.       information about Microsoft SQL Server.
  60.  
  61.       If you are not using the ODBC interface to write database
  62.       applications, you can devise your own data storage and access
  63.       scheme by using the file-related statements provided with Visual
  64.       Basic or by acquiring a database add-on library or custom control
  65.       from a third-party software vendor.
  66.  
  67. 3. Q. I am familiar with Microsoft SQL Server and am interested in
  68.       using SQL Server with Visual Basic. Where can I get more
  69.       information on this?
  70.  
  71.    A. Call Microsoft OnLine Sales at (800) 443-4672 for information on
  72.       using Visual Basic with Microsoft SQL Server.
  73.  
  74. 4. Q. OS/2(R) Presentation Manager(R) is mentioned throughout the
  75.       version 1.0 "Programmer's Guide." Is there an OS/2 Presentation
  76.       Manager version of Microsoft Visual Basic?
  77.  
  78.    A. No, there is currently no version of Visual Basic that supports
  79.       OS/2. The version 2.0 Visual Basic for Windows documentation does
  80.       not mention support for OS/2 Presentation Manager. We may choose
  81.       to develop a similar product for OS/2 Presentation Manager in the
  82.       future.
  83.  
  84. 5. Q. Does Microsoft Visual Basic for Windows support serial
  85.       communications?
  86.  
  87.    A. The MS COM control provided with Visual Basic Professional
  88.       Edition version 2.0 supports serial communications.
  89.  
  90.       Visual Basic version 1.0 essentially has no built-in
  91.       communications support. You can use the Open statement to open a
  92.       COM port, but you cannot specify parameters and there is no "On
  93.       Com" statement. All communications can be performed using the
  94.       Windows application programming interface (API).
  95.  
  96. 6. Q. Can I create an multiple-document interface (MDI)
  97.       application using Microsoft Visual Basic for Windows?
  98.  
  99.    A. Version 2.0 of Visual Basic supports the creation of MDI
  100.       applications by supporting MDI containers and MDI child forms.
  101.       Version 1.0 does not support these features. The Visual Basic
  102.       Professional Toolkit for version 1.0 provides an MDI child
  103.       control that is also compatible with Visual Basic version 2.0;
  104.       however, it is recommended that you use the MDI features provided
  105.       with Visual Basic version 2.0 instead of the MDI child control.
  106.  
  107.       Because version 2.0 supports MDI, no updated MDI child control is
  108.       available with Visual Basic Professional Edition version 2.0.
  109.  
  110. 7. Q. Can I call Windows API routines and third-party DLL routines
  111.       from my Microsoft Visual Basic for Windows application?
  112.  
  113.    A. Yes. Visual Basic can call any routine in any dynamic-link
  114.       library as long as the DLL uses the Pascal calling convention and
  115.       does not accept any function pointers as parameters.
  116.  
  117.  
  118.