Click here to Skip to main content
15,904,652 members
Home / Discussions / C#
   

C#

 
QuestionSerialize and deserialize with extra types Pin
Eric Burns6-Jun-08 3:46
Eric Burns6-Jun-08 3:46 
AnswerRe: Serialize and deserialize with extra types Pin
leppie6-Jun-08 4:42
leppie6-Jun-08 4:42 
QuestionHow to create notification icon (icon neer the windows clock ) in C# ? Pin
Yanshof6-Jun-08 3:21
Yanshof6-Jun-08 3:21 
AnswerRe: How to create notification icon (icon neer the windows clock ) in C# ? Pin
Gareth H6-Jun-08 3:28
Gareth H6-Jun-08 3:28 
GeneralRe: How to create notification icon (icon neer the windows clock ) in C# ? Pin
leppie6-Jun-08 4:43
leppie6-Jun-08 4:43 
GeneralRe: How to create notification icon (icon near the windows clock ) in C# ? Pin
Yanshof6-Jun-08 4:57
Yanshof6-Jun-08 4:57 
GeneralRe: How to create notification icon (icon near the windows clock ) in C# ? Pin
eggsovereasy6-Jun-08 7:14
eggsovereasy6-Jun-08 7:14 
Questionhow to convert this into c# Pin
prasadbuddhika6-Jun-08 2:50
prasadbuddhika6-Jun-08 2:50 
AnswerRe: how to convert this into c# Pin
Guffa6-Jun-08 2:54
Guffa6-Jun-08 2:54 
GeneralRe: how to convert this into c# Pin
Vasudevan Deepak Kumar6-Jun-08 3:36
Vasudevan Deepak Kumar6-Jun-08 3:36 
GeneralRe: how to convert this into c# Pin
Gareth H6-Jun-08 3:41
Gareth H6-Jun-08 3:41 
GeneralRe: how to convert this into c# Pin
Brady Kelly6-Jun-08 4:12
Brady Kelly6-Jun-08 4:12 
GeneralRe: how to convert this into c# Pin
CPallini6-Jun-08 3:49
mveCPallini6-Jun-08 3:49 
AnswerRe: how to convert this into c# Pin
Pete O'Hanlon6-Jun-08 3:49
mvePete O'Hanlon6-Jun-08 3:49 
Questionsending remainder mail at regular intervals Pin
fakeer4uever6-Jun-08 2:02
fakeer4uever6-Jun-08 2:02 
AnswerRe: sending remainder mail at regular intervals Pin
Ashfield6-Jun-08 2:27
Ashfield6-Jun-08 2:27 
AnswerRe: sending remainder mail at regular intervals Pin
Russell Jones6-Jun-08 2:52
Russell Jones6-Jun-08 2:52 
AnswerRe: sending remainder mail at regular intervals Pin
Gareth H6-Jun-08 3:20
Gareth H6-Jun-08 3:20 
AnswerRe: sending remainder mail at regular intervals Pin
Vasudevan Deepak Kumar6-Jun-08 3:40
Vasudevan Deepak Kumar6-Jun-08 3:40 
AnswerRe: sending remainder mail at regular intervals Pin
#realJSOP6-Jun-08 3:44
professional#realJSOP6-Jun-08 3:44 
QuestionTransmission of Video File Pin
DeepOceans6-Jun-08 1:24
DeepOceans6-Jun-08 1:24 
AnswerRe: Transmission of Video File Pin
#realJSOP6-Jun-08 1:41
professional#realJSOP6-Jun-08 1:41 
Questionusing Microsoft.Office.Interop.Word.Document Pin
ShimnaMukundan6-Jun-08 1:24
ShimnaMukundan6-Jun-08 1:24 
Hi All,

According to my requirement i need to get the webpagepreview of the active word document in a new window. Can anyone help with this...

This is my code

protected Microsoft.Office.Interop.Word.ApplicationClass objWord = new ApplicationClass();
object fltDocFormat = 10;
protected object missing = System.Reflection.Missing.Value;
protected object readOnly = false;
protected object isVisible = false;
object FileName //The path where i stored the file
objWord.Documents.Open(ref FileName, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing, ref missing);
Microsoft.Office.Interop.Word.Document oDoc = objWord.ActiveDocument;
oDoc.WebPagePreview();
objWord.Quit(ref missing, ref missing, ref missing);



The preview is coming in the same window i need it in a new browser window


Plz help
QuestionStart Window Services Pin
Tejal Bhavsar6-Jun-08 1:08
Tejal Bhavsar6-Jun-08 1:08 
AnswerRe: Start Window Services Pin
Programm3r6-Jun-08 1:32
Programm3r6-Jun-08 1:32 

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.