assembly reference

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

Guest

private Playcontrol control = null;

private void Form1_Load(object sender, System.EventArgs e)
{
control = new PlayControl (this);
control.Show();

error:G:\Freddy\vb.net\iPlay\Form1.cs(75): The type or namespace name 'Playcontrol' could not be found (are you missing a using directive or an assembly reference?)
 
You have to the include the namespace where this PlayControl belongs.

example -

using SomeNamespace

private SomeNameSpace.PlayControl control = new SomeNameSpace.PlayControl();


--
Shak
(Houston)




freddy said:
private Playcontrol control = null;

private void Form1_Load(object sender, System.EventArgs e)
{
control = new PlayControl (this);
control.Show();

error:G:\Freddy\vb.net\iPlay\Form1.cs(75): The type or namespace name
'Playcontrol' could not be found (are you missing a using directive or an
assembly reference?)
 
Also, ensure that case is correct (private Play -->c<-- ontrol control =
null;).
 

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

Back
Top