Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Printing

Posted on 1998-06-30
1
Medium Priority
?
148 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
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 100 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

782 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