TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bala
NA
43
37.4k
How could i get live screen in ASP.Net web application
Jun 15 2013 9:24 AM
Hi Guys,
Here i do the project is, to capture live screen through web cam and it will shown in my application.
I tried this with saved flash files.
Source Code is :
<object id = "ob1" width="405" height="190">
<param name="movie" value="WebcamResources/Wildlife.swf"/> // How do i embed here live
output of
web cam
<embed src="WebcamResources/Wildlife.swf" width="405" type="application/x-shockwave-flash" height="190"></embed>
</object>
And Code Behind is:
protected void Page_Load(object sender, EventArgs e)
{
string strPhoto = Request.Form["imageData"]; //Get the image from flash file
byte[] photo = Convert.FromBase64String(strPhoto);
FileStream fs = new FileStream("C:\\Webcam.jpg", FileMode.OpenOrCreate, FileAccess.Write);
BinaryWriter br = new BinaryWriter(fs);
br.Write(photo);
br.Flush();
br.Close();
fs.Close();
}
Reply
Answers (
1
)
program temprature monitoring and display on hyperterminal
insrt querry problem