You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
XeXStozza
  • Powerhouse
Status: Offline
Joined: Jun 08, 201211Year Member
Posts: 407
Reputation Power: 18
Status: Offline
Joined: Jun 08, 201211Year Member
Posts: 407
Reputation Power: 18
MHU_Lobbies wrote I'm a beginner, and just started this tool. Don't know anything sorry.

Okay well first don't use Jtag.Call within the TextChanged just create a button to deal with that otherwise it won't work
Example
private void buttonX2_Click(object sender, EventArgs e)
{
 int client = (int)numericUpDown1.Value;
try
{
Jtag.Call(SV, client 1, textBox1.Text);
}
catch
{
MessageBox.Show("Console is not connected")
}
}
#12. Posted:
IDA
  • Powerhouse
Status: Offline
Joined: Sep 21, 201310Year Member
Posts: 454
Reputation Power: 26
Status: Offline
Joined: Sep 21, 201310Year Member
Posts: 454
Reputation Power: 26
XeXStozza wrote
MHU_Lobbies wrote I'm a beginner, and just started this tool. Don't know anything sorry.

Okay well first don't use Jtag.Call within the TextChanged just create a button to deal with that otherwise it won't work
Example
private void buttonX2_Click(object sender, EventArgs e)
{
 int client = (int)numericUpDown1.Value;
try
{
Jtag.Call(SV, client 1, textBox1.Text);
}
catch
{
MessageBox.Show("Console is not connected")
}
}


or...

try {
Jtag.Connect();
}
catch(Exception ex)
{
MessageBox.Show("Failed to Connect, Error at :" + ex.Source);
}


petty but gives a reason why ;)


Last edited by IDA ; edited 1 time in total
#13. Posted:
MHUTricK
  • Powerhouse
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 414
Reputation Power: 17
XeXStozza wrote
MHU_Lobbies wrote I'm a beginner, and just started this tool. Don't know anything sorry.

Okay well first don't use Jtag.Call within the TextChanged just create a button to deal with that otherwise it won't work
Example
private void buttonX2_Click(object sender, EventArgs e)
{
 int client = (int)numericUpDown1.Value;
try
{
Jtag.Call(SV, client 1, textBox1.Text);
}
catch
{
MessageBox.Show("Console is not connected")
}
}

Didn't mean to put it to auto change, but it still works btw.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.