Saturday, May 28, 2011

How to Check Code VB6 Functions


1. Click 'Start,' 'All Programs' and 'Visual Basic.' Click 'File' and 'New Project' to create a new project. Enter a name for the project and select a location for the project files.
2. Click 'Form1' under your new project on the navigation pane on the right side of the VB IDE. Click the toolbar and select button. Click the blank area in the Form1 to drop the button.
3. Double-click the button and enter the following code:Dim Str1='This'Dim Str2='is'Dim Str3='a joining Test'Dim Str AS StringStr=str1+str2+str3The 'Plus' sign is to concatenate strings together. The resulting string will be 'This is a joining test.'