Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Please, how do I:

1. Create a Boolean called "fileOpened" and set it to False.

2. Create an instance (object) of IO.Stream called "myStream."

3. Create a "New" OpenFileDialog() instance (object) called "OpenFileDialog1."

4. Create two strings called "value" and "fileReader."

Writing this code will allow the user to search for a text file, open the file, and read the data into a RichTextBox.

Thank you very muck and I am waiting your answer.

Best regards,

Fred
Student.
Posted
Comments
DamithSL 23-Jun-12 13:35pm    
If you need to learn, first try yourself, you can Google and find tons of resources. if you are trouble, come here and show what you did and ask for solution.
[no name] 23-Jun-12 21:34pm    
Do your own homework.

Message from fredmord <ohenemordecai@yahoo.com>:
Hello Dave,

Thank you in the first place for solving one of questions for me. I am a student (novice) now learning VB. My assignment deadline is Monday June 25, 2012. So, kindly complete the solution for please.

2. Create an instance (object) of IO.Stream called "myStream."

3. Create a "New" OpenFileDialog() instance (object) called "OpenFileDialog1."

4. Create two strings called "value" and "fileReader."

Writing this code will allow the user to search for a text file, open the file, and read the data into a RichTextBox.

Thank you once again and I am counting on you.

Best regards,
Fred


I don't respond to direct emails. Keep it here in the public.

I already told you I, and nobody else here, is going to do your work for you. The assignment is there to see if YOU are learning the material presented, not us.

If we end doing your work for you, you pass the class, then you get a job in this field not knowing anything about what you're doing. Sorry, I'm not going to add yet another schmuck to our workforce who doesn't belong in it because they cheated their way through classes.
 
Share this answer
 
If you can't do #1 in your list, you REALLY need to pickup a beginners book on VB.NET and start working through. That's first-day material there.
Dim myBoolValue As Boolean = False

I'm not going to bother with the rest as this is reeking of homework question. We're not going to do your work for you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900