Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB
Help with making a Messaging Program in VB Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Go Back  Xtreme Visual Basic Talk > > > Help with making a Messaging Program in VB


Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2009, 12:32 AM
stewart94 stewart94 is offline
Newcomer
 
Join Date: Apr 2009
Posts: 2
Unhappy Help with making a Messaging Program in VB


OK, I didn't really know where to put this, so I put it in Communications.
For My programming class at school we are required to have made a program. So I decided to make a LAN messaging program which uses VB and Microsoft Winsock Control 6.0.

Im quite new and noob at using VB so i'm using a tut here, http://www.instructables.com/id/How-...visual-basic-/, to make the base program [if you know of a better method please post here]

As you can see if you've read it, he uses Microsoft Visual Basic 6.0, while I use Microsoft Visual Basic 2008 Express Edition. I can't find out how to put in the Winsock control! I need some help with this and any help and tips would be appreciated :]
Reply With Quote
  #2  
Old 04-26-2009, 09:39 AM
Qua's Avatar
QuaHelp with making a Messaging Program in VB Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

Winsock is an outdated control. In .NET you instead have the System.Net.Sockets namespace that among others allows you to do TCP and UDP transfers. There are a lot of information about using this namespace, but I'd say that using this namespace is a lot harder than using the Winsock control due to the fact that you most likely won't get a proper program working without using threading. Threading takes a while to learn, especially if the language is still new.

This article on Eggheadcafe has a very basic example of how to use the socket namespace.
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #3  
Old 05-08-2009, 09:57 PM
stewart94 stewart94 is offline
Newcomer
 
Join Date: Apr 2009
Posts: 2
Default

ok but, where do i get the microsoft winsock control, cos at school I can get it, but here at home I can't find it on my comp. Im running vista but doesn't it come preloaded?
Reply With Quote
  #4  
Old 05-08-2009, 10:23 PM
Qua's Avatar
QuaHelp with making a Messaging Program in VB Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

If I remember correctly, then it is not a part of the old VB runtimes package, which means that you'll have to find it online some place, or bring it home from school. DLL-files.com usually have the most common libraries, so I bet you can find it and download it from that page. After you've downloaded it, you'll need to register the file on your sysem. You can see this guide for how to register the control with your system.
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
 
Help with making a Messaging Program in VB
Help with making a Messaging Program in VB
 
-->