all groups > vb.net upgrade > december 2003 >
You're in the

vb.net upgrade

group:

Active X Components in VB.Net


Active X Components in VB.Net ray
12/4/2003 7:36:49 AM
vb.net upgrade:
I am developing a project in VB.Net Pro 2003 for a
PocketPC 2003 device which requires a MSComm and a
MSWinSck control. Adding the ..windows\system32
\mscomm32.ocx and mswinsck.ocx creates items on the
toolbox but they are greyed out and cannot be used. If I
try to add the 'com' control to the toolbox I get a
message that it cannot be added as it is not recognised
as a com server. I even tried creating the dll's via the
Aximp.exe program but that failed as well. I have also
tried adding a ref via the Project/add reference menu but
this only works with dll's and trying to add the winsck
dll fails with the message 'not a .net component'. I
have tried loading the vb6 Term sample which has a comm
control on it. This loads and shows the familiar mscomm1
control on the form but not on the toolbox or in the
Re: Active X Components in VB.Net Richard K Bethell
12/10/2003 9:15:19 AM
[quoted text, click to view]

I think your problem may be that you are developing for a non-win32
environment (i.e. WinCE or whatever its called these days is what the device
in question is using, no?)

I dob't think you can use plain old Win32 COM controls in that environment.
You'll have to find a way to do what you are doing it in native .NET code.
..NET can do TCP/IP communications natively. Don't know how you'd do serial
communications on a Pocket PC offhand.

R.

AddThis Social Bookmark Button