I'm looking to add webcam support to a web page but i really have no idea where to start. I can use any version of VS so thats not a problem. I've seen a few examples on here about how to do it but they were all over the place. Any ideas on where to start? I'm obviously not ask for code to do it but whats the easiest way to get it done would be helpful. Thank you in advance.
brsecu
Posts
-
asp.net c# webcam -
formating numbers from stringsi have a string that always is 6 chars long. If it is not then zeros are added to it. I am pullinging this info out of the database and i need to add 1 to it. Example: I get "000456" and need to add 1 to it so its "000457" Is there an easy way to do that?
-
acessing an id from object senderThat did it thanks. Since im using asp i used myButton.id instead of name. Thanks again.
-
acessing an id from object senderI've created buttons automatically based on rows of information. When someone pushes the button I call the eventhandler button1_Click(object sender, EventArgs e). Is there anyway to tell what the name of the button is? I'm using c# in asp.net. When debugging i can see the clientid but cant get it from sender.
-
Passing info from a threadI'm running a process in a thread and want to put the results as they happen in a text box on my form. Is that possible? I cant seem to make it work.
-
Navigating a web formI'm trying to fill in a text box then hit the submit button using httpwebrequest. Here is a sample using googles home page(just because everyone can use it). I just cant seem to get it to work. Thanks for the help. string Uri = "http://www.google.com"; string requestString = "q=test&btnG=Clicked"; byte[] requestData = Encoding.UTF8.GetBytes(requestString); HttpWebRequest request = null; Stream stream = null; HttpWebResponse response = null; // set up request CookieContainer _cookies = new CookieContainer(); request = (HttpWebRequest)WebRequest.Create(Uri); request.Proxy = null; request.CookieContainer = _cookies; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = requestData.Length; // make form post stream = request.GetRequestStream(); stream.Write(requestData, 0, requestData.Length); // get response response = (HttpWebResponse)request.GetResponse();
-
click a button with httpwebrequestI'm trying to fill in a text box then hit the submit button using httpwebrequest. Here is a sample using googles home page. I just cant seem to get it to work. Thanks for the help. string Uri = "http://www.google.com"; string requestString = "q=test&btnG=Clicked"; byte[] requestData = Encoding.UTF8.GetBytes(requestString); HttpWebRequest request = null; Stream stream = null; HttpWebResponse response = null; // set up request CookieContainer _cookies = new CookieContainer(); request = (HttpWebRequest)WebRequest.Create(Uri); request.Proxy = null; request.CookieContainer = _cookies; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = requestData.Length; // make form post stream = request.GetRequestStream(); stream.Write(requestData, 0, requestData.Length); // get response response = (HttpWebResponse)request.GetResponse();
-
backgroundworker vs threadingWhats the difference?
-
large scale inserts duplicate checkingI have 2 databases with over 7 million records where about half are probably duplicated. I would like to merge these tables and take out the duplicates. The problem comes in where the the only fields are name address and email address(sometimes). So i have to do a dup check on the name and address. The way im doing it is taking 5 min for every 1000 records. I tried writing a stored procedure that checked each one with a if exists statement then insert. I know there has to be a better way than that. ANy help or am i stuck waiting a couple weeks to be done. By the way the cpu i'm using is also using 85% cpu to do the checking.
-
xml serializationI gotten to the point where i can serialize an xml document using a class. I just cant figure out how to get a complex type to serialize. How should my class look if i need something like Mary Cummings
-
best way to program a huge xml fileYes i am new to xml and serialization is a much better way than i was doing. Thanks again
-
best way to program a huge xml fileYes I have seen and practiced with a couple. It may be more overhead but i actually like using the excel object to parse the files I find it to be easier and it works better in my head. Thanks
-
best way to program a huge xml fileI have to write a program converting a csv file into a huge xml file, about 100 elements. Is the best way to just create a class xmlfile.cs then read the info from another class pass the values to xmlfile one by one, then when done use xmlwriter, in the same class, to write the whole file? Is there a better way? Thanks
-
close window and redirect to another siteYeah. Thanks a million.
-
close window and redirect to another siteYes but how. I know it seems like a simple question but I want to do it out of the aspx.cs code not html. How do i link to it.
-
close window and redirect to another siteI want to close my page and open another url outside of my local pages. example page1.aspx(close) www.google.com(open) when i use the server.Transfer it wont do it? Thanks in advance.
-
adding info to another pageIf someone fills in first name on page1.aspx and i want that to appear on page2.aspx, how do i do that? lets say the element name for both of them is fname. Thanks in advance
-
assigning value to variable in stored procedureThanks a lot it worked I appreciate the help
-
assigning value to variable in stored procedureThanks a lot it worked I appreciate the help
-
assigning value to variable in stored procedureI am trying to get info into a variable in a sql server 2000 stored procedure How can this be done. I thought i had it but it doesnt seem to work. This is what i have. Declare @var1 int Select @var1 Select max(List_ID) from table1 @var1 stays NULL What am i doing wrong?