473,471 Members | 4,095 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Issue opening local pps/ppt/pptx

1 New Member
Hello all.

I'm having some issues while invoking power point from the web. I try to open a power point file or presentation using the following code and my iexplorer6 browser hangs up and goes on a strike. No need to say that the powerpoint program doesn't even execute.
I created a simple power point on root C:/ drive. I created a link to be able to use the startPowerpoint function on click. Everything I try doesn't even open the application. To be honest, something which seems pretty straight forward is not working for me. I tried with excel and word and things work fine but not for power point. Any ideas?
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <li id="toplevel"><a href="javascript: startPowerpoint()" style="cursor: pointer;">Go 
  3.  
  4. to Presentation</a></li>
  5.  
  6. <script language="JavaScript">
  7. function startPowerpoint()
  8. {
  9. var myApp = new ActiveXObject("PowerPoint.Application");
  10. var path="C:/ha.ppt";
  11. if (myApp != null)
  12. {
  13. myApp.Visible = true;
  14. myApp.Presentations.Open(path);
  15. }
  16. }
  17. </script>
  18. </html>    
Aug 5 '10 #1
0 1185

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Usman | last post by:
Hi All, Is there a way that if I know the IP address of a computer, I can open a popup window on that IP remotely from another computer? It is somewhat similar to netsend but the type of window...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
1
by: Roel | last post by:
Hi all, I'm using the FileUpload control for uploading MS Word and MS PowerPoint documents. To check if a user uploads a correct document, I check the contenttype...
10
by: Schraalhans Keukenmeester | last post by:
I suspect the following problem IS hosting provider specific, but they haven't been able to help me out so far. Perhaps I am doing something wrong and someone is able to spot the issue... Here...
3
by: lopedon | last post by:
I've got a performance issue in Access 2000 running on Windows 2000. Opening a table local to the MDB takes about 1-2 seconds normally. If I log out of the windows profile that is normally used on...
2
by: Bruce | last post by:
Hello all, I have an annoyance that is common to all of the Access 2003 applications I manage. All of the applications are split front end/ back end with a front end copy on each client...
4
by: David Thielen | last post by:
We need this both for what we set in IIS and for the HttpContext.Reponse.ContentType property. We've tried a bunch of different things and none seem to work. thanks - dave ...
2
by: Manish | last post by:
Hi All : Could a friend suggest a way we can convert a pptx to xaml? Regards Manish
5
by: jettimadhu | last post by:
Hi , I want to convert the HTML/XML file to all other Ms-office file extentions like .ppt,.pptx,.docx.... Is there any API' s to get a possible solution for this problem?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.