This is a discussion on "Powerpoint and Javascript" within the JavaScript Forum section. This forum, and the thread "Powerpoint and Javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Powerpoint and Javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Powerpoint and Javascript
Hi - i have quite a specific question to ask and I need someone who knows how i can do this... Might be hard to digest...but here goes...
I created a presentation in powerpoint using VB Macros and such. I saved my presnetation as a powerpoint show (.pps). I double click my file in explorer and my presentation runs in fullscreen and works perfectly. I wanted to link this pps on a webpage. So i created a basic page and created a hyperlink to the pps file. The problem is the pps runs in the IE browser and not like in the explorer. I get alot of problems and msot of my code doesnt work - i get errors about saving changes and stuff. So basically what i need is a way to hyperlink to the .pps so it runs in the powerpoint browser - just like when you double-click it. I am hoping that javascript is able to hyperlink the pps so it runs in the powerpoint browser. If anyone can understand this or even help me then please please please do not hesitate to reply. This is kinda urgent - kinda being i need it within 12 hours. lol. Sorry for the short notice but if anyone can help then please do so.. Thanks David |
|
|
|
||||
|
Re: Powerpoint and Javascript
This is not possible to get x-browser. I suggest you just making it simple XHTML first. If you really want to get into it, here's a good example of an XHTML one using JavaScript to simulate a PP presentation:
http://adactio.com/atmedia2005/ |
|
|||
|
Re: Powerpoint and Javascript
Well My presentation is quite complecated. I have .swf files that i added using the shockwave activeX control and i use visual basic macros to change the flash movies into different ones.
I mean saving as .pps and running in a browser is fine its just that i get an error when i use a macro, it keeps asking me do i want to save changes made to my presentation. By changes i think it means that i have changed the variables and it wants to save them. Is there any way around this by making it read-only so all the macros function and everything but when i change a variable it will not save it, so it sort of rewinds the change everytime the presentation is run. When i run the presentation in the powerpoint program i get no problems nor any msgboxes about saving changes. It is only when i run it using a browser. I think the key is to make either the presentation read-only or the visual basic module read-only. But making the module read-only would not allow me to change the variables would it. Sorry thats hard to digest but i desperately need some help. I think it is more to do with the visual basic coding or something. I could send you a copy of the presentation to see for yourself. If you dont mind? Thanks |
|
|||
|
Re: Powerpoint and Javascript
LOL - I forgot about this topic. Anyway i managed to sort my problem out in time. It was to do with the visual basic coding not the browser. The visual basic kept thinking that the presentation was not saved and so kept asking everytime i made a change. I managed to solve this problem by placing...
ActivePresentation.Saved = true after every module I had created. Anyway thanks for the reply. David |
![]() |
| Tags |
| javascript, powerpoint, pss, show |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Powerpoint embedded in a webpage | christopher | Flash & Multimedia Forum | 5 | Nov 9th, 2007 11:12 |
| Javascript | dharvesh | JavaScript Forum | 4 | Oct 21st, 2007 01:28 |
| PowerPoint Question | Fools Gold | Scripts and Online Services | 16 | Oct 5th, 2007 20:29 |
| Javascript Help | Daniel | JavaScript Forum | 5 | Jan 4th, 2007 22:00 |
| How is this done? PHP, Javascript or both? | ktsirig | PHP Forum | 4 | May 1st, 2006 12:23 |