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

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.
 
D

Daniel O'Connell [C# MVP]

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top