Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
GeneralNot full answer - Does anyone else know what window message is needed? Pin
Simon P Stevens11-Dec-08 0:14
Simon P Stevens11-Dec-08 0:14 
AnswerRe: what is the event to unfold the datetime picker Pin
dan!sh 11-Dec-08 2:54
professional dan!sh 11-Dec-08 2:54 
QuestionMSWord.Olb Pin
Laji5910-Dec-08 20:35
Laji5910-Dec-08 20:35 
AnswerRe: MSWord.Olb Pin
Christian Graus10-Dec-08 21:00
protectorChristian Graus10-Dec-08 21:00 
QuestionByte Conversion Pin
Agweet10-Dec-08 20:30
Agweet10-Dec-08 20:30 
AnswerRe: Byte Conversion Pin
Giorgi Dalakishvili10-Dec-08 20:37
mentorGiorgi Dalakishvili10-Dec-08 20:37 
AnswerRe: Byte Conversion Pin
N a v a n e e t h10-Dec-08 20:44
N a v a n e e t h10-Dec-08 20:44 
GeneralRe: Byte Conversion Pin
Agweet10-Dec-08 20:59
Agweet10-Dec-08 20:59 
GeneralRe: Byte Conversion Pin
N a v a n e e t h10-Dec-08 21:05
N a v a n e e t h10-Dec-08 21:05 
GeneralRe: Byte Conversion Pin
Agweet10-Dec-08 21:10
Agweet10-Dec-08 21:10 
GeneralRe: Byte Conversion Pin
Giorgi Dalakishvili10-Dec-08 21:09
mentorGiorgi Dalakishvili10-Dec-08 21:09 
GeneralRe: Byte Conversion Pin
Agweet10-Dec-08 21:13
Agweet10-Dec-08 21:13 
GeneralRe: Byte Conversion Pin
Giorgi Dalakishvili10-Dec-08 21:18
mentorGiorgi Dalakishvili10-Dec-08 21:18 
GeneralRe: Byte Conversion Pin
Agweet10-Dec-08 21:23
Agweet10-Dec-08 21:23 
QuestionUploading data using ftpwebrequest method in c# Pin
vnr10-Dec-08 20:19
vnr10-Dec-08 20:19 
Questionvalidation Pin
kulandaivel_mca200710-Dec-08 20:12
kulandaivel_mca200710-Dec-08 20:12 
AnswerRe: validation Pin
Giorgi Dalakishvili10-Dec-08 20:14
mentorGiorgi Dalakishvili10-Dec-08 20:14 
AnswerRe: validation Pin
dan!sh 10-Dec-08 21:19
professional dan!sh 10-Dec-08 21:19 
QuestionRun ppt with C# - urgent !!!! Pin
salon10-Dec-08 19:05
salon10-Dec-08 19:05 
AnswerRe: Run ppt with C# - urgent !!!! Pin
Christian Graus10-Dec-08 19:19
protectorChristian Graus10-Dec-08 19:19 
GeneralRe: Run ppt with C# - urgent !!!! Pin
salon10-Dec-08 19:43
salon10-Dec-08 19:43 
GeneralRe: Run ppt with C# - urgent !!!! Pin
N a v a n e e t h10-Dec-08 19:52
N a v a n e e t h10-Dec-08 19:52 
GeneralRe: Run ppt with C# - urgent !!!! Pin
salon10-Dec-08 20:04
salon10-Dec-08 20:04 
GeneralRe: Run ppt with C# - urgent !!!! Pin
Giorgi Dalakishvili10-Dec-08 20:12
mentorGiorgi Dalakishvili10-Dec-08 20:12 
GeneralRe: Run ppt with C# - urgent !!!! Pin
salon10-Dec-08 22:35
salon10-Dec-08 22:35 
Thanks friends for your valuable replies. The main problem is solved of launching the slideshow of .ppt files.. with the help of this code

<br />
Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application();<br />
								ppApp.Visible = MsoTriState.msoTrue;<br />
								Presentations ppPresens = ppApp.Presentations;<br />
								Presentation objPres = ppPresens.Open(e.FullPath, MsoTriState.msoFalse, MsoTriState.msoTrue, MsoTriState.msoTrue);<br />
								Slides objSlides = objPres.Slides;<br />
								Microsoft.Office.Interop.PowerPoint.SlideShowWindows objSSWs;<br />
								Microsoft.Office.Interop.PowerPoint.SlideShowSettings objSSS;<br />
<br />
								//Run the Slide show<br />
								objSSS = objPres.SlideShowSettings;<br />
<br />
								objSSS.Run();<br />
								objSSWs = ppApp.SlideShowWindows;<br />
								while (objSSWs.Count >= 1) System.Threading.Thread.Sleep(100);<br />
<br />
								//Close the presentation without saving changes and quit PowerPoint<br />
								objPres.Close();<br />
								ppApp.Quit();<br />


Now I want to close all the running powerpoint files and only want to run the current one only...

Does any body have any idea?

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.