Click here to Skip to main content
15,912,207 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How to stop updating a PictureBox? Pin
MichaelCoder21-Jun-08 5:28
MichaelCoder21-Jun-08 5:28 
AnswerRe: How to stop updating a PictureBox? Pin
Christian Graus21-Jun-08 12:39
protectorChristian Graus21-Jun-08 12:39 
GeneralCustom Combobox Pin
Brady Kelly20-Jun-08 5:30
Brady Kelly20-Jun-08 5:30 
GeneralRe: Custom Combobox Pin
Jaime Olivares20-Jun-08 12:17
Jaime Olivares20-Jun-08 12:17 
GeneralRe: Custom Combobox Pin
Thomas Stockwell23-Jun-08 15:28
professionalThomas Stockwell23-Jun-08 15:28 
QuestionConvert docx to PDF Pin
dhananjayamurthy20-Jun-08 0:30
dhananjayamurthy20-Jun-08 0:30 
AnswerRe: Convert docx to PDF Pin
Ashfield20-Jun-08 1:18
Ashfield20-Jun-08 1:18 
GeneralRe: Convert docx to PDF Pin
dhananjayamurthy20-Jun-08 3:34
dhananjayamurthy20-Jun-08 3:34 
.net windows application under .net framework 3.0 or 3.5. Input is .docx file and should convert to .pdf file.

Microsoft has given SaveAsPDFandXPS.exe' word addin, this is giving SaveAs option as .pdf file.
By making use of this exe the below code is converting to PDF,
// Specifying the format in which you want the output file
object format = Word.WdSaveFormat.wdFormatPDF;


//Changing the format of the document and save them into Destination Directory
newApp.ActiveDocument.SaveAs2000(ref Target, ref format,
ref Unknown, ref Unknown, ref Unknown,
ref Unknown, ref Unknown, ref Unknown,
ref Unknown, ref Unknown, ref Unknown);

// for closing the application
newApp.Quit(ref Unknown, ref Unknown, ref Unknown);

This is done by referenceing the Microsoft.Office.Interop.Word.dll. Without any reference of office dll's, is it possible to convert to PDF?

Thanks and Regards,
GeneralRe: Convert docx to PDF Pin
Ashfield20-Jun-08 8:40
Ashfield20-Jun-08 8:40 
GeneralEditable Combobox Pin
Brady Kelly19-Jun-08 23:25
Brady Kelly19-Jun-08 23:25 
GeneralRe: Editable Combobox Pin
led mike20-Jun-08 7:03
led mike20-Jun-08 7:03 
GeneralRe: Editable Combobox Pin
Brady Kelly20-Jun-08 7:23
Brady Kelly20-Jun-08 7:23 
GeneralRe: Editable Combobox Pin
led mike20-Jun-08 8:31
led mike20-Jun-08 8:31 
QuestionProgressBar does show value Vista but not under XP Pin
J. Holzer19-Jun-08 21:39
J. Holzer19-Jun-08 21:39 
QuestionHow to override the Save button in Office Word 2007? Pin
csharpguy7619-Jun-08 16:18
csharpguy7619-Jun-08 16:18 
Questionaccessing database from winservice Pin
Ebube19-Jun-08 5:56
Ebube19-Jun-08 5:56 
AnswerRe: accessing database from winservice Pin
Ashfield19-Jun-08 6:11
Ashfield19-Jun-08 6:11 
QuestionResize the Column Header in ListView Pin
Revathij18-Jun-08 21:37
Revathij18-Jun-08 21:37 
AnswerRe: Resize the Column Header in ListView Pin
L.Botello8-Jun-14 3:06
L.Botello8-Jun-14 3:06 
QuestionSystem.Runtime.InteropServices.COMException Pin
Tejal Bhavsar18-Jun-08 3:13
Tejal Bhavsar18-Jun-08 3:13 
GeneralOREDR THE DATAGRID COLUMN AFTER UPDATE IN DATASET Pin
pg_kg18-Jun-08 1:35
pg_kg18-Jun-08 1:35 
GeneralRe: OREDR THE DATAGRID COLUMN AFTER UPDATE IN DATASET Pin
John_Adams18-Jun-08 22:38
John_Adams18-Jun-08 22:38 
QuestionCan you make a tabPage fully transparent? [modified] Pin
Benzino17-Jun-08 23:57
Benzino17-Jun-08 23:57 
AnswerRe: Can you make a tabPage fully transparent? Pin
Thomas Stockwell18-Jun-08 16:16
professionalThomas Stockwell18-Jun-08 16:16 
GeneralRe: Can you make a tabPage fully transparent? Pin
Benzino19-Jun-08 1:07
Benzino19-Jun-08 1:07 

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.