Solved

Printing

Posted on 1998-06-30
1
142 Views
Last Modified: 2010-05-03
I have to write a program that generates a list of Long integers (6 digits) and prints out in a grid style format.
-----------------------------------------------------
| 130016  |                                 |       |
-----------------------------------------------------
| 130017  |                                 |       |
-----------------------------------------------------

etc. (this may not look right on here).

I have got the code to pick up the number using a text file or an Access database (I've tried both).  The user then inputs the amount of numbers to generate.

Is there a "easy" way to to draw boxes around printed output?  The line statement lost me a little!

Thanks

0
Comment
Question by:nu2vb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 50 total points
ID: 1464590
Are you using the B at the end of the line statement.  This draws boxes instead of lines.  One word of caution draw the boxes before you print the text of the boxes are filled white and overwrite your text.
ex.
line (0, 0)-(100,100),,B
Check the syntax at the end of this line.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 65
How to compare ms sql hashbytes results within vb6 5 106
Create Files based on Cell Values in a Range in Excel 12 44
backup program with robocopy 6 91
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question