Tutorials

Capture Data From PBX

Submitted by emond on
Im Back again ,with another Hardware interfacing project . Good For Engineering Students and for inhouse company programmers. This sample Tutorial how to capture data from a PBX (Panasonic KXTDA100) sorry i can't provide you all the code because we are selling the system in the market

Pass values between Windows Forms

Submitted by admin on

In my tutorial “How to Pass Value from One Form to another Form” I discussed how the other form received a value by using a Public Variable.

There are so many discussions on the Internet that argues whether Public Variable is a good programming practice compare to Property. Well, IMHO public variable is an option for simplicity. You do not need to waste line of code just to get the same result.

Get Youtube Video Thumbnails using VB 2008

Submitted by arjay_nacion on
This sample program demonstrates how to get youtube video thumbnails using VB 2008. Just enter the video URL at the textbox then using simple string manipulation, the program extracts the video id from the URL. The video id is the unique identifier of the video generated by youtube when the video was uploaded. This video id is necessary for retrieving the thumbnails for the videos.

How to Prevent Events to Fire More Than Once

Submitted by admin on
[inline:RemoveHandler.jpg=How to Prevent Events to Fire More Than Once]

If you are new to VB.NET most likely you encounter a problem with events like TextChanged or ValueChanged events.

In VB 6.0, change event is not fired when changing a value programmatically. However, in the .NET version this has been changed.

In order to avoid this problem you need to call a RemoveHandler Statement.

The following code is an example of this.

Conform with Standards using Microsoft FXCop, A Code Analysis Tool for .NET

Submitted by arjay_nacion on
When you are already in a production environment, working 8 hours a day or so, developing applications for clients, you must be aware of guidelines and standards needed to be followed in order to assure that your program is robust and maintainable.

How to Display the MS Chart to data Report!

Submitted by janzell on
' This code will make the MS chart converted to an image and load it to the data report.. MSChart1.EditCopy Picture1.Picture = Clipboard.GetData(vbCFMetafile) SavePicture Picture1.Picture, App.Path & "\Image1.wmf" Set animal.DataSource = recordset Set animal.Sections("section2").Controls.Item("Image1").Picture = LoadPicture((App.Path & "\Image1.wmf")) animal.Show