Click here to Skip to main content
15,921,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Indexer that return Interface ...What wrong with my code ? Pin
originSH1-Aug-07 22:17
originSH1-Aug-07 22:17 
AnswerRe: Indexer that return Interface ...What wrong with my code ? [modified] Pin
J4amieC31-Jul-07 5:30
J4amieC31-Jul-07 5:30 
QuestionData Review Pin
sgeorgije31-Jul-07 4:40
sgeorgije31-Jul-07 4:40 
AnswerRe: Data Review Pin
Rizon40631-Jul-07 6:31
Rizon40631-Jul-07 6:31 
AnswerRe: Data Review Pin
sgeorgije31-Jul-07 7:14
sgeorgije31-Jul-07 7:14 
QuestionDB2 Time format problem? Pin
kidus131-Jul-07 4:27
kidus131-Jul-07 4:27 
QuestionCannot Update Non Local MYSQL Table using C#.NET and ODBC [modified] Pin
][cecu3e31-Jul-07 3:39
][cecu3e31-Jul-07 3:39 
AnswerRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
led mike31-Jul-07 4:17
led mike31-Jul-07 4:17 
GeneralRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
][cecu3e31-Jul-07 4:27
][cecu3e31-Jul-07 4:27 
AnswerRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
martin_hughes31-Jul-07 4:56
martin_hughes31-Jul-07 4:56 
GeneralRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC [modified] Pin
][cecu3e31-Jul-07 5:06
][cecu3e31-Jul-07 5:06 
QuestionC implemented Linear Equation Solver? Pin
sukatoa31-Jul-07 3:38
sukatoa31-Jul-07 3:38 
AnswerRe: C implemented Linear Equation Solver? Pin
Luc Pattyn31-Jul-07 4:01
sitebuilderLuc Pattyn31-Jul-07 4:01 
Questionc# Interop Pin
Amit_bad31-Jul-07 3:22
Amit_bad31-Jul-07 3:22 
AnswerRe: c# Interop Pin
Justin Perez31-Jul-07 5:01
Justin Perez31-Jul-07 5:01 
AnswerRe: c# Interop Pin
Brady Kelly31-Jul-07 6:02
Brady Kelly31-Jul-07 6:02 
QuestionProblem with office XP interop assemblies Pin
Wjousts31-Jul-07 3:11
Wjousts31-Jul-07 3:11 
I'm trying to write an application that will allow an external device to be synchronized with a PowerPoint presentation. So I wrote a very simple Windows Forms application that will load a PowerPoint presentation and get a list of the slides. It then allows the user to hook each slide to an event on the external device with the objective being that when that slide appears, the external device should do a certain action. I'm using the office XP primary interop assemblies from Microsoft and all of this works fine up to this point.

Now I have a button that starts the actual presentation. My program will handle the SlideShowNextSlide, SlideShowEnd and PresentationClose events (from PowerPoint) and everything works great. My handler is triggered when the slide changes and based on which slide is displayed, it makes the external device do something.

The problem occurs after the presentation ends and I then try and restart it. At this point when I get to the SlideShowSettings.Run() method I get a COMException with the message "Presentation (unknown member) : Object does not exist."

Does anybody have any idea what the problem here might be? I'm assuming that something needs to be cleaned up on exit, but I've closed the presentation with the Close() method and even tried reinitializing a whole new PowerPoint.Application and PowerPoint.Presentation, but it just doesn't work.

AnswerRe: Problem with office XP interop assemblies Pin
Luc Pattyn31-Jul-07 3:41
sitebuilderLuc Pattyn31-Jul-07 3:41 
GeneralRe: Problem with office XP interop assemblies Pin
Wjousts31-Jul-07 10:30
Wjousts31-Jul-07 10:30 
Questionhow to find page controls Pin
Farhan Ali31-Jul-07 3:10
Farhan Ali31-Jul-07 3:10 
AnswerRe: how to find page controls Pin
Colin Angus Mackay31-Jul-07 3:26
Colin Angus Mackay31-Jul-07 3:26 
GeneralRe: how to find page controls Pin
Farhan Ali31-Jul-07 3:51
Farhan Ali31-Jul-07 3:51 
AnswerRe: how to find page controls Pin
Sandeep Akhare31-Jul-07 4:52
Sandeep Akhare31-Jul-07 4:52 
AnswerRe: how to find page controls Pin
Malcolm Smart31-Jul-07 5:05
Malcolm Smart31-Jul-07 5:05 
QuestionCapturing Mouse Pointer? Pin
Janu_M31-Jul-07 2:10
Janu_M31-Jul-07 2:10 

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.