1 Replies - 192 Views - Last Post: 30 November 2012 - 02:52 PM Rate Topic: -----

#1 LordAizen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 11-October 12

Refreshing/updating a form

Posted 30 November 2012 - 02:40 PM

Does anybody know how I can refresh the form every x number of seconds so that for example if:
If Txt_Password.Text = "" And Txt_ConPassword.Text = "" Then
        ElseIf Txt_Password.Text <> Txt_ConPassword.Text Then
            Txt_Password.BackColor = Color.Red
            Txt_ConPassword.BackColor = Color.Red


It will automatically turn red because I'm stuck at the moment I have tried
me.refresh

EDIT: I don't want to lose the user input within the text boxes also.

This post has been edited by LordAizen: 30 November 2012 - 02:41 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Refreshing/updating a form

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9277
  • View blog
  • Posts: 34,789
  • Joined: 12-June 08

Re: Refreshing/updating a form

Posted 30 November 2012 - 02:52 PM

Wouldn't a timer solve the refresh bit.. and session variables hold the data inbetween each refresh? At least that's the route I would go.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1