September 18th, 2013, 09:15 PM
Of course it takes asking the question publicly before finding my answer. For anyone else that may be interested, I cast my book to a worksheet, then activated.
_Book =...
September 18th, 2013, 08:29 PM
I don't do much work with LPT or USB, but for Com I use:
string[] PortList = SerialPort.GetPortNames();
foreach (string p in PortList)
{
...
September 18th, 2013, 08:25 PM
Best to close the port after you are done using it. Is your crash possibly caused by attempting to access an already open port (Access Denied) ?
September 18th, 2013, 08:21 PM
I had to do this once before. I set a registry value on TB exit, and read it on TB entry. I'm sure there is a cleaner way to do it, but it fit the bill for my project. The ultimate benefit was...
September 18th, 2013, 08:12 PM
Hello,
I have been attempting for weeks to find a good way to bind my C# app to Excel and/or Access. Since my users may or may not have the target document open, I need a way to either bind to the...