Adblock breaks this site

Help me! its an easy answer wiv and easy question

Discussion in 'Programming General' started by rattytatt50, Nov 15, 2007.

  1. rattytatt50

    rattytatt50 Member

    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    The text in richtextbox1.text; how do i use the text in that to make my webbrowser1 in a separate form tranfer to.

    like wen i click it directs me

    many thanks for help
     
  2. rattytatt50

    rattytatt50 Member

    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    i managed to do it like this i think but it sends it to 'about:blank'
    Code:
    Main.WebBrowser1.Navigate(RichTextBox1.SelectedText)
    
     
  3. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

  4. rattytatt50

    rattytatt50 Member

    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    oh thanks!!
     
  5. rattytatt50

    rattytatt50 Member

    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    thats excellent cheers mate
     
  6. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    you can even add items to a listbox at runtime by using the .add or .addrange methods.

    Code:
    listbox1.items.add("item1")
    listbox1.items.addrange(new object() {"item1", "item2", "item3"})
     
  7. selling pin$

    selling pin$ Member

    Joined:
    Jun 16, 2007
    Posts:
    59
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    another easy ways is
    webbrowser1.navigate(listbox1.text)
     
  8. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    go to the listviews double click property and add this code

    Code:
    webbrowser1.mavigate(listview1.selecteditems(0).subitems(0).text)
    sorry for the late response, i've been on vacation.
     
  9. cooladrrang

    cooladrrang Active Member

    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0
    Help me! its an easy answer wiv and easy question

    webbrowser1.navigate(richtextbox1.text)
    this is alot easier and i think this is how you wanted it.
     
< how make a clicker | need help with outo thing... >


 
 
Adblock breaks this site