Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to read and write a specific cell of MS Excel File Pin
Abhijit Jana10-Dec-07 21:28
professionalAbhijit Jana10-Dec-07 21:28 
GeneralRe: How to read and write a specific cell of MS Excel File Pin
dipak.dipak11-Dec-07 0:13
dipak.dipak11-Dec-07 0:13 
GeneralRe: How to read and write a specific cell of MS Excel File Pin
Abhijit Jana11-Dec-07 1:51
professionalAbhijit Jana11-Dec-07 1:51 
Questiondatagridview Pin
avvaru.murali10-Dec-07 21:04
avvaru.murali10-Dec-07 21:04 
GeneralRe: datagridview Pin
I.explore.code10-Dec-07 22:47
I.explore.code10-Dec-07 22:47 
QuestionRe: datagridview Pin
avvaru.murali10-Dec-07 22:54
avvaru.murali10-Dec-07 22:54 
Questionhow to identify a device which is connected to com port Pin
premkamalg10-Dec-07 20:49
premkamalg10-Dec-07 20:49 
GeneralRe: how to identify a device which is connected to com port Pin
Luc Pattyn11-Dec-07 1:23
sitebuilderLuc Pattyn11-Dec-07 1:23 
Hi,

your subject line and message body do not match: what is it you want to identify, the port
to which something is attached, or that something itself?

in any way, it will need some cooperation from the attached device.

Here are the two basic ways to get information:

1. through the control lines
Some devices, when powered and enabled, pull one or several control lines (see SerialPort
properties CDHolding, CtsHolding, DsrHolding)

2. by actually communicating
send commands to the device and look for the responses, if they fit your expectations chances
are the expected device is on the port you are talking to.

If you want to find the port, you probably need to loop over all available ports (see
SerialPort.GetPortNames()

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


Sorry for any delays in replying, I currently don't always get e-mail notifications.


GeneralWrite Protecting a USB Flash Drive Programatically Pin
Ian Uy10-Dec-07 20:09
Ian Uy10-Dec-07 20:09 
QuestionRe: Write Protecting a USB Flash Drive Programatically Pin
Rojan Gh.10-Dec-07 22:41
professionalRojan Gh.10-Dec-07 22:41 
GeneralRe: Write Protecting a USB Flash Drive Programatically Pin
Ian Uy10-Dec-07 22:44
Ian Uy10-Dec-07 22:44 
QuestionXML or database...? Pin
Pankaj - Joshi10-Dec-07 19:52
Pankaj - Joshi10-Dec-07 19:52 
AnswerRe: XML or database...? Pin
StianSandberg10-Dec-07 20:34
StianSandberg10-Dec-07 20:34 
GeneralRe: XML or database...? Pin
blackjack215010-Dec-07 21:33
blackjack215010-Dec-07 21:33 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:25
Colin Angus Mackay10-Dec-07 22:25 
AnswerRe: XML or database...? Pin
darkelv10-Dec-07 21:05
darkelv10-Dec-07 21:05 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:20
Colin Angus Mackay10-Dec-07 22:20 
GeneralRe: XML or database...? Pin
darkelv11-Dec-07 0:30
darkelv11-Dec-07 0:30 
GeneralRe: XML or database...? Pin
Colin Angus Mackay11-Dec-07 1:50
Colin Angus Mackay11-Dec-07 1:50 
AnswerRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:28
Colin Angus Mackay10-Dec-07 22:28 
GeneralRe: XML or database...? Pin
anandakumarm10-Dec-07 23:02
anandakumarm10-Dec-07 23:02 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 23:32
Colin Angus Mackay10-Dec-07 23:32 
QuestionUnlock windws user Pin
pprabhu10-Dec-07 19:19
pprabhu10-Dec-07 19:19 
QuestionHow to Override internal abstract method? Pin
Mukesh Choudhari10-Dec-07 18:55
Mukesh Choudhari10-Dec-07 18:55 
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 19:48
N a v a n e e t h10-Dec-07 19:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.