|
-
Aug 26th, 2004, 07:37 AM
#1
Thread Starter
Junior Member
Convert RTF Files to PDF
I have code that creates a set of rtf files. I would like to write something to automatically convert these files to pdf.
I am using VB to generate the rtf files, is there vb code to generate the PDF files?
-
Aug 26th, 2004, 08:12 AM
#2
Here's some code that creates PDF's at runtime.
The code is a little unstructured, but I haven't had time to run through and neaten it up 
Can't even remember where I got it from. I suck.
Anyways, it seems to do the trick.
U will have to look at the RTF file and set the colors and fonts in the PDF thing accordingly.
Woof
-
Aug 26th, 2004, 08:12 AM
#3
It's just one of those days.
Here's the ZIP 
Fish
-
Aug 26th, 2004, 08:30 AM
#4
Thread Starter
Junior Member
Thanks Woka, working with the code now.
I notice you're in Basra. I just met this Iraqi girl - do you know any funny things to say to her? (maybe not too crude)
It couldnt find revisione.txt --- I assume this was your revision file and not important for the project?
-
Aug 26th, 2004, 08:45 AM
#5
Funny things to say to her...Hmmmmm...
Q. What's got 2 legs and bleeds in the middle?
A. 1/2 a dog.
Q. What's better than winning gold at the paralympics?
A. Having arms and legs.
Boom boom.
No, don't say those to her 
I have no idea what you can say to her 
www.iraqjokes.com maybe? (I made that site up, dunno if it exists or not)
Anyways, back to the problem.
Just checked my project and it whinges at me too.
It was just a silly ref txt file that the author had in there, I deleted it as it was all in spanish and made no sense.
It's not needed anyways. Just resave the project after you load it.
Both those buttons on the form create 2 PDFs in the apps folder.
Woooof
-
Aug 26th, 2004, 09:21 AM
#6
Thread Starter
Junior Member
Haha it was supposed to be in Iraqi language since it's her native tongue - thought you may have picked up the language?
Im looking to read files and convert them to pdf, it seems like this creates new pdf files with designs pictures in them. Not sure if I know how to make it read my file?
-
Aug 26th, 2004, 09:48 AM
#7
Hahahah. You wanted code that u just passed a filename to, and it did all the converting for you? Hahahaha
Think you have to pay for stuff like that.
But what you can do, is write the code yourself 
All you need to do is load the RTF file, go through it adding text, color and formatting to the NEW PDF doc as you go.
So, you're going to have to write the conversion code. The code to create the PDF is there...
No, don't know arabic 
Woka
-
Aug 26th, 2004, 09:52 AM
#8
Frenzied Member
Originally posted by Wokawidget
Hahahah. You wanted code that u just passed a filename to, and it did all the converting for you? Hahahaha
Think you have to pay for stuff like that.
But what you can do, is write the code yourself 
All you need to do is load the RTF file, go through it adding text, color and formatting to the NEW PDF doc as you go.
So, you're going to have to write the conversion code. The code to create the PDF is there...
No, don't know arabic 
Woka
Ishat!
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
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
|