reset button

reset button in vb.net

Page 1 of 1

3 Replies - 15274 Views - Last Post: 17 March 2009 - 06:17 AM Rate Topic: -----

#1 SunnyVB  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 14-March 09

reset button

Post icon  Posted 14 March 2009 - 08:22 PM

Hi all,
I have just designed a noughts and crosses game but needs to incluse a button to start a new game. I have included a button that sets my button.image = nothing. This clears all the boxes but does not start a new game unless I recompile.

This post has been edited by SunnyVB: 14 March 2009 - 08:25 PM

Is This A Good Question/Topic? 0
  • +

Replies To: reset button

#2 coden4fun  Icon User is offline

  • if(coden4fun.NotTired){ ContinueToCode(); }
  • member icon

Reputation: 27
  • View blog
  • Posts: 696
  • Joined: 27-February 09

Re: reset button

Posted 14 March 2009 - 08:30 PM

got any code?
Was This Post Helpful? 0
  • +
  • -

#3 geek-i-am  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-March 09

Re: reset button

Posted 15 March 2009 - 03:24 PM

View PostSunnyVB, on 14 Mar, 2009 - 07:22 PM, said:

Hi all,
I have just designed a noughts and crosses game but needs to incluse a button to start a new game. I have included a button that sets my button.image = nothing. This clears all the boxes but does not start a new game unless I recompile.

I've just looked at your problem and it seems relativly simple to solve:
Application.Restart()

That should do the trick.
Was This Post Helpful? 0
  • +
  • -

#4 SunnyVB  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 14-March 09

Re: reset button

Posted 17 March 2009 - 06:17 AM

View Postgeek-i-am, on 15 Mar, 2009 - 02:24 PM, said:

View PostSunnyVB, on 14 Mar, 2009 - 07:22 PM, said:

Hi all,
I have just designed a noughts and crosses game but needs to incluse a button to start a new game. I have included a button that sets my button.image = nothing. This clears all the boxes but does not start a new game unless I recompile.

I've just looked at your problem and it seems relativly simple to solve:
Application.Restart()

That should do the trick.



Thank you very much! It worked!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1