MSComm & Winsock 
Author Message
 MSComm & Winsock

Hi

Looking for pure .NET replacements of the above OCXs.
Same interfaces are required to ease upgrade of existing code using them.
Pure .NET implementation needed because the code will also live on CE.NET
(No COM Interop or .Compatibility namespace etc)

Are replacements available and where please?

Cheers
Daniel



Sat, 04 Sep 2004 19:19:14 GMT  
 MSComm & Winsock
There are no direct replacements for these controls.  You'll need to write
code using the various namespaces to replace the functionality or pursue a
3rd party alternative if available.

 Thank You,
 Dale Roberson
 Microsoft Developer Support

 This posting is provided "AS IS" with no warranties, and confers no rights.
 You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
reserved.



Sun, 05 Sep 2004 21:23:54 GMT  
 MSComm & Winsock
Hi,

You can download NETComm.ocx from my homepage.  It is free, with no
restrictions.  It provides all of MSComm32's features.

If you want VB.NET code, I have a native serial communications class and
example code in my book.  See below.

--
Richard Grier  (Microsoft Visual Basic MVP)
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO  80228
303-986-2179 (voice)
303-986-3143 (fax)
Leave voice mail or fax that I can receive as email at 303-593-9315
Author of Visual Basic Programmer's Guide to Serial Communications, 3nd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order.  For faster service contact the publisher at
http://www.mabry.com/vbpgser .



Mon, 06 Sep 2004 00:06:27 GMT  
 MSComm & Winsock
Thanks...

Does the native serial communications class in your book work on CE.NET?
Does it expose the same properties (capabilities) of MSComm?

Cheers
Daniel

PS    These are the properties (along with the OnComm event that we use)...
CommPort : Integer

Settings : String (baud rate, parity, data bit & stop bit params)

PortOpen : Boolean

Input : Variant

Output : Variant

RTSEnable : Boolean

DTREnable : Boolean

CDHolding : Boolean

CommEvent : Integer (OnCommConstants)

        .NullDiscard = False

        .OutBufferSize = 1000

        .ParityReplace = ""

        .InBufferSize = 30000

        .EOFEnable = False

        .Handshaking = comRTS

        .InputLen = 0

        .InputMode = comInputModeText

        .RThreshold = 1


Quote:
> Hi,

> You can download NETComm.ocx from my homepage.  It is free, with no
> restrictions.  It provides all of MSComm32's features.

> If you want VB.NET code, I have a native serial communications class and
> example code in my book.  See below.

> --
> Richard Grier  (Microsoft Visual Basic MVP)
> Hard & Software
> 12962 West Louisiana Avenue
> Lakewood, CO  80228
> 303-986-2179 (voice)
> 303-986-3143 (fax)
> Leave voice mail or fax that I can receive as email at 303-593-9315
> Author of Visual Basic Programmer's Guide to Serial Communications, 3nd
> Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
> For information look on my homepage at http://www.hardandsoftware.net.
> Use the Books link to order.  For faster service contact the publisher at
> http://www.mabry.com/vbpgser .



Tue, 07 Sep 2004 19:37:35 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. MSComm and Winsock in VB.Net

2. Need help on MSComm and Winsock controls

3. WinSock/MSComm - SIngle Threaded

4. WinSock/MSComm - SIngle Threaded

5. Need help on MSComm and Winsock controls

6. WinSock/MSComm - SIngle Threaded

7. use of mapi,winsock,inet,mscomm

8. MSComm & Loops

9. MSComm & Carrier detect

10. Unicode & mscomm.input

11. MScomm & IRMan

12. MSComm control & Digi port expansion units

 

 
Powered by phpBB® Forum Software