denotes a 'namespace' which is not valid in the given context

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is the Error msg that I get. The dieroll is a DLL that I have that has
been referenced.

Error Msg: 'dieroll' denotes a 'namespace' which is not valid in the given
context

This is the Code that it points to. the dieroll (1); has the blue line under
it!!!
private void CMD_BTN_R1_Click(object sender, System.EventArgs e)
{
dieroll (1);
displayDie (1);
}

Any Help would be grear.
 
KAnoe said:
This is the Error msg that I get. The dieroll is a DLL that I have that
has
been referenced.

Error Msg: 'dieroll' denotes a 'namespace' which is not valid in the given
context

This is the Code that it points to. the dieroll (1); has the blue line
under
it!!!
private void CMD_BTN_R1_Click(object sender, System.EventArgs e)
{
dieroll (1);

In this circumstance, you are trying to call a method "dieroll" with a
single parameter (1). If dieroll is a namespace this is entirely incorrect.
What are you *trying* to call?
 
It is a CMD_BTN that the usre clicks to roll only 1 Dice. The front end has
6 CMD_BTN's that the user can click to roll from 1 to 6 dice.
 
Back
Top