4 Replies - 773 Views - Last Post: 19 March 2010 - 09:27 PM Rate Topic: -----

#1 systemerror   User is offline

  • D.I.C Head

Reputation: -19
  • View blog
  • Posts: 205
  • Joined: 15-August 09

VB To C#

Posted 19 March 2010 - 07:04 PM

can any help me convert this VB code to C#?

                        myStreamReader = System.IO.File.OpenText(Open.FileName);
                    myStreamReader = System.IO.File.AppendText(Open.FileName);

Is This A Good Question/Topic? 0
  • +

Replies To: VB To C#

#2 JackOfAllTrades   User is offline

  • Saucy!
  • member icon

Reputation: 6260
  • View blog
  • Posts: 24,030
  • Joined: 23-August 08

Re: VB To C#

Posted 19 March 2010 - 07:08 PM

What, are you incapable of going to MSDN, searching for File.OpenText and reading?
Was This Post Helpful? 0
  • +
  • -

#3 systemerror   User is offline

  • D.I.C Head

Reputation: -19
  • View blog
  • Posts: 205
  • Joined: 15-August 09

Re: VB To C#

Posted 19 March 2010 - 07:11 PM

View PostJackOfAllTrades, on 19 March 2010 - 06:08 PM, said:

What, are you incapable of going to MSDN, searching for File.OpenText and reading?


I want to load the text in 588 labels bit 1 charter at a time 1234, 1 2 3 4
Was This Post Helpful? 0
  • +
  • -

#4 MentalFloss   User is offline

  • .
  • member icon

Reputation: 619
  • View blog
  • Posts: 1,590
  • Joined: 02-September 09

Re: VB To C#

Posted 19 March 2010 - 09:06 PM

I am absolutely in awe of your tenacity with this project. You have made around 10 posts about your 588 labels. Kudos to you.

I am also very respectful of you learning each piece as it comes up. You're going to far as a developer.

However, please stop dwelling on such details. Please just learn the language and the fundamentals and the methodology of the language. Please stop this project for now.

What you need to do is take some easy projects that can be done in a weekend and implement them fully. Then, when it's done, post it on here as a whole zip. Let someone rip it apart for you and tell you how to improve.

Then, from their advice, refactor your application to follow the good ideas.

After all this, let's talk about your 588 labels.
Was This Post Helpful? 0
  • +
  • -

#5 systemerror   User is offline

  • D.I.C Head

Reputation: -19
  • View blog
  • Posts: 205
  • Joined: 15-August 09

Re: VB To C#

Posted 19 March 2010 - 09:27 PM

View PostMentalFloss, on 19 March 2010 - 08:06 PM, said:

I am absolutely in awe of your tenacity with this project. You have made around 10 posts about your 588 labels. Kudos to you.

I am also very respectful of you learning each piece as it comes up. You're going to far as a developer.

However, please stop dwelling on such details. Please just learn the language and the fundamentals and the methodology of the language. Please stop this project for now.

What you need to do is take some easy projects that can be done in a weekend and implement them fully. Then, when it's done, post it on here as a whole zip. Let someone rip it apart for you and tell you how to improve.

Then, from their advice, refactor your application to follow the good ideas.

After all this, let's talk about your 588 labels.


All I need is that code to be converted
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1