|
-
Nov 13th, 2002, 08:12 AM
#1
Thread Starter
Frenzied Member
Font size to output file
Hi , is it possible to set the font size for a file you open for output.
When i am creating files they are opend with wordpad and the font is set to 10.
I would like the fontsize be set to 8 for the lines i insert into the file, can this be done from code ??
Advanced thanks
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Nov 13th, 2002, 08:56 AM
#2
PowerPoster
use "Rich Text" format, then you can set things such as font
-
Nov 13th, 2002, 09:02 AM
#3
Thread Starter
Frenzied Member
How can i use this , when i fill a file with strings ??
I have to create files through code and these are sent to a client, this client can work wiht these files except for one file this ones font is to big to have the lines in one line.
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Nov 19th, 2002, 09:38 AM
#4
Thread Starter
Frenzied Member
These files are made with the open for output statement.
When i open them in wordpad or notepad the fontsize is 10
Can these files be created with a fontsize of 8 ??
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Nov 20th, 2002, 03:47 AM
#5
Thread Starter
Frenzied Member
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Nov 20th, 2002, 05:13 AM
#6
Text files (.txt) have NO formatting, and there is nothing you can do about it. As phinds said, use Richtext (RTF).
It's a simple file format, to find out what you need to put into the file just create a document in Word that has the formatting you need, save it as Rich-text (.rtf), then open the file in notepad to see what you need to add to get the formating you want.
-
Nov 20th, 2002, 05:36 AM
#7
Thread Starter
Frenzied Member
I don't give the txt extension to the file it is made with the .dat extension can this be a problem ??
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Nov 20th, 2002, 05:39 AM
#8
yes, ".dat" is used for lots of different things.. go for rtf, using the method i said before to find the file format.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|