Variable length strings, Visual Basic Programming

Variable Length Strings:

The Strings can be declared using As or $ as shown in the code below; the msg and msg1 are the two strings and they are assigned the values using '='. The value of msg string is displayed followed by space followed by msg1 contents. The yield would be:

Private Sub Command1_Click()

Dim msg As String

Dim msg1$

msg = "distance"

msg1 = "mca"

Form1.Print msg$ & " " & msg1$

End Sub

Posted Date: 10/9/2012 8:13:43 AM | Location : United States







Related Discussions:- Variable length strings, Assignment Help, Ask Question on Variable length strings, Get Answer, Expert's Help, Variable length strings Discussions

Write discussion on Variable length strings
Your posts are moderated
Related Questions
i need sample balance sheet form in vb.net

Assume that s is a string variable that is supposed to contain a value to be converted to integer. Write a fragment of code that converts the value to integer variable and displ

DIALOG BOXES IN VB The two dialog boxes, namely, the message box and the input box are usually used in the Visual Basic. The message box is used for displaying the messages to

DOCUMENT VIEW ARCHITECTURE The Document/View architecture is used to build an application based on the Microsoft Foundation Classes library. The Document/View architecture is s


Graphics Device Interface - GDI:   The GDI is a windows API. The GDI uses a set of generic graphics objects to draw to the screen, to the memory and printers. Therefore the p

Case: Design a web page that contains the VBScript utilized for calculating subtotals, taxes, discounts & totals as well as code utilized to validate use

what are the things that information system can do and their limitations?

i have a database i want mange it network and i want write it with vb.net so how i can do this

I need a VB6 software for making a soccerboard for 10 teams & automatically generate their fixtures