|
Hi All!
I develop some kind of serial port logger app, and I need to test id witouth the target device. I have sample output in a text file from the device.
How can I do the test?
Sombody know some port emulator, witch read from file, and send tata, or can I do some loopback somehow?
Thanks for help!
|
|
|
|
|
Hi all,
I'm not sure what is wrong with the following code:
ListViewItem _numItem = lvNumberChekker.Items.Add("klkl");
the error underlines the "lvNumberChekker.Items.Add" part and it says: Cannot implicitly convert type 'int' to 'System.Windows.Forms.ListViewItem'
I've done pretty much the same thing on another section and it works fine.
please help
Thank you in advance
Nico
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Hi,
I think it should work. Are you sure lvNumberChekker is really a ListView (if its a ListBox the message would make sense)?
Robert
|
|
|
|
|
Thank you, That was exactly it. I through a CheckedListBox onto my form without realizing it. Thank you, i changed it to a ListView with checkboxes.
I completely missed that one.
Thanks.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
hi
i want write program same as Babylon Dictionary to get text when click middle mouse ?
i want to know that i should use OCR or i can use user32.dll and .net function...
please help me
tnx
Mory0Tiki
|
|
|
|
|
on double click any text get selected automatically(it's windows default behaviour).and you can get that selected text.hope it'll solve your problem
sameer
|
|
|
|
|
txn for your post but i want use whitout click and use that text in my program like Babylon your solution when i want get button ,menu ... don't work because when i get button's text ,button will be clicked ...
Mory
0
Tiki
|
|
|
|
|
Hi,
I would like to assign F10 some code, but I notice that F10 activates the Main Menu. Is there a way to stop F10 from doing this?
if(e.KeyValue == 121)//F10
{
//Do something
}
Thanks,
Ron
|
|
|
|
|
It's generally bad practice to remap the standard function keys and shortcuts. This can end up confusing your users. Imagine if pressing F1 invoked copy instead, and Ctrl+C invoked help - people would soon complain.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
write your code in KeyPress event and after writting your code write e.Handle=true;
sameer
|
|
|
|
|
|
how to create nested structure which has an array of structure inside it.
thanks.
|
|
|
|
|
Something like this should help:
public struct MyClass<br />
{<br />
public int MyInt;<br />
private struct MyStruct2<br />
{<br />
public MyClass[] MyClasses;<br />
}<br />
}
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
how to create array of elements of structure for the outside array and how can i set the inner structure array to consist 10 elements for which i got the errors.
pls help,
thanks.
|
|
|
|
|
Hi,
I have no experiance with SNMP but i am asked whether snmp is set to readonly or it permits writing.
May anybody help me?
thanks,
- ferudun
|
|
|
|
|
How to open an existing pdf file with some data pre-populated and then aloow editing it too?
vijeta
|
|
|
|
|
|
|
code you explain more..........
Tamimi - Code
|
|
|
|
|
i placed datagrid control.
i already created a texfile so i have to read textfile and place into datagrid.
|
|
|
|
|
the datagrid control can not be bind to a text file.
please explain more, give more details, maybe you choose the wrong
control to dispaly your data
Tamimi - Code
|
|
|
|
|
I'm guessing you have a textfile that is in some way formatted.
I won't go into specifics, but here's a general overview of a way you could solve the issue.
Greate a DataSet or DataTable (where appropriate), and generate columns within the code.
Parse the lines of the text file and then add those as rows in the datatable.
Bind a datagrid (or better, a datagridview in 2.0) using databinding to the datatable.
If you don't know any of these forms, or are confused, check the MSDN documentation, they do specifics a lot better than me.
|
|
|
|
|
pls send money.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Tamimi - Code
|
|
|
|
|
reading a data from textfile into datagrid in c#
|
|
|
|