Need help from word to pdf!!

ptwong

New member
Joined
Jul 8, 2005
Messages
2
Programming Experience
Beginner
Hi guys, I got a problem about doing things in vb.net.
I had a sample letter in word format and i wants to read it from vb.net, change the username and convert it to pdf format.
is it any way i can do it in vb?
How can i edit a word file from vb.net and convert it into pdf format?
any idea?

thx
 
The standard way to convert any format to PDF is to first print to a PostScript file. First you would automate Word by using the published Word API in your own program to write out the PostScript file, and then you would use the published Distiller API in your own program to convert the PostScript file to PDF. You do this by setting the "Print to file" flag. Maybe there is another way but however i think it's paying off spending a time for hardcoding as there are many third part products about Word2Pdf (some of them are free)


Cheers ;)
 
thx for your reply kulrom, can u tell me more about Word API?
is it i can edit word file by using word api in vb.net?(for example if i wnat to change a name in word file)
Do you know where i can find more information about word api? any example?

thx for your help
^..^``
 
Back
Top