Click here to Skip to main content
14,870,768 members
Home / Discussions / C#
   

C#

 
GeneralRe: int is always 32-bit? Pin
George_George31-Jul-08 18:55
MemberGeorge_George31-Jul-08 18:55 
AnswerRe: int is always 32-bit? Pin
PIEBALDconsult31-Jul-08 11:55
professionalPIEBALDconsult31-Jul-08 11:55 
GeneralRe: int is always 32-bit? Pin
George_George31-Jul-08 18:56
MemberGeorge_George31-Jul-08 18:56 
QuestionExecute a command "netstat" remotley and pipe results back to remote machine Pin
Member 241057231-Jul-08 1:35
MemberMember 241057231-Jul-08 1:35 
AnswerRe: Execute a command "netstat" remotley and pipe results back to remote machine Pin
#realJSOP31-Jul-08 2:18
mva#realJSOP31-Jul-08 2:18 
AnswerRe: Execute a command "netstat" remotley and pipe results back to remote machine Pin
Brady Kelly31-Jul-08 2:45
MemberBrady Kelly31-Jul-08 2:45 
QuestionConverting Word Doc to PDF on runtime Pin
Zuhair Rizvi31-Jul-08 1:34
MemberZuhair Rizvi31-Jul-08 1:34 
AnswerRe: Converting Word Doc to PDF on runtime Pin
Simon P Stevens31-Jul-08 1:48
MemberSimon P Stevens31-Jul-08 1:48 
.Net doesn't have PDF support. You have several options

1) Read the PDF spec, and the Word doc spec and write your own converter.
2) Find a commercial PDF library. There are several around.
3) Use ITextSharp[^]. It's an open source PDF creator. It allows you to create PDF files on the fly from C# (Note, it is not a converter, you'll have to process the word file and manually work out what to put in the PDF)
4) Automate software that does the conversion for you. (Like openoffice) There is an article on CP about this http://www.codeproject.com/KB/files/generatepdf.aspx[^]. You would either need to ensure the user has open office installed on the system, or provide the conversion as some form of web service which you can call. (This is good if it's an internal only company app, and you can host a service on the network)

Simon

GeneralRe: Converting Word Doc to PDF on runtime Pin
Thomas Stockwell31-Jul-08 2:06
professionalThomas Stockwell31-Jul-08 2:06 
GeneralRe: Converting Word Doc to PDF on runtime Pin
Simon P Stevens31-Jul-08 2:27
MemberSimon P Stevens31-Jul-08 2:27 
AnswerRe: Converting Word Doc to PDF on runtime Pin
Thomas Stockwell31-Jul-08 2:16
professionalThomas Stockwell31-Jul-08 2:16 
QuestionProgress Bar Problem Pin
Syed Shahid Hussain31-Jul-08 1:08
MemberSyed Shahid Hussain31-Jul-08 1:08 
AnswerRe: Progress Bar Problem [modified] Pin
Simon P Stevens31-Jul-08 1:14
MemberSimon P Stevens31-Jul-08 1:14 
AnswerRe: Progress Bar Problem Pin
#realJSOP31-Jul-08 1:24
mva#realJSOP31-Jul-08 1:24 
AnswerRe: Progress Bar Problem Pin
Thomas Stockwell31-Jul-08 2:19
professionalThomas Stockwell31-Jul-08 2:19 
GeneralRe: Progress Bar Problem Pin
#realJSOP31-Jul-08 2:23
mva#realJSOP31-Jul-08 2:23 
AnswerRe: Progress Bar Problem Pin
Ravi Bhavnani31-Jul-08 2:46
professionalRavi Bhavnani31-Jul-08 2:46 
GeneralRe: Progress Bar Problem Pin
Simon P Stevens31-Jul-08 4:49
MemberSimon P Stevens31-Jul-08 4:49 
GeneralRe: Progress Bar Problem Pin
Syed Shahid Hussain31-Jul-08 17:29
MemberSyed Shahid Hussain31-Jul-08 17:29 
GeneralRe: Progress Bar Problem Pin
Ravi Bhavnani1-Aug-08 1:55
professionalRavi Bhavnani1-Aug-08 1:55 
GeneralRe: Progress Bar Problem Pin
Syed Shahid Hussain1-Aug-08 2:36
MemberSyed Shahid Hussain1-Aug-08 2:36 
QuestionRunning object table changed event Pin
Green Fuze31-Jul-08 0:57
MemberGreen Fuze31-Jul-08 0:57 
QuestionModeless Form with invisible controls [SOLVED] [modified] Pin
#realJSOP31-Jul-08 0:41
mva#realJSOP31-Jul-08 0:41 
QuestionHow to Call C#.Net dll from VB6.0 Pin
rajesh4u31-Jul-08 0:36
Memberrajesh4u31-Jul-08 0:36 
AnswerRe: How to Call C#.Net dll from VB6.0 Pin
Simon P Stevens31-Jul-08 0:45
MemberSimon P Stevens31-Jul-08 0:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.