Windows 7, VS2010, .NET and AxMSCommLib

孤人 提交于 2019-12-11 23:16:03

问题


I have a project that is referencing the AxMSCommLib in VS2010 C#.. My Windows 7 Dev machine doesn't have or can't find this reference. Does anyone have any info on where to get this reference to make it work?


回答1:


MSCommLib is an ancient VB6 control. I don't have it either anymore, even though I installed the VB6 runtime support on this machine. You'd have to dig up an old VB6 installer somewhere, no idea where to look. Maybe you can get it from an old machine, copy mscomm32.ocx into your c:\windows\system32 folder and register it with RegSvr32.exe

Time to switch to System.IO.Ports.SerialPort perhaps?



来源:https://stackoverflow.com/questions/3140914/windows-7-vs2010-net-and-axmscommlib

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!