Solved

Sending "special characters" to text files in VB

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using "ScreenUpdating" 6 65
How to incorporate an error traping routing to existing code in VB6 11 40
fso.FolderExists("\\server\HiddenFolder$") 4 68
Excel Automation VBA 19 74
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 …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

821 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