VB.net Tutorials
51. How to create an XML file in VB.NET using Dataset
By: Issac : 2009-02-21
Description: Here we are going to create an XML file Product.XML using an ADO.NET Dataset. For that we have to manually create a Datatable first and add the data of Product.XML in the Datatable. Then add the Datatable in a Dataset. Call the method WriteXml of Dataset and pass the file name Product.XML as argument.
52. Multi Threaded Client Socket Programming in VB.net
By: Issac : 2009-02-21
Description: Multi Threaded Client Socket Program is a windows based application. Here the client program is connected to Server's PORT 8888 , and IP Address here we give Server Address as " 127.0.0.1 " , because Server and Client program run on the same machine.
53. Multi Threaded Server Socket Programming in VB.net
By: Issac : 2009-02-21
Description: Multithreaded Server Socket Progam is a Console application which can easily handle multiple clients at the same instant, we need to create a Server Socket from TcpListener class and listen to PORT 8888. When the server gets a request from Client, the Server passes the instance of the client request to a separate class handleClient. In handleClient class there is a Thread, which handles the communication between the instance of Server side client and Client from outside.
54. Multi threaded Socket Programming in VB.net
By: Issac : 2009-02-21
Description: We have already seen about communication between a single client and a server in the previous tutorials, but ironically there will be many clients making requests to a single server this is called Multithreaded Socket Programming, that means a Multithreaded Server can communicate with more than one client at the same time. From the following figure you can understand how a Server can communicate with more than one client at the same time.
55. Client Socket Program sample in VB.net
By: Issac : 2009-02-21
Description: The Client Socket Program we are gonna see in this article is continuation of the Server Socket Program. The Client Socket Program is also a Windows based application. Client connect to the Port 8888 of the Server Socket Program, and the IP Address (Computer Name) here we give as 127.0.0.1, because the Server and client running on the same machine.
56. Server Socket Program sample in VB.net
By: Issac : 2009-02-21
Description: The Server Socket Program is a VB.NET Console based Application. This program acts as a Server and listens to client's request. We have to assign Port 8888 for the Server Socket, it is an instance of the VB.NET Class TcpListener, and call its start () method.
57. Socket Programming in VB.net
By: Issac : 2009-02-21
Description: A Socket is an End-Point of to and From (Bidirectional) communication link between two programs (Server Program and Client Program) running on the network. We need A Server Socket Program (Server) and a Client Socket Program (Client); for running a socket program.
58. How to find IP Address of Host using .net code
By: Issac : 2009-02-21
Description: Here is a simple code for you to find the IP address of a host machine System.net namespace provides the information about IP Address.
59. Sending email using CDOSYS in VB.net
By: Issac : 2009-02-21
Description: You can also send email by using CDOSYS in VB.NET. For sending email using CDOSYS, you have to send email from Windows 2000/XP and also you have to be enabled SMTP Service in IIS.
60. How to send email using VB.NET code
By: Issac : 2009-02-21
Description: Surprised, we can use SMTP protocol and .net source code for sending an email, SMTP stands for Simple Mail Transfer Protocol, in VB.NET we can use System.Net.Mail namespace for send mail. We can instantiate SmtpClient class and assign the Host and Port. The default port using SMTP is 25, but it may vary different Mail Servers. The following example shows how to send emails from a Gmail address.