XMCommCRCNET Information Page

Return to Hard & Software | Download XMCommCRCNET  and a simple upload/download example (about 27 KB)

What

The XM in XMCommCRCNET stands for XMODEM.

I wrote the XMComm ActiveX™ control using Microsoft® Visual Basic™ 6. It wraps the MSComm32.ocx that is furnished VB6 Professional and Enterprise Editions.  Recently I have added XMODEM file transfer capability to my DesktopSerialIO dll for Visual Studio 2003 and have named it XMCommCRCNET.  Thus, you no longer have to use an ActiveX control for serial file transfers.  Here are some features:

Why

Visual Studio 2003 does not provide a serial API (Visual Studio 2005 has one via the System.Ports.IO namespace).  So, I created DesktopSerialIO and a couple of other classes that are included with my book  Visual Basic Programmer's Guide to Serial Communication 5 (Septermber 2014).  However, XMODEM error-checked file transfer capability is lacking -- until now. 

One could use XMCommCRC.ocx (and there are examples that us it in .NET solutions in my book), but distribution and installation of .NET programs that use it is more complex than it might be with a native .NET dll.  I recommend that all new .NET applications that need XMODEM file transfers use this new dll.  One other advantage that XMCommCRCNET.dll has over XMCommCRC.ocx is its ability to address a full range of serial ports (Com1 through Com255).

Details

The object model at the left should answer most application questions.  For more detailed suggestions you can refer to my book for examples that employ XMCommCRC.ocx.  The logic will be comparable, but the actual implementation will vary slightly in syntax.

Feel free to ask me specific questions, but realize that my ability to answer is limited by time and resources.

Disclaimer

This .NET dll is provided free, without warranty of any kind. You are free to use it for any purpose that you deem reasonable, but the author is not responsible for any such use (or misuse), or for any damage that might result from its use. Treat this software like you would any beta software. It may work as described, but if it does not, you got what you paid for.

Feel free to contact me if you have problems. However, I cannot guarantee that I will be able to respond in a timely way. Please let me know about any successes.

Note:  This dll displays a Copyright popup when the program employing it instantiates a SerialPort object.  This may be removed by making a one-line change in the source code for the dll.  OK, how do you get it without the popup?  Any reader of my book may request a copy of both the source code and/or the dll without the popup.  Send me email to request this.  Alternately, you can purchase the dll without the popup from me for US$10.  To do this, use PayPal; my PayPal ID is hardandsoftware@comcast.net, or use the button below.

(This button may not work under Internet Explore -- it does work under Firefox!  My PayPal ID is hardandoftware@comcast.net, if you want to send me purchase manually)

Return to Hard & Software