Dim x As String
x = "HELLO"
Dim tmpString As String
tmpString = Nothing
For j = 0 To x.Length - 1
Dim int
int=x.Length - 1
int=int-j
tmpString=x(j)
Next
Dim num,rev
num= inputbox("Enter a number")
If len(num)=4 Then
rev=rev*10 + num mod 10
num=num/10
num= left(num,3)
rev=rev*10 + num mod 1
Dim num,rev
num= inputbox("Enter a number")
If len(num)=4 Then
rev=rev*10 + num mod 10
num=num/10
num= left(num,3)
rev=rev*10 + num mod 10
num=num/10
num= left(num,2)
rev=rev*10 + num mod 10
num=num/10
num= left(num,1)
rev=rev*10 + num mod 10
msgbox "Reverse Order of the number is "&rev
Else
msgbox "Number, you entered is not a 4 digit number"
End If
0
num=num/10
num= left(num,2)
rev=rev*10 + num mod 10
num=num/10
num= left(num,1)
rev=rev*10 + num mod 10
msgbox "Reverse Order of the number is "&rev
Else
msgbox "Number, you entered is not a 4 digit number"
End If
Creation: Dim MyString As String
Reversal:
Dim ReversedString As String
Do Until (MyString.Length = 0)
ReversedString += MyString.Substring(MyString.Length - 1, 1)
MyString = MyString.Remove(MyString.Length - 1, 1)
Loop
Messagebox.Show(ReversedString)
for a=inputbox("enter no.")
while a>0
c=amod10
print c
a=a\10
wend
end if
end sub
That is easy programming
i m in ninth grade in India
Trunicate is when you trim a string in visual basic
Visual Basic was first released in 1992 Visual Basic was first released in 1998. This version included the ability to create web-based applications. Support for this version ended in 2005.
In visual Basic, the tab character has several representations:ChrW(9)vbTabControlChars.TabConvert.ToChar(Keys.Tab)Of these, the last is supported by all .NET languages (including C# where '\t' can also be used).To insert a tab into a Visual Basic string:Dim text As String = "abc"text.Insert (1, vbTab)To insert an ampersand, use the character literal '&':text.Insert (2, '&');
Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.
QBASIC is not a visual language, although it can be used to create very crude visual programs (much like a BIOS screen in appearence). In contrast, Visual Basic can be used to create Windows-Based programs using the appropriate GUI and as such far more user friendly. Personally, I would use PASCAL and DELPHI - Pascal is similar in functionality to QBASIC (although more advanced), but can be used within Delphi to achieve more visual results.
arrays programms in visual basic
Trunicate is when you trim a string in visual basic
Visual Basic is a computer development program. It's used to create .exe or executable programs.
Visual Basic is a computer programming language that can be used to create programs, but it is not a program in itself.
You can create anything you set your mind to.
string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.
Visual Basic create windows form applications. They are things like your Web Browser, e.g. Internet Explorer.
A basic visual symbol an aitist uses to create visual art
Visual Basic was first released in 1992 Visual Basic was first released in 1998. This version included the ability to create web-based applications. Support for this version ended in 2005.
Dim i as double = CDbl("12")
In visual Basic, the tab character has several representations:ChrW(9)vbTabControlChars.TabConvert.ToChar(Keys.Tab)Of these, the last is supported by all .NET languages (including C# where '\t' can also be used).To insert a tab into a Visual Basic string:Dim text As String = "abc"text.Insert (1, vbTab)To insert an ampersand, use the character literal '&':text.Insert (2, '&');
No, Visual Basic is a program on its own too, used to create programs. VBA is used in Excel and other programs (Visual Basic for Applications).