Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
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 
I am creating a folder watcher application.
If a new powerpoint file gets added in the folder it should get started automatically.
So if I put .pps file into the folder then and I say
System.Diagnostics.Process.Start(fullPath);

it works fine.
This is not the case with .ppt files
Only the powerpoint application gets started not the slideshow.I want the slideshow to be started.

I have done some R & D and found that Microsoft.Office.Interop.PowerPoint will help and done something like this
Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application();<br />
								ppApp.Visible = MsoTriState.msoTrue;<br />
								Microsoft.Office.Interop.PowerPoint.Presentations oPresSet = ppApp.Presentations;<br />
								Microsoft.Office.Interop.PowerPoint._Presentation oPres = oPresSet.Open(e.FullPath,<br />
									MsoTriState.msoFalse, MsoTriState.msoFalse,<br />
									MsoTriState.msoTrue);<br />

But this is also doing the application open not the slideshow, does anybody have any idea?
Also I want rest all powerpoint presentations gets closed and only currently added powerpoint application gets started as slideshow.

Thanks in advance,
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 
GeneralRe: Run ppt with C# - urgent !!!! Pin
Michael Bookatz10-Dec-08 23:41
Michael Bookatz10-Dec-08 23:41 
GeneralRe: Run ppt with C# - urgent !!!! Pin
salon11-Dec-08 0:26
salon11-Dec-08 0:26 
GeneralRe: Run ppt with C# - urgent !!!! Pin
Christian Graus11-Dec-08 8:10
protectorChristian Graus11-Dec-08 8:10 
QuestionReading Content Of Doc Files Pin
Laji5910-Dec-08 19:01
Laji5910-Dec-08 19:01 
AnswerRe: Reading Content Of Doc Files Pin
Christian Graus10-Dec-08 19:18
protectorChristian Graus10-Dec-08 19:18 
AnswerRe: Reading Content Of Doc Files Pin
hotthoughtguy10-Dec-08 19:20
hotthoughtguy10-Dec-08 19:20 
GeneralRe: Reading Content Of Doc Files Pin
Christian Graus10-Dec-08 19:27
protectorChristian Graus10-Dec-08 19:27 
GeneralRe: Reading Content Of Doc Files Pin
Laji5910-Dec-08 20:23
Laji5910-Dec-08 20:23 
QuestionOpen source SMTP server [modified] Pin
Tiger45610-Dec-08 18:16
Tiger45610-Dec-08 18:16 
QuestionYOUTUBE API with C# Pin
bmx463710-Dec-08 17:35
bmx463710-Dec-08 17:35 
AnswerRe: YOUTUBE API with C# Pin
Christian Graus10-Dec-08 17:46
protectorChristian Graus10-Dec-08 17:46 

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.