Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Printing Code
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Printing Code
■ You can print from the current module, selected code, the active window,
or all all modules in the current project. In each case, Visual Basic
prints code as ASCII files.
■ To print code:
1. Open the form module or code module containing the code you want to
print.
2. From the File menu, choose Print
3. Select Active Window, Current Module, All Modules, or Selected text
4. Choose OK
■ To send an ASCII dump of the specified or current form to the printer,
choose Print Form from the File menu in the Form Designer or use
the PRINTFORM method in code. See: ◄PRINTFORM Method►
■ To send output directly to the default system printer from code, use the
PRINTER object. See: ◄PRINTER Object►