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
VulpesPosted Sep 23, 2011, 2:40 PM
deepender singlaPosted Sep 30, 2011, 8:19 AM
VulpesPosted Sep 30, 2011, 5:29 AM
pptWord = word;
deepender singlaPosted Sep 29, 2011, 2:28 PM
VulpesPosted Sep 29, 2011, 10:12 AM
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 singlaPosted Sep 29, 2011, 8:58 AM
}
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:
VulpesPosted Sep 28, 2011, 5:02 AM
deepender singlaPosted Sep 27, 2011, 9:34 PM
VulpesPosted Sep 27, 2011, 10:27 AM
Don't just copy my code blindly but slot it into the form template which is generated for you.
deepender singlaPosted Sep 27, 2011, 9:12 AM
VulpesPosted Sep 27, 2011, 8:14 AM
deepender singlaPosted Sep 27, 2011, 7:09 AM
VulpesPosted Sep 27, 2011, 7:04 AM
deepender singlaPosted Sep 27, 2011, 6:38 AM
VulpesPosted Sep 27, 2011, 4:43 AM
You can set their Text properties to anything you like. Launch, Next and Previous was just a suggestion.
deepender singlaPosted Sep 26, 2011, 8:50 PM
VulpesPosted Sep 25, 2011, 10:28 AM
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 singlaPosted Sep 25, 2011, 8:24 AM
what shoud i do?