Help me please

Discussion in 'Programming General' started by tomanderson12, Jan 23, 2008.

Help me please
  1. Unread #1 - Jan 23, 2008 at 1:08 PM
  2. tomanderson12
    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0

    tomanderson12 Member

    Help me please

    ok im working on a webbrowser as some of you might be aware i want a label saying "Done" to appear when the loading bar is finished like internet explorer does, and how can i make it store sites even when you close the program down
    ? im talking about vb 08 btw

    Thanks
     
  3. Unread #2 - Jan 23, 2008 at 1:28 PM
  4. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Help me please

  5. Unread #3 - Jan 23, 2008 at 6:49 PM
  6. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    Help me please

    its very easy to change the text, for the web browsers statustextchanged property with a label add this simple line of code.

    Code:
    label1.text = webbrowser1.statustext
     
  7. Unread #4 - Jan 24, 2008 at 2:57 AM
  8. hmm
    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5

    hmm Active Member

    Help me please

    not to try and be mr.mod or something, but vb08=.net..please post it there, would avoid people posting you vb6 code.

    for the sites, on navigate you could have it store the website address to a string, or add them to a listview/listbox.

    for listview heres howto use listview for it.

    load:
    Code:
                Dim sr As IO.StreamReader = New IO.StreamReader("C:\filenamehere.txt")
                While sr.Peek >= 0 ' or sr.endofstream=false
                   ListView1.Items.Add(sr.ReadLine) 'will add the txt to a listview. 
                End While
      sr.Close()  
    
    save:
    Code:
                Dim sw As IO.StreamWriter = New IO.StreamWriter("C:\filenamehere.txt")
                For i As Integer = 0 To ListView1.Items.Count - 1
                    If i = ListView1.Items.Count - 1 Then
                        sw.Write(ListView1.Items(i).Text)
                    Else
                        sw.WriteLine(ListView1.Items(i).Text)
                    End If
                Next
                sw.Close()
    


    progress bar: not sure what you mean, nor what you already have done.(progress bar already work?)
     
  9. Unread #5 - Jan 24, 2008 at 10:30 PM
  10. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    Help me please

    answers were vb.net. (at least mine was)


    he was talking about a status label and i already answered the question. both questions had been answered, but you provided a smaller answer for loading and saving the websites with a listview.

    by the way, love your signature.
     
< vb2005 datagrid records editing locked with the priviledge to edit only newly added r | simple help i think.. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site