-
Aug 15th, 2006, 02:12 AM
#1
Thread Starter
New Member
where is Winsock Control in Visual Studio 2005
im doing a project in Visual Studio 2005, how do i add the Winsock control?
Thank you
-
Aug 15th, 2006, 02:49 AM
#2
Re: where is Winsock Control in Visual Studio 2005
You don't. The Winsock control is a COM-based VB6 control. In .NET Winsock is implemented by the classes in the System.Net.Sockets namespace. Like many things in VB.NET, it may be a bit more complex to grasp at first but it is much more functional and flexible than the VB6 equivalent. You should read the documentation for some of the classes and then look for examples of their use. The 2003 101 Samples contains a client/server chat application that uses the Socket class. You can easily open the sample in VB 2005. The 2005 101 Samples probably have examples of network programming too.
http://msdn2.microsoft.com/en-us/lib...t.sockets.aspx
Note that if you have VB6 installed on the same machine you can still use the Winsock control but I STROOOOONGLY recommend against it.
-
Aug 15th, 2006, 03:45 AM
#3
Thread Starter
New Member
Re: where is Winsock Control in Visual Studio 2005
thanx mate, i realised that after i post the msg here. I went to the MSDN website to read all the info about system.net.sockets. All i need to do, is being able to send some txt files to another pc on the local network. is there an example somewhere on the web i can look at? i dont think its that hard right?
-
Jul 3rd, 2007, 12:46 PM
#4
Junior Member
Re: where is Winsock Control in Visual Studio 2005
i use vb 2005 i have a winsock contorl in my toolbox, winsock_control.winsock i got it from an example is it good?
-
Jul 3rd, 2007, 12:58 PM
#5
Re: where is Winsock Control in Visual Studio 2005
It may be a VB 6 COM control imported into the example.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jul 3rd, 2007, 01:09 PM
#6
Re: where is Winsock Control in Visual Studio 2005
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 3rd, 2007, 01:18 PM
#7
Re: where is Winsock Control in Visual Studio 2005
Yes, that link as well as others are available in the sticky thread at the top of the vb.net forum
http://vbforums.com/showthread.php?t=311501
for 2003 or 2005 .net.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Dec 31st, 2008, 08:18 AM
#8
New Member
Re: where is Winsock Control in Visual Studio 2005
Hi
please install VB6
and then add MSWINSCK.OCX in toolbox (com reference)
MSWINSCK.OCX added after install vb6
-
Jan 4th, 2009, 05:28 PM
#9
Re: where is Winsock Control in Visual Studio 2005
No, its best not to use legacy COM controls in .NET when in 2008 there is a new winsock control
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Nov 4th, 2009, 08:39 PM
#10
New Member
Re: where is Winsock Control in Visual Studio 2005
Does anyone have any experience using system.net.sockets in Microsoft Access?
-
Nov 4th, 2009, 08:57 PM
#11
Re: where is Winsock Control in Visual Studio 2005
Originally Posted by tkamp
Does anyone have any experience using system.net.sockets in Microsoft Access?
System.Net.Sockets is a namespace containing classes used to communicate between a client and server over a network. How does that relate to Access exactly?
-
Nov 4th, 2009, 10:09 PM
#12
New Member
Re: where is Winsock Control in Visual Studio 2005
Microsoft Access includes Visual Basic, however I do not seem to get the namespace working.
-
Nov 5th, 2009, 12:46 AM
#13
Re: where is Winsock Control in Visual Studio 2005
Originally Posted by tkamp
Microsoft Access includes Visual Basic, however I do not seem to get the namespace working.
I've never done any actual programming in Access so I'm only 99.9% sure but I think you'll find that Access includes VBA, not VB.NET. VBA is like (or may actually be) a subset of VB6. To program for Access using VB.NET you'd have to be using VSTO or VSTA within Visual Studio, in which case you have, as far as I'm aware, access to the full .NET Framework, just as you do for any other project.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|