Solved

Page Breaks and Formatting with FSO

Posted on 2015-01-23
2
87 Views
Last Modified: 2015-01-24
I can create text files in fso with vb6 but is there anyway to control font size and insert page breaks when creating the file?
0
Comment
Question by:Bob Schneider
2 Comments
 
LVL 11

Accepted Solution

by:
Dany Balian earned 500 total points
ID: 40567561
\page inserts page breaks
just write fso.writeline ("\Page")

for other tags: check the following article:
Microsoft: Rich Text Format (RTF) Specification 1.6

so, for font u can use something like: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}}
0
 

Author Closing Comment

by:Bob Schneider
ID: 40568491
Awesome.  Thanks!!
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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 …
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…

823 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