Results 1 to 7 of 7

Thread: [RESOLVED]how do i make a auto refresher with a program like...

  1. #1

    Thread Starter
    Fanatic Member Mxjerrett's Avatar
    Join Date
    Apr 2006
    Location
    Oklahoma
    Posts
    939

    Resolved [RESOLVED]how do i make a auto refresher with a program like...

    I am trying to make an auto refresher that you can start and stop with the push of a button that you can also tell it how often to refresh heres what i got:
    Last edited by Mxjerrett; Nov 25th, 2006 at 11:14 PM.

    If a post has been helpful please rate it.
    If your question has been answered, pull down the tread tools and mark it as resolved.

  2. #2
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: how do i make a auto refresher with a program like...

    no one is going to download and run a compiled program

  3. #3

    Thread Starter
    Fanatic Member Mxjerrett's Avatar
    Join Date
    Apr 2006
    Location
    Oklahoma
    Posts
    939

    Re: how do i make a auto refresher with a program like...

    oh sorry well i will just tell you its a regular browser that you can get by right click in the project menu and selection web browser

    If a post has been helpful please rate it.
    If your question has been answered, pull down the tread tools and mark it as resolved.

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,044

    Re: how do i make a auto refresher with a program like...

    Haven't seen your project but perhaps you could tell us what's your problem with it so we can offer help...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: how do i make a auto refresher with a program like...

    Quote Originally Posted by BrailleSchool
    no one is going to download and run a compiled program
    Absolutely correct.

    What are you trying to refresh?

  6. #6

    Thread Starter
    Fanatic Member Mxjerrett's Avatar
    Join Date
    Apr 2006
    Location
    Oklahoma
    Posts
    939

    Re: how do i make a auto refresher with a program like...

    the actually web browser that refreshes every second until the stop button is pressed

    If a post has been helpful please rate it.
    If your question has been answered, pull down the tread tools and mark it as resolved.

  7. #7
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: how do i make a auto refresher with a program like...

    Quote Originally Posted by Mxjerrett
    the actually web browser that refreshes every second until the stop button is pressed
    Like this?

    VB Code:
    1. Private Button As Boolean
    2. Private Sub Command1_Click()
    3.     Dim IntSec As String
    4.         If Button = False Then
    5.             IntSec = InputBox("Type the amount of sec you want the browser to refresh", "Amount of time to refresh")
    6.     If IsNumeric(IntSec) = True Then
    7.         If Left(IntSec, 1) = "-" Then
    8.             MsgBox Left(IntSec, 1)
    9.             Else
    10.                 IntSec = IntSec * 1000
    11.                 Timer1.Interval = IntSec
    12.                 Timer1.Enabled = True
    13.                 Button = True
    14.         End If
    15.         Else
    16.     MsgBox "Numbers only!"
    17.     End If
    18.         Else
    19.         Timer1.Enabled = False
    20.         Button = False
    21.     End If
    22. End Sub
    23.  
    24. Private Sub Form_Load()
    25.     Button = False
    26. End Sub
    27.  
    28. Private Sub Timer1_Timer()
    29.     WebBrowser1.Navigate "www.google.com"
    30. End Sub
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width