|
-
Feb 17th, 2010, 11:16 AM
#1
Thread Starter
Junior Member
Text Load From A Text File !!!
Hy all,
I tryng to say that,how can i load text in a text box or combo box.
Can anyone help me????
Thanks.
-
Feb 17th, 2010, 11:19 AM
#2
Re: Text Load From A Text File !!!
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Feb 17th, 2010, 12:01 PM
#3
Re: Text Load From A Text File !!!
Welcome to the forums. 
Presuming the file actually exists...
Code:
Open "c:\l0cal_h0st.txt" For Input As #1
Text1.Text = Input(LOF(1), 1)
Close #1
-
Feb 18th, 2010, 12:16 AM
#4
Re: Text Load From A Text File !!!
 Originally Posted by Hack
Welcome to the forums.
Presuming the file actually exists...
Code:
Open "c:\l0cal_h0st.txt" For Input As #1
Text1.Text = Input(LOF(1), 1)
Close #1
Hack, I must have stared at this code, going back and forth over the three posts, for at least 20 minutes. All that time spent trying to figure out how you knew the name of the text file that the OP wanted to input. Yeah, I finally, duh, saw it. You had me convinced that you were psychic!
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|