Hi all
i am thinking to develop a software for powerpoint , in which slides can be changed through program , for example i opened my power point and slide show is running on it , how i can change slide up and down through a porgram , if i run that program at the instant of time when slide is running , plz give a detailed solution .
Loading

VulpesRank #55 · 29.2K reputationPosted Sep 23, 2011, 10:40 AM EDT
deepender singla111 reputationPosted Sep 25, 2011, 4:24 AM EDT
what shoud i do?
VulpesRank #55 · 29.2K reputationPosted Sep 25, 2011, 6:28 AM EDT
Now double click on each of the buttons in turn which will generate a Click eventhandler for them.
Next, click anywhere on the form and change its Topmost property to True in the Properties Box.
Then switch to events in the Properties Box for the form (lightning bolt symbol), select the FormClosed event and double click it to open up a skeleton eventhandler.
Finally, add the code in my last post in the appropriate places in the form, build and run.
Incidentally, I wouldn't call your program Powerpoint - I'd call it something else such as PowerpointController to distinguish it from the Microsoft executable.
deepender singla111 reputationPosted Sep 26, 2011, 4:50 PM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 27, 2011, 12:43 AM EDT
You can set their Text properties to anything you like. Launch, Next and Previous was just a suggestion.
deepender singla111 reputationPosted Sep 27, 2011, 2:38 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 27, 2011, 3:04 AM EDT
deepender singla111 reputationPosted Sep 27, 2011, 3:09 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 27, 2011, 4:14 AM EDT
deepender singla111 reputationPosted Sep 27, 2011, 5:12 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 27, 2011, 6:27 AM EDT
Don't just copy my code blindly but slot it into the form template which is generated for you.
deepender singla111 reputationPosted Sep 27, 2011, 5:34 PM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 28, 2011, 1:02 AM EDT
deepender singla111 reputationPosted Sep 29, 2011, 4:58 AM EDT
}
when i run this program and when i say ppt ppt gets open now i want that when i say next , next ppt comes and when i say previous previous ppt comes and my second program in which i am controlling through ppt button is this:
VulpesRank #55 · 29.2K reputationPosted Sep 29, 2011, 6:12 AM EDT
You'll need to add a reference to System.Speech.dll to the second program and then add the code which I've highlighted below (untested so there may be bugs):
deepender singla111 reputationPosted Sep 29, 2011, 10:28 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 30, 2011, 1:29 AM EDT
pptWord = word;
deepender singla111 reputationPosted Sep 30, 2011, 4:19 AM EDT