print_r($recent);

Array
(
 [545]=>Collections
 [544]=>Good morning
 [543]=>You know the fee...
 [542]=>Date more, care ...
 [541]=>Moving On
)

 

RAMCal(date('my'));

November 2018
sun mon tue wed thu fri sat
        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  
             
archives(RAM);


print_r($newStuff);

Array
(
 [RAndoMness]=> 28Sep09
 [JPsDocs] => 22Feb09
 [JPics] => 10Dec11
 [frontpage]
 [FeedBack]
)

recent music
Boycott SONY

print_r($background);
Array
(
 [today]=>
 [past]=>backgrounds
)


  getentry(397); getentry(399);
printentry(398);

   
Opening .ppt documents in PowerPoint from an HTML page
added Mon April 25 2005 at 3:37 PM
1 comments
One of my favorite things to do at work is to find a solution for a problem. The problem was that my boss has a home page he uses for quick links to important documents. Because he's a supervisor, he spends a lot of time changing excel spreadsheets around and adapting powerpoint presentations for the next meeting. When he added a URL to an Excel spreadsheet, clicking on the link opened up in Excel just like he expected. However, when he clicked on a link to a powerpoint presentation, it openned either in fullscreen play mode, or in Internet Explorer. Either way, he could not *edit* the document, only view it.

Now, this actually turned out to be an interesting problem. Reading online, it turns out that there is a setting in Internet Explorer to change this behavior. Most of the solutions I saw either said to change extremely obscure settings hidden away in My Computer->Tools->Folder Options->File Types Tab->advanced button. I changed this setting, and I went from viewing it in IE to viewing it full-screen mode. That wasn't good enough.

Other solutions involved editting the registry. As a general rule of thumb, I leave the registry alone. Especially if I'm going to be doing it to somebody *else*'s computer. Specifically my boss's. For that matter, I probably don't even have access to edit the registry on the work computers. At any rate, this solution is also unacceptable.

After looking for a while, I came to the conclusion that nobody had a solution that would work for me, so I set out making my own solution. Now, keep in mind that this is a somewhat limitted solution for two reasons. First of all, it uses an ActiveX control, which many people will not allow (with good reason, as I'll explain in a minute). Second, it requires that you know the path to the PowerPoint executable. Between these two problems, this is not a solution that would be reliable for online technologies (i.e. it wouldn't work for a webpage open to the public). What this *is* good for is if you're trying to do something similar to what my boss is doing, setting up your own commonly used documents page.

First the code, then the explanation.

Two steps.

First, copy and past this into the head of your html page:



Second, anywhere you want to link to the ppt document, use a link like this:



How this works:

Vbscript's Wscript.Shell object is potentially the most powerful command available. Literally anything you can do from the command line can be done through this command. That's why I said that people shouldn't trust this ActiveX command. In this case, though, we are simply openning PowerPoint through the command line, using the document as an argument for loading PowerPoint.
 



mom says:
okay, so you lost me some...but it is great to see you up online again! ;-)
posted Sat September 23 2006 at 1:58 PM

 

 
Allowable HTML:
<b>bold</b>
<i>italics</i>
<a href="http://www.petiejoe.com/">links</a>
Comment guidelines

comment: