problems with application in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Porkie999
    New Member
    • Sep 2007
    • 19

    problems with application in vb.net

    Ok guys i have two problems here if you have a solution for either please just post the problem number either 1 or 2 then post the fix

    Thanks in Advance
    Regards
    george
    -------------------------------------------------------------------------------------------------------------------
    Problem 1
    hi i have made an application for a website now i got a news section on the application which i want to load like a text file from a website and it puts the text from that file into a label on my application

    to summarise

    (text file from website or text from a website ) --->gets data and sends to my application -->to news section on my application which then shows up to the users.

    i arent sure but i thought it could be like this? if iam going wrong with wot iam doing here just correct me, and if the website iam trying to load from isnt the sort needed just put a temporary one in please.all i need this this part sorting.

    "Label1.Tex t = System.Uri.UriS chemeFile.Conta ins("www.forums .star-fury.com/thread.php?tid= 12280&start=0") "

    -------------------------------------------------------------------------------------------------------------------
    Problem 2
    i want a auto refresh button on my application browser which refreshes the page every 5 minutes please can someone help me out here?
  • VBPhilly
    New Member
    • Aug 2007
    • 95

    #2
    Originally posted by Porkie999
    Ok guys i have two problems here if you have a solution for either please just post the problem number either 1 or 2 then post the fix

    Thanks in Advance
    Regards
    george
    -------------------------------------------------------------------------------------------------------------------
    Problem 1
    hi i have made an application for a website now i got a news section on the application which i want to load like a text file from a website and it puts the text from that file into a label on my application

    to summarise

    (text file from website or text from a website ) --->gets data and sends to my application -->to news section on my application which then shows up to the users.

    i arent sure but i thought it could be like this? if iam going wrong with wot iam doing here just correct me, and if the website iam trying to load from isnt the sort needed just put a temporary one in please.all i need this this part sorting.

    "Label1.Tex t = System.Uri.UriS chemeFile.Conta ins("www.forums .star-fury.com/thread.php?tid= 12280&start=0") "

    -------------------------------------------------------------------------------------------------------------------
    Problem 2
    i want a auto refresh button on my application browser which refreshes the page every 5 minutes please can someone help me out here?
    ok, for problem 1, have you considered RSS?
    otherwise, you'de be stuck parsing html which is not my cup o tea.
    With RSS, you can use the XML parser. or someting similar.

    Comment

    • Porkie999
      New Member
      • Sep 2007
      • 19

      #3
      hmmm i dont see how i could incorparate that in to application, and i aren't sure what you mean by rss?

      could you talk me through the detail.

      also is there any other ways of doing problem 1 such as it loading like a .....txt file from the internet ,then loading that into the update box?

      thanks for the reply

      Comment

      • VBPhilly
        New Member
        • Aug 2007
        • 95

        #4
        Originally posted by Porkie999
        hmmm i dont see how i could incorparate that in to application, and i aren't sure what you mean by rss?

        could you talk me through the detail.

        also is there any other ways of doing problem 1 such as it loading like a .....txt file from the internet ,then loading that into the update box?

        thanks for the reply
        you mentioned there was an application.

        in the application, what is the code?

        or, dont you have any code?

        Comment

        • Porkie999
          New Member
          • Sep 2007
          • 19

          #5
          the application is pritty much done however i just finishing the main section which is the news part.all the coding is there but i just need the code for the load announcemnts into a label1 from a website.its probably a simple 1 line of code but i just dont see how i can do it as iam new to codeing.

          any help with this or the autorefresh button will be greatly appreciated

          Comment

          • Porkie999
            New Member
            • Sep 2007
            • 19

            #6
            "Label1.Tex t = System.Uri.UriS chemeFile.Conta ins("www.forums .star-fury.com/thread.php?tid= 12280&start=0") "

            all i want is a line like this but this is wrong .it basically just loads the line from "www.forums.sta r-fury.com/thread.php?tid= 12280&start=0" and is meant to get the text from here and imports it into my label when my application starts

            Comment

            • QVeen72
              Recognized Expert Top Contributor
              • Oct 2006
              • 1445

              #7
              Hi,

              Check This for Auto Refreshing

              Regards
              Veena

              Comment

              • Porkie999
                New Member
                • Sep 2007
                • 19

                #8
                thanks for all topics however iam still struggling with both tasks iam kind off new to visual basics but have built a decent application.hel p out.

                Problem1
                need a way to load text from a website into my application.or a way for my application to load up a notepad file from any internet site.then my application puts it into the announcements section on my application.vb. net code needed.


                problem 2
                i want to be able to click a button which refreshes the browser every 5 minutes.vb.net code needed.

                summaries for problems
                thanks for responces
                george

                Comment

                • Porkie999
                  New Member
                  • Sep 2007
                  • 19

                  #9
                  ok guys both topics finished i sorted it :)

                  cheers 4 all help :)

                  Comment

                  Working...