In this article I would like to share with you guys a simple program that I wrote using Microsoft Visual Basic 6 that will ask the user to give a string and then the program will remove the vowels in the given string of the user.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly
contact me in the following email address for further details. If you
want to advertise on my website kindly contact me also in my email
address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com,
and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.
Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com.
Sample Program Output
Program Listing
Public Function StripChars(Inputme, Remove) As String
Dim n As Integer
StripChars = Inputme
For n = 1 To Len(Remove)
StripChars$ = Replace$(StripChars, Mid(Remove, n, 1), "")
Next n
End Function
Private Sub Command1_Click()
Dim str_val As String
str_val = StripChars(Form1.Text1.Text, "AEIOUaeiou")
Form1.Text2.Text = str_val
End Sub
Private Sub Command2_Click()
Form1.Text1.Text = ""
Form1.Text2.Text = ""
Form1.Text1.SetFocus
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Form1.Show
End Sub
Dim n As Integer
StripChars = Inputme
For n = 1 To Len(Remove)
StripChars$ = Replace$(StripChars, Mid(Remove, n, 1), "")
Next n
End Function
Private Sub Command1_Click()
Dim str_val As String
str_val = StripChars(Form1.Text1.Text, "AEIOUaeiou")
Form1.Text2.Text = str_val
End Sub
Private Sub Command2_Click()
Form1.Text1.Text = ""
Form1.Text2.Text = ""
Form1.Text1.SetFocus
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Form1.Show
End Sub
No comments:
Post a Comment