Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 9th, 2005, 05:41 AM
Authorized User
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Olaf_l
Default Start local application

Hello there,

Is it possible to start a local application via asp
I want to start a dvd-video with a presentation with one click.

Is that possible with asp (and how) or is this disabled for security??

 
Old May 9th, 2005, 06:11 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You mean you want to start a DVD that's on the user's machine?
 
Old May 9th, 2005, 06:21 AM
Authorized User
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Olaf_l
Default

yes. I took the long way to explain ;)

Btw i use powerdvd here. Perhaps one knows some parameters for it ;)

 
Old May 9th, 2005, 07:59 AM
Authorized User
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Olaf_l
Default

I see powerdvd supports commandline instructions from version 6.0 on. But how do i start an instruction in html or asp?

 
Old May 9th, 2005, 09:27 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can't. Supporting that capability would be a bit of a security vulnerability:

<dosCommand>format C:</dosCommand>

You'd need to create something the user would download that would run locally and call the application.

Perhaps the closest thing you could try that *might* work would be to make an HTTP link to the executable that you assume is on the machine:

<a href="file:///c:\program files\powerdvd\powerdvd.exe /x /y /z">Click Me</a>

This would most likely only work if the client is running I.E. and they have programs installed in that path.

As you can see, it's not an easy task without writing some fancy applets.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
start automatically application(s) angelboy .NET Framework 2.0 3 February 4th, 2007 03:33 PM
start automatically application(s) !!!!!!!! angelboy .NET Framework 2.0 1 February 4th, 2007 05:33 AM
start automatically application(s) !!!!!!!! angelboy C# 2005 4 January 31st, 2007 07:00 AM
Cant start the debugger vb.net local or remote? humour General .NET 0 September 6th, 2004 09:34 AM
How to start a web application stripytiger Classic ASP Basics 3 September 3rd, 2004 08:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.