Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Sending "special characters" to text files in VB

Posted on 1998-08-23
1
Medium Priority
?
135 Views
Last Modified: 2010-04-30
I have a VB program that creates text files for use on other programs. Is there any way that I can insert "page breaks" so that when I open the file in MS Word it recognizes these breaks (not all pages have the same length or format so I need to specify the breaks). Thanks
Bryan Benoit
0
Comment
Question by:bjbenoit
1 Comment
 
LVL 3

Accepted Solution

by:
kfrick earned 100 total points
ID: 1430494
Are you using "PRINT #" statements to create your text file? Try sending :
   PRINT #1, CHR$(12);

CHR$(12) is the standard FF.

-kf
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…
Suggested Courses
Course of the Month20 days, 22 hours left to enroll

810 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