473,385 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

can we convert .doc and .txt files to pdf?

i just wanna know how to convert .doc(ms word 2003)/.docx(ms word 2007) and .
txt(notepad) into PDF files within vb.net. can anyone help me how to do this?

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...b-net/200712/1

Dec 28 '07 #1
5 6347
"jabslim via DotNetMonster.com" <u40064@uweschrieb
i just wanna know how to convert .doc(ms word 2003)/.docx(ms word
2007) and . txt(notepad) into PDF files within vb.net. can anyone
help me how to do this?
VB does not have a keyword for this. VB.Net offers access to managed
assemblies and native dlls (platform invoke). Look for a tool/library that
can perform the required task. You don't have a problem with the VB.Net
language.
Armin
Dec 28 '07 #2
>VB does not have a keyword for this. VB.Net offers access to managed
>assemblies and native dlls (platform invoke). Look for a tool/library that
can perform the required task. You don't have a problem with the VB.Net
language.

Armin

oh... ok!! thank you!

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...b-net/200712/1

Dec 28 '07 #3
On Dec 28, 4:06*am, "jabslim via DotNetMonster.com" <u40064@uwe>
wrote:
i just wanna know how toconvert.doc(msword 2003)/.docx(msword 2007) and .
txt(notepad) into PDF files withinvb.net. can anyone help me how to do this?

--
Message posted via DotNetMonster.comhttp://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200712/1
An alternate way of accomplishing what you want, converting Word and
Txt file into PDFs, is to get a "free" PDF converted. This converter
works as a printer driver. Therefore, you send your Word or Txt file
to the printer, select the PDF printer and you're done. It might need
user intervention, but it will work.
Get a copy of the free PDF at www.pdf995.com

Milton
Dec 30 '07 #4
hello gents,
i have a similar task to do, i am not yet into asp.net, currently working on asp website which generates doc files. I now want to convert these doc into docx files programatically. i am not sure this could be achievable in vbscript.
any help on this is much appreciable.
regards
ibrahim
Dec 31 '07 #5
hello gents,
i have a similar thing to do. i am not much into .net yet. i am currently working on asp website which generates doc file on a fly. i now want to convert these doc to docx files. i am not sure this can be doable in asp vbscript. any help or advice on this is much appreciable.
thanks
ibrahim
Dec 31 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Swarup | last post by:
I am reading a file (txt, xml, gif, ico, bmp etc) byte by byte and filling it into a byte arry. Now i have to convert it into a string to store it in the database. I use...
5
by: bbb | last post by:
Hi, I need to convert XML files from Japanese encoding to UTF-8. I was using the following code: using ( FileStream fs = File.OpenRead(fromFile) ) { int fileSize = (int)fs.Length; int buffer...
3
by: GM | last post by:
Dear all, Could you all give me some guide on how to convert my big5 string to unicode using python? I already knew that I might use cjkcodecs or python 2.4 but I still don't have idea on what...
2
by: Craig | last post by:
Hi there, I'm trying to convert some PNG files to bitmap files which can then be converted to X11 bitmaps using the im.tobitmap() function. But the error I get when using the im.tobitmap()...
10
by: gokul | last post by:
Hi, Before i convert .doc binary format files to .txt files and i added some content to .txt files. Now i again convert back to .doc binary format. Pls Help Me How to Convert .txt files to...
6
by: leonel.gayard | last post by:
Hi, Does anyone know a good python library to convert a RTF file into PDF ? This should be done automaticaly: I have a web page that takes some values and inserts them into a RTF template,...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
2
by: edw | last post by:
I want to convert rfc822 (.eml) files to MAPI (.msg) files. I do not need to log in to Outlook to retrieve the messages, since the messages have all been downloaded from the exchange server and...
3
by: Sun | last post by:
Hi everyone . I have two files named a.txt and b.txt. I open a.txt with ultraeditor.exe. here is the first row of the file: neu für then I switch to the HEX mode: 00000000h: FF FE 6E 00 65...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.