Powerpoint and Javascript

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 9th, 2007, 16:28
New Member
Join Date: Aug 2006
Location: UK
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old May 9th, 2007, 18:35
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
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/
Reply With Quote
  #3 (permalink)  
Old May 9th, 2007, 18:42
New Member
Join Date: Aug 2006
Location: UK
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old Jun 13th, 2007, 15:48
New Member
Join Date: Aug 2006
Location: UK
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #5 (permalink)  
Old Jun 15th, 2007, 14:02
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Powerpoint and Javascript

Thanks for answering your topic! Although truth be told, I know nothing about visual basic.
Reply With Quote
Reply

Tags
javascript, powerpoint, pss, show

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43