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
write a XML with database with book details( book id, author ,subject, published year, vendor,price, language )

Visual Processing: Our mind groups the things into patterns and this allows us to process the visual information. Understanding and applying how the human mind processes the v

CONTROL ARRAY The control array is a group of similar objects with similar name. Adding controls with control arrays uses less resource than simply adding the multiple controls

You are asked to create the LOTO game customized according to the following constraints: 1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20) 2. When t

I have a tiff image of 25 pages. I capture particular square from particular page and past on one excel sheet one by one. it is possible, if yes how. Image have line no and pe

I have an external application I open from visual studio (excel). I want to reposition where that opens (top, left).. How do I do that?

MESSAGES The Windows-based applications do not make explicit function calls to acquire input. They wait for the system to pass the input to them. The system passes input to the

A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

I''m doing a project on vb.NET. I''m stuck with this place where I should replace the text to different characters from textbox1 to textbox2 without changing text in textbox1. For

#questiontypes of lines and how to draw