|
|
How is that the "static & dynamic polymorphism" is used in C# and how they are distinguished from each other?
|
|
|
|
|
I think you need to consider buying some beginners books. You might find it helps you out. You can't expect to learn this on an internet forum.
|
|
|
|
|
How is Composition implented in C# ? Pl. answer with some examples.
|
|
|
|
|
What's wrong with the existing examples on the internet?
|
|
|
|
|
How practically these two are implemented?
|
|
|
|
|
|
i have tried some codes from google but not working
i am using vs2005 and i dont want use modem
|
|
|
|
|
kiran murkal wrote: i have tried some codes from google but not working
What does that mean? What code have you tried? What does your code actually look like?
Have you tried this[^] article?
|
|
|
|
|
you will then need to use a 3rd party to route your sms requests through such as TextLocal[^]
But I would have a check to make sure that you use an operator that works in your area.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Can anyone help me on this:
I was trying to access my IP camera and used the following code
string sourceURL = "ipaddress";
byte[] buffer = new byte[100000];
int read, total = 0;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(sourceURL);
req.Credentials = new NetworkCredential("username","password");
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
while ((read = stream.Read(buffer, total, 1000)) != 0)
{
total += read;
}
Bitmap bmp = (Bitmap)Bitmap.FromStream(
new MemoryStream(buffer, 0, total));
at last, i want to display the video on a panel on windows form application and i have no idea how? please help!
thanks!
|
|
|
|
|
Please don't post the question more than once.
I just woke up, drinking my coffee and reading the questions, and have read the same thing three times now. No, I'm not grumpy (yet), just wanted to explain why it's annoying.
The code you posted looks like it fetches a single capture. And you're looking for streaming code?
|
|
|
|
|
Eddy Vluggen wrote: I'm not grumpy (yet)
No, you're still Sleepy. As long as you avoid becoming Dopey, all should be well.
|
|
|
|
|
Hi Eddy
I can't see the code u reply, could you do it again and make it clear please!
thanks
|
|
|
|
|
I didn't reply with any code.
You could try the AForge library with the MJPEGStream .
|
|
|
|
|
i only do it once man!
and i didn't see u helping, could u make it clear please?
thanks!
|
|
|
|
|
I am trying to display a video from my ip camera on a panel. I have used an "http request" to get the video from the camera and i got a problem with displaying the video on the panel, so i need a help please?
am using c#, on visual studio 2010, windows form application...
Thanks!
|
|
|
|
|
Bire50t wrote: i got a problem Well, please don't expect people to guess what it is.
Bire50t wrote: i need a help With what?
Please edit your question and put some useful detail into your question.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hi Richard...
here is my question..
I was trying to access my IP camera and used the following code
string sourceURL = "ipaddress";
byte[] buffer = new byte[100000];
int read, total = 0;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(sourceURL);
req.Credentials = new NetworkCredential("username","password");
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
while ((read = stream.Read(buffer, total, 1000)) != 0)
{
total += read;
}
Bitmap bmp = (Bitmap)Bitmap.FromStream(
new MemoryStream(buffer, 0, total));
at last, i want to display the video on a panel on windows form application and i have no idea how? please help!
thanks! Smile |
|
|
|
|
|
Sorry, I don't know; try a Google search or some of the CodeProject articles[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Can anyone help me on this:
I was trying to access my IP camera and used the following code
string sourceURL = "ipaddress";
byte[] buffer = new byte[100000];
int read, total = 0;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(sourceURL);
req.Credentials = new NetworkCredential("username","password");
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
while ((read = stream.Read(buffer, total, 1000)) != 0)
{
total += read;
}
Bitmap bmp = (Bitmap)Bitmap.FromStream(
new MemoryStream(buffer, 0, total));
but when i compiled the code, the following message will be displayed what can I do to solve this?
"Grab Error: System.Net.WebException:The remote server returned an error:(400)Bad request. at System.Net.HttpWebRequest.GetResponse()"
Thanks for your help.
|
|
|
|
|
sourceURL is not a valid URL. That's one of the possibilities.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
I would appreciate a little more detail please,
let's say my ip camera address is 192.168.10.15
so I used string sourceURL = "http://192.168.10.15/nphMotionJpeg?Resolution=320x240&Quality=Standard";
so where exactly might be the problem..
Thanks again.
|
|
|
|
|
Can you check if the URL and request parameters that you are providing are valid?
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
Do you mean that the source address(URL),user name and password that I used is valid? If yes.
Then i can access my ip camera using the given address in my browser literally
Thanks again
|
|
|
|