|
rosae619 wrote: I have heard about various development kits and some API helps.Here i want to use them and don't start from scratch so what should i do.
You should use the kits you have heard of. Have you studied them to discover whether they will solve your problem?
|
|
|
|
|
hi again.
thanx for the reply and suggestions.
I am searching for the free and open SDK.Upto now i haven't find any free and open SDK,so can u have any idea about it.Can u provide me the link and help about it,how to use it with C#.
waiting for the reply
|
|
|
|
|
rosae619 wrote: Can u provide me the link and help about it,how to use it with C#.
Sorry, but your original post suggested you already had these references. The most appropriate reference I could find on Google is Voice over WLAN[^]. I don't know what your background is but I think this would probably be quite a difficult subject unless you have extensive experience in producing network connected products.
|
|
|
|
|
hey ,,
thanx for the suggestion.
I'll visit the page and links.
Thanx again.
rosae
|
|
|
|
|
Dear All, I have hp dv5 laptop which comes with builtin webcam.
I am trying to do a very simple project which capture images from my webcam. show the images from my webcam and Just take a single snap shot from my webcam at any time i want (button click) and save that in picturebox.
yet i really didnt tried any code bz i dont have any ideas about this.
i would really appreciate ideas or links?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
of the 25000+ articles on this web site, a couple must deal with webcams, wouldn't you think?
And maybe "Windows Image Acquisition" will be mentioned somewhere too.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi,
I have a ListView in details view and I would like to prevent the user to resize the column widths.
Thanks in advance.
|
|
|
|
|
does it have a ColumnWidthChanging event? and would that support canceling?
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Yes it has and supports canceling but user can change the width even it's canceled. Just the resizing animation isn't shown.
|
|
|
|
|
SimpleData wrote: Yes it has and supports canceling but user can change the width even it's canceled. Just the resizing animation isn't shown.
You can use the ColumnWidthChanging [^]event of the listview.
But surprisingly, it seems to have a bug which MS has accepted. You can have a look here[^].
A possible workaround would be to cancel the event, and set the old width again. (kinda dirty...)
private void listView1_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e)
{
e.NewWidth = this.listView1.Columns[e.ColumnIndex].Width;
e.Cancel = true;
}
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
The trick is to also set the NewWidth property to the existing Width :
private void listView_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e)
{
e.NewWidth = listView.Columns[e.ColumnIndex].Width;
e.Cancel = true;
} [Edit] Manas posted whilst I was posting! [/Edit]
|
|
|
|
|
Thank you all. Workaround works like a charm.
|
|
|
|
|
|
and the question is?
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Very sorry guys, I thought I'm in the lounge
|
|
|
|
|
Nice but should be in Lounge
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Very sorry guys, I thought I'm in the lounge
|
|
|
|
|
Hi
In my project I have serial port communication..
which will receive three values with an interval of one sec, i want to store it in one single array, i don't know how to do it...
the values are
A0109000000000000i000(1 sec delay) B0109000000000000i000(1 sec delay) C0109000000000000i000
string res= new string[];
the value of res shld be
res=A0109000000000000i000B0109000000000000i000C0109000000000000i000
how to do this
Pls help me
|
|
|
|
|
hi guy,
if you only want to appent the string than you should use a System.Text.StringBuilder strBuilder.Appent(string);
to get the hole string use strBuilder.ToString()...
otherwise declare a generic array of type string, use the System.Collection.Generic.List<string> lst.Add(string);
after all values added copy the generic array to the string array
string res = new string[lst.count];
lst.CopyTo(res);
lst.Clear()
hope i could help!
greetz
|
|
|
|
|
Mads115 wrote: string res= new string[];
that does not compile. You declare a single value and instantiate an array.
Mads115 wrote: res=A0109000000000000i000B0109000000000000i000C0109000000000000i000
whereas this suggests a single string, not an array.
There are several ways to get your data, all assuming you use SerialPort class:
1.
with DataReceived event: read the available data and add it to a List<string>
when three elements are available, remove them from the list and join them together, possibly using string.Join
2.
with DataReceived event: if you're sure about the delays, then include a Thread.Sleep(2500) and read all available data, it will hold the three values (as the next two came in during the sleep).
3.
without DataReceived event: issue a blocking read for the right amount of data.
I would go for (1) as that is the cleanest approach.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Mads115 wrote: In my project I have serial port communication.
Mads115 wrote: string res= new string[];
You are going to have a tough time.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
I don't see why you'd want all three values in one string. A string array or a List would be a straightforward technique. Or you may want to define a class or structure to hold the values. It depends on what you plan to do with the values afterward.
|
|
|
|
|
I have a datagridview in which two clolumns are of combobox type.In one column i have country names in it.In second column i want the states names country to the country selected.
In this the problem is that when country name is changed in row n+1,the nth row value is also changing.
Please anyone can solve me this issue.
|
|
|
|
|
Its not possible unless you code in that way or I may not got your question.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
How are you binding the comboboxes? Can you post the code?
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|