Some VB questions

Technical Chatter here.
Post Reply
User avatar
Elite747




Critic Pyre Articulatist 500

Posts: 636
Joined: Wed Nov 30, 2005 5:57 pm
Location: Reach
Contact:

Some VB questions

Post by Elite747 »

First question is, is it at all possible to have a rich text box read info. from a text file?
2nd is how do I get FTP access?
Image
IACE|HALO VICIS|ELITE MODS
Tim Buckley wrote:Ignorance causes violence, not video games. Man up and take responsibility.
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Post by Tural »

A site worth checking out.
User avatar
Elite747




Critic Pyre Articulatist 500

Posts: 636
Joined: Wed Nov 30, 2005 5:57 pm
Location: Reach
Contact:

Post by Elite747 »

*sigh*
Whatever happened to answering questions these days?
Is there somebody who can answer my questions or do I have to register to the forum? :(
Image
IACE|HALO VICIS|ELITE MODS
Tim Buckley wrote:Ignorance causes violence, not video games. Man up and take responsibility.
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Post by Tural »

This is a Halo modding site. This question isn't about Halo, or modding, it's about programming. I gave you a link to a programming site, that is where you should check/ask.
Unilat




Articulatist 50

Posts: 100
Joined: Wed Oct 05, 2005 11:51 am

Post by Unilat »

Its a very simplle fix.

Create a new system.io.streamreader and have it read the .txt file or whatever you want. Then assign a string value to the read contents and print it in the textbox.

Heres some sample code

Code: Select all

        Dim reader As New System.IO.StreamReader(".txt path")
        Dim lines As String
        lines = reader.ReadToEnd
        notebox.Text = lines
        reader.Close()
Image
Please stop removing my sig. The last mod who edited it said height was 125, and thats what I put.
Post Reply