![]() Then right click the project in Solution Explorer, ![]() ' Replace the default code in Module1.vb with this code. ' Use this code inside a project created with the Visual Basic > Windows Desktop > Console Application template. Return (Handshake)Enum.Parse(typeof(Handshake), handshake, true) Handshake = defaultPortHandshake.ToString() String::Format(": ):", defaultPortHandshake.ToString()) If (stringComparer->Equals("quit", message)) _serialPort->Handshake = SetPortHandshake(_serialPort->Handshake) _serialPort->StopBits = SetPortStopBits(_serialPort->StopBits) _serialPort->DataBits = SetPortDataBits(_serialPort->DataBits) _serialPort->Parity = SetPortParity(_serialPort->Parity) _serialPort->BaudRate = SetPortBaudRate(_serialPort->BaudRate) _serialPort->PortName = SetPortName(_serialPort->PortName) Allow the user to set the appropriate properties. Create a new SerialPort object with default settings. Thread^ readThread = gcnew Thread(gcnew ThreadStart(PortChat::Read)) StringComparer^ stringComparer = StringComparer::OrdinalIgnoreCase Both computers must be executing the program to achieve full functionality of this example. In this example, the users are prompted for the port settings and a username before chatting. The following code example demonstrates the use of the SerialPort class to allow two users to chat from two separate computers connected by a null modem cable.
0 Comments
If you have autorun enabled on your computer, the menu shown below will appear when you insert the disc. The PX-716A comes with a CD full of software from Roxio and Dantz. With a drive like the PX-716A, enabling DMA is a must if you want to get the best reading and writing performance possible. The only thing left to do was to go into Device Manager and make sure DMA was enabled. When I turned on the computer the BIOS detected it as a drive supporting UDMA 66. After taking the drive out of the box, I left the jumper set to master and installed it on the secondary IDE chain by connecting the IDE cable and power connector. From start to finish, it took me only a few minutes to get it up and running. ![]() ![]() Like the other Plextor drives we've reviewed, the PX-716A was very easy to install. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |