Solved

Sending "special characters" to text files in VB

Posted on 1998-08-23
1
120 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 50 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now