Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 March 6th, 2006, 11:41 AM
Authorized User
 
Join Date: Feb 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default want to run Media player from ASP.net page ??

heloo all !!

 i m using a button when i click that button i need to open some application(.exe. ,msword,notepad, specially Windows Media Player )
i wrote :

System.Diagnostics.Process.Start("notepad")

but this is not opening

for media player what should i write ??

pls help me
 
Old March 6th, 2006, 08:24 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a documented bug, the following link has the resolution and a code sample.

"If you start a process from ASP.NET using System.Diagonistics.Process.Start method. Process might start in the background (you can even see it in task manager), but you cant see it in the desktop."
    Unable to Start a Process from ASP.NET: http://support.microsoft.com/default...b;en-us;555134

- A.Kahtava
 
Old March 10th, 2006, 12:04 AM
Authorized User
 
Join Date: Feb 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thnx for ur guidance
but still it is not working sir
pls show me new way if u can
 
Old March 12th, 2006, 01:59 AM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Guys i have tried using the above technique...but process continues to be seen in task manager but not on dekstop

 
Old March 12th, 2006, 11:58 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could you explain why you are trying to open Windows Media player?

Are you trying to play a movie? If you want to play a movie then embed an .AVI file in your HTML.

- A.Kahtava
 
Old March 14th, 2006, 02:44 AM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

wat if the movie has to come from db?

 
Old March 14th, 2006, 02:53 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why are you storing movies in a database?
Why not store a link to the movie?

Take the movie out of the database and place it on your webserver.
Embed the movie (linking to the movie on your server) in your HTML.

- A.Kahtava
 
Old March 20th, 2006, 06:35 AM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey Mr.Kahtava,well i agree wid u....i have saved the link to the database...but am unable to embed it in the database because when i use <embed src=txt.... where txt contains the link to the video which has been retrived form db....n txt is a VB variable....Thanks for ur help sooo far....

 
Old March 20th, 2006, 09:22 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A couple links that may be of interest:

HTML EMBED Code Tutorial: http://www.htmlcodetutorial.com/embe...ts/_EMBED.html

FlashMovie WebControl: http://www.codeproject.com/aspnet/As...select=1217038

- A.Kahtava
 
Old March 21st, 2006, 09:09 AM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot






Similar Threads
Thread Thread Starter Forum Replies Last Post
Window Media Player in vb.net veena_burse Visual Basic 2005 Basics 2 October 4th, 2007 08:10 PM
Adding Windows Media Player to ASPX page bleitner ASP.NET 2.0 Professional 2 August 13th, 2007 03:08 AM
Using Windows Media Player 10 in ASP.Net 1.1 pritambaldota ASP.NET 1.0 and 1.1 Professional 3 August 16th, 2006 12:13 AM
How to Run Real Player (rm file) in asp.net marq_abid ASP.NET 2.0 Professional 0 November 16th, 2005 09:51 AM
How to embed the media player in the .aspx page doctorsom Classic ASP Components 1 December 24th, 2004 02:19 PM





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