Welcome to Code-Projects - Making Coding Easier
![]() |
|
| Guest Message by DevFuse | |
mepalival's Profile
Reputation: 0
Neutral
- Group:
- Members
- Active Posts:
- 2 (0.01 per day)
- Most Active In:
- General Coding/Programming Discussions (2 posts)
- Joined:
- 18-December 09
- Profile Views:
- 163
- Last Active:
Mar 09 2010 10:27 AM- Currently:
- Offline
My Information
- Member Title:
- 1-Bit Member
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Not Telling
Contact Information
- E-mail:
- Private
Latest Reputation
Current Reputation
- You have had no recent reputation since this hook was enabled.
Topics I've Started
-
Load textbox value from text file
27 January 2010 - 07:36 AM
I M newbie for vs2008
i m start a new project
it has 6 textboxes
my problem is that
how to load textbox value from text file
like this
text file data is
<name>Alex</name> <age>22</age> <address>57, rd street</address> <city>DC</city> <state>califonia</state> <pin>00000</pin>
I want to load in my application like this
Textbox1.text = "Alex" Textbox2.text = "22" Textbox3.text = "57, rd street" Textbox4.text = "DC" Textbox5.text = "california" Textbox6.text = "00000"
Thanks in Advance -
Multipal Repalce Text Data in TextBox
27 January 2010 - 07:09 AM
I M using small application
it has two textbox
i m put data in textbox1 and find output in textbox2
i want to do mulipal replace text in textbox2
like
Quote
"KB" to "kilobyte"
"MB" to "megabyte"
"GB" to "gigabyte"
"TB" to "terabyte"
For this i m using this Code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox2.Text = TextBox1.Text Dim i As Integer = 0 Do While i < 1000 i = i + 1 If InStr(TextBox2.Text, "kb") Then TextBox2.Text = Replace(TextBox2.Text, "kb", "kilobyte") ElseIf InStr(TextBox2.Text, "mb") Then TextBox2.Text = Replace(TextBox2.Text, "mb", "megabyte") ElseIf InStr(TextBox2.Text, "gb") Then TextBox2.Text = Replace(TextBox2.Text, "gb", "gigabyte") ElseIf InStr(TextBox2.Text, "tb") Then TextBox2.Text = Replace(TextBox2.Text, "tb", "terabyte") End If Loop End Sub
Is there any other way to make it easier !!







Sign In »
Register Now!
Find My Content
Display name history

Comments
Hyperz
11 Feb 2010 - 05:22Hyperz
07 Feb 2010 - 15:08