Forum - Info Center - Eltima Software

Eltima Help Center => Virtual Serial Port Driver & Virtual Serial Port ActiveX => Topic started by: JohnColeman on July 12, 2012, 04:58:42 PM

Title: discrepancy in VSP Ax
Post by: JohnColeman on July 12, 2012, 04:58:42 PM
I'm trying to create my own VS C#2008 project using the trial version of the VSP Ax component.

I've copied this line into my code from CSExample

if (axVSPortAx1.CreatePort(strPort1.Text) || axVSPortAx1.Attach(strPort1.Text))

Unlike the provided example this returns false. The port is created though and visible in Device Manager?

help!
Title: Re: discrepancy in VSP Ax
Post by: alexander-britt on July 17, 2012, 02:45:00 PM
Hello John,

Sorry for the delay in replying.

Code: [Select]
I've copied this line into my code from CSExample

if (axVSPortAx1.CreatePort(strPort1.Text) || axVSPortAx1.Attach(strPort1.Text))

Unlike the provided example this returns false. The port is created though and visible in Device Manager?

1. What OS are you running (version, bit count)?

2. Does the described problem take place always or only on first run?