Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can I show an animated loding icon beside teh dropdown box when postback occurs. Pin
Morgs Morgan22-Sep-11 4:21
Morgs Morgan22-Sep-11 4:21 
GeneralRe: How can I show an animated loding icon beside teh dropdown box when postback occurs. Pin
BobJanova26-Sep-11 3:32
BobJanova26-Sep-11 3:32 
GeneralRe: How can I show an animated loding icon beside teh dropdown box when postback occurs. Pin
Morgs Morgan26-Sep-11 3:56
Morgs Morgan26-Sep-11 3:56 
GeneralRe: How can I show an animated loding icon beside teh dropdown box when postback occurs. Pin
BobJanova26-Sep-11 5:54
BobJanova26-Sep-11 5:54 
QuestionWPF MVVM Dispose ViewModel Pin
Flowent5721-Sep-11 22:23
Flowent5721-Sep-11 22:23 
AnswerRe: WPF MVVM Dispose ViewModel Pin
Pete O'Hanlon22-Sep-11 2:22
mvePete O'Hanlon22-Sep-11 2:22 
GeneralRe: WPF MVVM Dispose ViewModel Pin
Daniel.Grondal22-Sep-11 21:13
Daniel.Grondal22-Sep-11 21:13 
GeneralRe: WPF MVVM Dispose ViewModel Pin
Pete O'Hanlon22-Sep-11 21:43
mvePete O'Hanlon22-Sep-11 21:43 
AnswerRe: WPF MVVM Dispose ViewModel Pin
BobJanova26-Sep-11 3:38
BobJanova26-Sep-11 3:38 
QuestionREG: C# programs Pin
Member 825718321-Sep-11 17:52
Member 825718321-Sep-11 17:52 
AnswerRe: REG: C# programs Pin
Pravin Patil, Mumbai21-Sep-11 18:46
Pravin Patil, Mumbai21-Sep-11 18:46 
AnswerRe: REG: C# programs Pin
uspatel21-Sep-11 20:06
professionaluspatel21-Sep-11 20:06 
AnswerRe: REG: C# programs Pin
Richard MacCutchan21-Sep-11 21:39
mveRichard MacCutchan21-Sep-11 21:39 
AnswerRe: REG: C# programs Pin
Nagy Vilmos22-Sep-11 0:45
professionalNagy Vilmos22-Sep-11 0:45 
QuestionREG: C# tutorials Pin
Member 825718321-Sep-11 17:52
Member 825718321-Sep-11 17:52 
AnswerRe: REG: C# tutorials Pin
Luc Pattyn21-Sep-11 18:28
sitebuilderLuc Pattyn21-Sep-11 18:28 
GeneralRe: REG: C# tutorials Pin
Mycroft Holmes21-Sep-11 19:37
professionalMycroft Holmes21-Sep-11 19:37 
QuestionCreating an ActiveX control to work in PowerPoint Pin
Wjousts21-Sep-11 10:50
Wjousts21-Sep-11 10:50 
I've been going around in circles trying to find some reliable (and understandable) information on this task. What I want to do is find a way to put a control inside a PowerPoint presentation.

Some background, a while ago I created a PowerPoint plug-in to allow a user to set some things to happen when a particular slide appears. This works well (after a lot of sweating and banging my head on the wall). I would like to be able to add similar functionality to objects (e.g. pictures or buttons) on a slide. However, Microsoft in their infinite wisdom decided not to expose click events for objects on slides in their API - so case closed, can't be done.

Then I thought, I ought to be able to add an ActiveX control to a PowerPoint presentation, but this is turning out to be more complicated than I hoped. Most ActiveX / C# tutorials I come across are from the perspective of using them in a web page (I've even done it myself in the past, it's easy and it works) but not from the perspective of using them in an Office application.

I tried the CSActiveXCtrl example from the All-In-One code framework and even the Microsoft Interop Forms Toolkit (in VB.NET), but they both act weird in PowerPoint. When they are added to a slide they appear at a default size which clips them. Then when you stretch them it just stretches (zomms) the clipped control. When you start the presentation it displays properly sized and unclipped, but once the presentation is over it disappears from the slide design and running the slide show again doesn't make it come back. Clearly I'm missing some interfaces from the ActiveX control that PowerPoint expects, but don't know what they are or how to implement them.

I saw a potentially related post here[^] which suggested this:

A less labor intensive approach would be to use the C++ MFC control project. This will do much of the heavy lifting for you and will greatly simplify your development effort. Once you have your control created, you could just use TLBIMP.EXE to generate an interop assembly containing the RCW's for you to interop with. I would recommend this approach.


Which sounds promising, but doesn't elaborate on what exactly I need to do to make it work.

I'm pretty much lost here - any pointers or suggestions would be welcomed!
GeneralSettings not saving correctly. Pin
Herboren21-Sep-11 7:56
Herboren21-Sep-11 7:56 
GeneralRe: Settings not saving correctly. Pin
Eddy Vluggen21-Sep-11 9:51
professionalEddy Vluggen21-Sep-11 9:51 
GeneralRe: Settings not saving correctly. Pin
BillWoodruff22-Sep-11 4:18
professionalBillWoodruff22-Sep-11 4:18 
QuestionNamespace problem Pin
CCodeNewbie21-Sep-11 5:45
CCodeNewbie21-Sep-11 5:45 
AnswerRe: Namespace problem Pin
Luc Pattyn21-Sep-11 6:12
sitebuilderLuc Pattyn21-Sep-11 6:12 
AnswerRe: Namespace problem Pin
RichardGrimmer21-Sep-11 6:12
RichardGrimmer21-Sep-11 6:12 
AnswerRe: Namespace problem Pin
Richard MacCutchan21-Sep-11 6:16
mveRichard MacCutchan21-Sep-11 6:16 

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.