Downloading and playing video with out asking where to download

S

serkan ulucan

Hi,
I want to add a video link on web form. Up on clicking this link what I want
is that first downloading video automatically without asking where to
download, then play the downloaded video. I dont want any user interaction
except clicking the link. Also I dont want http steaming.
Only download and play...

thanks
 
S

Smirnoff

serkan ulucan a écrit :
Hi,
I want to add a video link on web form. Up on clicking this link what I want
is that first downloading video automatically without asking where to
download, then play the downloaded video. I dont want any user interaction
except clicking the link. Also I dont want http steaming.
Only download and play...

thanks

Upload it on the temporary internet files...

string path = Environment.GetEnvironmentVariable("TEMP") + "\\" +
File.Filename;
 
S

serkan ulucan

Can you give mor detail

Smirnoff said:
serkan ulucan a écrit :

Upload it on the temporary internet files...

string path = Environment.GetEnvironmentVariable("TEMP") + "\\" +
File.Filename;
 
S

Smirnoff

serkan ulucan a formulé ce lundi :
Can you give mor detail

path = the Directory where u can upload yhe file on the user computer

u can know this variable
Environment.GetEnvironmentVariable("TEMP")
do= start=>run=>cmd (win2k or xp) or (dosprmpt on 98se)
and hit "SET"
you will see somethign like that, that's the variable on the OS
..
..
..
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
TMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
..
..
..
So Environment.GetEnvironmentVariable("TEMP") =>
TEMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
add the "\\" + File.Filename and the path where u can upload is

path => C:\DOCUME~1\FSimon\LOCALS~1\Temp\myfile.tmp for exemple.

Is it ok?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top