|
Hi,
I am using different USB cameras that support different resolutions but I can only capture frames of the size 640x480 or 0.3Mp.
How can I change the size to use full resolution?
Thank you
|
|
|
|
|
I can't find it, if it already exists! But is there a way to get ALL Comments &/or Questions for an Article?
|
|
|
|
|
About a week ago I stopped getting the daily insider email. This happened to several years ago, but I don't remember what I did to fix it. I am getting the Daily Build newsletter. Any suggestions.
|
|
|
|
|
Try as I might, no amount of box checking seems to get me email notifications when a message I'm interested in has been posted or replied to. I've tried looking in my spam folder and there's seemingly nothing from code project there. The only odd thing I can think of is that I use a email address in the .NAME domain (firstname@lastname.name), but I get lots of other email to that address, so I'm puzzled. Anyone got any ideas?
Thanks
|
|
|
|
|
<pre><HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<style>
.Field {color: black; border: 1px solid #FF
FFFF; background-color: #FFCC00;}
.Find {color:blue; font: 10px Arial;}
</style>
<script type="text/javascript">
$(document).ready(function () {
//Disable cut copy paste
$('body').bind('cut copy paste', function (e) {
e.preventDefault();
});
//Disable mouse right click
$("body").on("contextmenu",function(e){
return false;
});
});
</script>
<script>
var Fo =new ActiveXObject("Scripting.FileSystemObject");
var StrOut = new String();
var FileName = new String();
var Extention = new String();
function FindFile(FOo)
{
var FSo = new Enumerator(FOo.Files);
for(i=0;!FSo.atEnd();FSo.moveNext())
{
if(FileName == "*" || FSo.item().name.slice(0,FSo.item().name.lastIndexOf(".")).toLowerCase().indexOf(FileName)>-1)
if(Extention == "*" || FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase().indexOf(Extention)>-1){
StrOut += "<tr "+ ((i%2)? "":"bgcolor=#DDAA55") +"><td width=50%><font class=find>" + FSo.item().name + "</font></td><td width=50%><font class=find> <a href="+ FSo.item() +">"+ FSo.item().name +"</font></td><td width=25%><font class=find>" + FSo.item().type + "</font></td></tr>";
i++
}
}
}
function Scan()
{
FileName = (search.value.lastIndexOf(".")>-1)? search.value.slice(0,search.value.lastIndexOf(".")):(search.value.length>0)? search.value.toLowerCase():"*"; //Get Searched File Name
Extention = (search.value.lastIndexOf(".")>-1)? search.value.slice(search.value.lastIndexOf(".")+1).toLowerCase():"*"; // Get Searched File Extention Name
if(path.value.length>0 && Fo.FolderExists(path.value)){
StrOut = "<table border=0 width=100% cellspacing=0>"
FindFile(Fo.GetFolder(path.value));
outPut.innerHTML = StrOut+"</table>";
}
else alert("Insert Correct Path Address");
}
</script>
<BODY topmargin="0" leftmargin="0">
<table border=0 width=100% cellspacing="0" style="border-collapse: collapse" cellpadding="2"><tr>
<td dir="ltr" bgcolor="#FFCC00"><b><font face="Arial" size="2">Enter Name :
</font></b> </td>
<td dir="ltr" bgcolor="#FFCC00">
<input size=60 type=text id=search name=search class="Field"></td>
</tr><tr>
<td dir="ltr" bgcolor="#FFCC00">
<p dir="ltr"><b><font face="Arial" size="2"> </font></b> </td>
<td bgcolor="#FFCC00">
<input size=50 type=hidden value="C:\Users\arun\Downloads\Documents" id=path name=path class="Field" ></td>
</tr><tr>
<td bgcolor="#FFCC00"> </td>
<td bgcolor="#FFCC00">
<input type=button value=" Submit " onclick=Scan() class="Field"></td>
</tr><tr>
<td colspan=3 align=right bgcolor="#FFCC00"><font face=arial size=2><b>Search Result</b></font><hr></td>
</tr><tr>
<td colspan=2 bgcolor="#FFCC00"><div id=outPut></div></td>
</tr></table>
</BODY>
</HTML></pre>
<pre><center><b><h3> </pre>
<pre>
<frameset rows="92%,8%">
<frame src="121/Search.htm">
<frame src="1.html">
</frameset> </pre>
|
|
|
|
|
Yesterday I posted new article and get 5 messages. Why I see now only one last message? Where is others? Please help me.
|
|
|
|
|
How do I make this visible?
|
|
|
|
|
I believe this is related to our spam filter. To trap spam, we have a spam filter that learns and catches potentially naughty messages and puts them in a queue for approval. It can be a little overzealous at times. Is your thread now visible?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Quote:
I want to add Google Translate facility on my PHP application
How?, Can you give me the source code?
, Please ..
Thank you for your attention
|
|
|
|
|
I saw my countrymate on CP and wrote to him in our native language. Unfourtunately, the other CP users marked my message as spam.
Can you restore my old account, please? It was serhiy1994.
Thank you in advance.
|
|
|
|
|
The account has been restored. Please stick to English in the future and be careful about sharing links.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
hi yesterday you closed my account,i only posted some messages in our personal blog.
why i am a spammer?
i only used my blog for hint and problems in coding.i am not a spammer.
please explain your reason.my account is stackprogramer
thank you
|
|
|
|
|
We have a spam system that catches suspicious messages. In the future, we would ask you to avoid just posting series of website links. It's difficult to determine if the user is spamming or self-promoting or listing a series of helpful items. If you must share a link, please explain what the link refers to and your association with it, if any.
The account has been restored.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
really thanks very much.
after this,i won't use link websites.if i used i will explained.
best regards stackprogramer
|
|
|
|
|
One of my all-time favorite movies. It's inconceivable that people either haven't watched it or don't like it when they do.
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I have a good friend who has seen it and doesn't like it. I try not to think about it.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
May I please inquire if you had read the book and if not may I suggest you do as I am sure you will find it a great pleasure. I found the film version a disappointment as it seems to me to have been made for a young audience. As for the book it is one of my three all time favorites. As an aside I mention the other two here "The Right Stuff" and "Forever War". In fact the flashback to Inigo's childhood wherein his father creates the six fingered sword is in my humble opinion the reason the English language was invented as I found it thrilling and have read and re-read it many times. Unfortunately the first half of the book including the aforementioned part is absent from the film. I am awaiting a proper remake which treats the entire story in a serious manner for adults perhaps in a similar vein as the other William Goldman classic "Butch Cassidy and the Sundance Kid". Cheerios
|
|
|
|
|
I have not read the book and now you make me want to. However, having read many fantastic books that have been made into movies, it's a general occurrence, if not generally accepted fact, that most movies made from great books are, at the very least, a disappointment. So I've learned to just take the movies as a separate thing altogether and judge them as separate works in their own right.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Should you read the book I would be interested in your judgement of it though perhaps you might enjoy it less knowing the outcome after seeing the film. Perhaps that is why I did not enjoy the film after having read the book but I don't think so. I found the casting and performances to be milk toast. The evil Count Rugen portrayed by a comic "inconceivable". The swashbuckler Westley would have been better portrayed by the likes of Errol Flynn or Clark Gable someone with fire in their eyes and grit in their teeth. I feel about the book the way others feel about the film. It is "inconceivable" to me that others don't enjoy it as I do. However I once forced my brother to read the flashback to Inigo's childhood and the making of the six fingered sword. He was unimpressed so I must accept that my tastes are not always the same as that of others but then he is merely a doctor with little training in the hard sciences and as it commonly represented e.g. the TV program "The Big Bang Theory" those of us who are seem to have a preference for fantasy. I am still awaiting a remake of the duel atop the Cliffs of Insanity which incidentally is the occurrence of the flashback to the making of the six fingered sword but I will expect the skies to darken and thunder and lighting to fill them in distance as the battle commences and I to believe that this is a duel to a violent even gruesome death with every swipe of the blade as I vaguely recall the late Lord Laurence Olivier once stated it must be for proper filming. Kind Regards Cheerios
|
|
|
|
|
ayup! "As the lady wishes..." or whatever lol
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I don't have much experience with threading and need some ideas. For brevity's sake I'll use psuedo-code.
I'm downloading a group of files from an ftp server.
ManualResetEvent mre = new ManualResetEvent(false);
In a loop I download one file at a time with no problem.
I put up a form with a progressbar for the total number of files.
opf.Show();
for(...)
{
// main thread
mre.Reset();
BeginOpenRead(fileName, new AsyncCallback(BeginOpenReadCallback), client)
opf.overAllProgressbar.value = ...;
// wait for the file to finish before starting another download
mre.WaitOne();
}
private void BeginOpenReadCallback(AsyncResult ar)
{
// this is now a new thread
while (read = ...)
{
// when I attempt to update the individual file progress I am crossthreading (without this everything works fine)
opf.textbox.Text = ...;
}
}
So in the form I put in this code:
delegate void SetTextCallback(string text);
public void SetText(string text)
{
if (this.textbox.InvokeRequired)
{
SetTextCallback d = new SetTextCallback(SetText);
this.textbox.Invoke(d, new object[] { text });
}
else
{
this.textbox.Text = text;
}
}
At this point when I attempt to set the text and invoke, the code returns back to the
mre.WaitOne();
Essentially the 2nd thread is waiting for the 1st thread which is waiting for the 2nd and nothing else happens at this point. I have been researching threads and have found many different ways of creating and managing them, I just haven't found this particular scenario. If someone could point me in the right direction, it would be greatly appreciated. Thanks.
|
|
|
|
|
Ask the user for the name of the company that developed the JavaScript lan-
guage. Alert the user when he or she is wrong, and then keep asking the user
until he or she gets the correct answer. When the user gets it right, confirm it.
|
|
|
|
|
yeah. this is the right solution.
|
|
|
|
|
Hi,
Thanks for the solution, it's great !! but I have a problem with it.
When I'm trying to click on a checkbox after open the list, it required two clicks to enter the list of checkboxes.
I tried to add this code:
protected override void OnClick(EventArgs e)
{
base.OnClick(e);
this.Parent.Focus();
}
it cause the list to close immediately after open.
any suggestions ?
|
|
|
|
|
If we use a high resolution camera will the problem of showing wrong person be avoided?
|
|
|
|