Visual Studio 2010套接字

编程入门 行业动态 更新时间:2024-10-28 06:32:12
本文介绍了Visual Studio 2010套接字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经在VB6中编程了多年,现在可以转换为Visual Studio 2010 Visual Basic.它具有框架4.0.我曾经使用Winsock控件连接到条形码阅读器.连接简单,我正在寻找从扫描仪输入的数据,还将数据发送到扫描仪以触发读取. 我无法弄清楚如何使用vb套接字.我的系统是Windows 7 64位. 任何帮助都很好!!! 谢谢, Joe

I have programmed in VB6 for years and now converting to Visual Studio 2010 Visual Basic. It has framework 4.0. I use to use a Winsock control to connect to a barcode reader. Simple connection and I''m looking for just the data comming in from the scanner and also send data out to scanner to trigger a read. I cannot figure out how to do it with vb sockets. My system is Windows 7 64 bit. Any help would be great!!! Thanks, Joe

推荐答案

没有"Visual Studio套接字"之类的东西.结案. 最后的几点评论: Visual Studio是IDE. VB.NET是一种语言(不支持VB,VB.NET是完全不同的语言).使用VB.NET编译器的过程会生成代码. Visual Studio 2010确实具有VB.NET编译器.编译器与(免费分发).NET Framework捆绑在一起.您实际上并不需要Visual Studio来构建项目和解决方案.它是由MSBuild完成的. 套接字库与程序集System.DLL一起提供.它随.NET Framework一起提供.您可以使用类System.Net.Sockets.Socket, msdn.microsoft /en-us/library/system.sockets.socket.aspx [ ^ ]或其他类,例如System.Net.Sockets.TcpListener/TcpClient. 应用程序的运行时不需要Visual Studio. 圣诞老人不存在. 您需要有关孩子来自何处的一些信息吗?
—SA
There is no such thing as "Visual Studio Sockets". Case closed. Some final remarks: Visual Studio is the IDE. VB.NET is a language (VB is not supported, VB.NET is absolutely different language). It is processes using a VB.NET compiler which produces the code. Visual Studio 2010 does have VB.NET compiler. The compiler is bundled with (freely distributed) .NET Framework. You don''t really need Visual Studio to build projects and solutions. It''s done by MSBuild. Sockets library comes with the assembly System.DLL. It comes with .NET Framework. You can use the class System.Net.Sockets.Socket, msdn.microsoft/en-us/library/system.sockets.socket.aspx[^] or other classes, such as System.Net.Sockets.TcpListener/TcpClient. Run-time of the application does not need Visual Studio. Santa Clause does not exist. Do you need some information on where children come from?
—SA

更多推荐

Visual Studio 2010套接字

本文发布于:2023-10-24 08:18:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1523423.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!