C# Problem

Miscellaneous Forums/General Discussion/C# Problem

Hiya all,

I just made Math game in C#, when I click next question button and I want flashing Cursor in textbox. So that I can put the answer in.

The questions is How do You get Flashing Cursor in TextBox?

It's been a while since I did C# but can't you call a focus() action on the TextBox?

Who would play a math game anyway? JK :P

What Htbaa said.

// When I do click next questions button
// The flashing cursor will be in the textBox
Answer.Focus=true; // This cause the error and why that?

Your textbox is called Answer?

This seems to work, although I'm sure it's not the "proper" way.

Answer.BringToFront()

Tried Answer.Focus() ?

Tried Answer.Focus()? that the one....thank you GFK :)

I try to Publish Math game in http://www.microsoft.com/MathsGame/ but it is failed :(


Error 1 Failed to connect to 'http://www.microsoft.com/MathsGame/' with the following error: Unable to create the Web site 'http://www.microsoft.com/MathsGame/'. The components for communicating with FrontPage Server Extensions are not installed. 1 1 MathsGame


what I am doing wrong?

DO I need my own Hosting website to publish?

Lol, yes. Or did you think Microsoft will host everybodys projects? o.0

http://www.syntaxbomb.com/ has free hosting if you sign up...

lol squareiris

thanks yo! wazzup? :)