vnewbie's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
71 (0.18 per day)
Joined:
28-April 12
Profile Views:
372
Last Active:
User is offline Jul 02 2012 02:18 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   vnewbie has not set their status

Posts I've Made

  1. In Topic: noob question create file

    Posted 2 Jul 2012

    Thanks, I have decided to have a think about it as i dont believe this is the best way to make the program.
  2. In Topic: Help with progress in a background worker

    Posted 7 Jun 2012

    Many thanks for your help, sorry I'm very much a newbie so would really appreciate it if you could tell me if i have done something wrong.

    Sorry but doesnt this coding mean that it will run the same task 10 to 100 times?
    'Do Work
        Const Max As Integer = 100
    
       For i = 1 To Max
          '  Task 1
     Backgroundworker1.ReportProgress(CInt(10 * i / Max), "" & i.ToString)
          '  Task 2
     Backgroundworker1.ReportProgress(CInt(20 * i / Max), "" & i.ToString)
          '  Task 3
     Backgroundworker1.ReportProgress(CInt(30 * i / Max), "" & i.ToString)
          '  Task 4
     Backgroundworker1.ReportProgress(CInt(40 * i / Max), "" & i.ToString)
          '  Task 5
     Backgroundworker1.ReportProgress(CInt(50 * i / Max), "" & i.ToString)
          '  Task 6
     Backgroundworker1.ReportProgress(CInt(60 * i / Max), "" & i.ToString)
          '  Task 7
     Backgroundworker1.ReportProgress(CInt(70 * i / Max), "" & i.ToString)
          '  Task 8
     Backgroundworker1.ReportProgress(CInt(80 * i / Max), "" & i.ToString)
          '  Task 9
     Backgroundworker1.ReportProgress(CInt(90 * i / Max), "" & i.ToString)
          '  Task 10
     Backgroundworker1.ReportProgress(CInt(100 * i / Max), "" & i.ToString)
                Next
    
    'Progress changed
    
    Me.progressBar1.Value = e.ProgressPercentage
    
    
    
  3. In Topic: How to edit my text file?

    Posted 26 May 2012

    Thanks Michael, top man
  4. In Topic: How to edit my text file?

    Posted 26 May 2012

    View Postm_wylie85, on 25 May 2012 - 02:33 PM, said:

    try looking up ToLower function that should do it


    Michael,

    Same as yesterday I tried my best trying to code this but for the life of me I can't get it to work. What have I done wrong here?

    It just keeps showing an empty text file.

         Dim Convertcolumn = From line In System.IO.File.ReadLines("Textfile1")
              Select line.Split(" "c)(1) & line.Split(" "c)(1).ToLower()
    
            Dim writer As IO.StreamWriter = New IO.StreamWriter("Textfile2")
    
            For Each line In Convertcolumn
                writer.Write((line) & Environment.NewLine)
            Next
    
    


    I'm trying to convert the second column

    From

    Textfile1

    D00001 BLACK user
    D00002 BLACK user
    
    



    To Textfile2

    D00001 black user
    D00002 black user
    
    
  5. In Topic: How to edit my text file?

    Posted 25 May 2012

    View Postm_wylie85, on 25 May 2012 - 01:53 PM, said:

    cheers for the green buy the way check this msdn site out some help videos on it

    http://msdn.microsof...studio/ff459609

    Good luck


    Thanks Michael, i will check it out.

    One last thing one of the columns is showing as uppercase how would I make it lowercase? I tried googling it but cant see anything?

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

vnewbie hasn't added any friends yet.

Comments

vnewbie has no profile comments yet. Why not say hello?