T
Toothless
7s Official Dragon
Can someone shows me what it should look like in Visual Studio?
I don't remember the arguments for the function, but it's basically this. Notify is spelled wrong because it's spelled wrong in XRPC. The correct args should pop up in intellisense for you.Can someone shows me what it should look like in Visual Studio?
XRPC jtag = new XRPC();
jtag.XNotiy(args);
You're missing a '{'. You should really learn the language first.http://gyazo.com/114e08c48b9d9a3e4718e64bbec01df9 It says parts are broken.
Can you show me where at?You're missing a '{'. You should really learn the language first.
Your error list should say where it's missing.Can you show me where at?
Thank you. I'm just confused on how the xNotify should look when it is coded in.Your error list should say where it's missing.
EDIT: There are other errors with your code...you should really learn to use the IDE better.
The error in your solution is not with the XNotify statement. Which you can obviously see because it's not underlined with the error squiggle. The error is with the placement of your else condition. From what I can see, it's not inside the same block as your if statement.Thank you. I'm just confused on how the xNotify should look when it is coded in.
One thing at a time. He doesn't know how to use brackets so let's help him figure out the basics first.Why do you have a while statement ? There's no need for it unless you want it to freeze your program(guessing your not using threading) and have the message constantly pop up.
Better to tell him what's wrong with all his code now than to have him ask for help again and not tell him what's wrong with his code the first time.One thing at a time. He doesn't know how to use brackets so let's help him figure out the basics first.
LOL, I just realized he had the Notify in a while loop. Don't do that Toothless, your xbox will most definitely crash or freeze up.Why do you have a while statement ? There's no need for it unless you want it to freeze your program(guessing your not using threading) and have the message constantly pop up. Also that's not C/C++ code, that's .NET. As others have said you should learn to program before you directly hop into the console modding/programming world.
I just want text to appear on the console when the tool is connected for the first time.LOL, I just realized he had the Notify in a while loop. Don't do that Toothless, your xbox will most definitely crash or freeze up.
Then use an if/else statementI just want text to appear on the console when the tool is connected for the first time.
I know but I'm just learning C#.If Jtag.activeConnection Then
Jtag.Notify(XRPC.XNotiyLogo.FLASHING_DOUBLE_SIDED_HAMMER, "Toothless Blah Blah Blah")
Else
MsgBox("You need to connect 1st or something")
FLASHING_DOUBLE_SIDED_HAMMER, I like it b/c it's coooool to see
If you can't convert what he gave you to C# then you really don't know what you're doing. But hey I was the same way learning.I know but I'm just learning C#.
if (Jtag.activeConnection) {
Jtag.Notify(XRPC.XNotiyLogo.FLASHING_DOUBLE_SIDED_HAMMER, "Toothless Blah Blah Blah")
} else {
MessageBox.Show("No connection established!");
}
What you posted was VB .net. A useless language.Kind of just posted that.. but ok?