473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

assembly reference

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

Nov 16 '05 #1
2 3483
You have to the include the namespace where this PlayControl belongs.

example -

using SomeNamespace

private SomeNameSpace.PlayControl control = new SomeNameSpace.PlayControl();
--
Shak
(Houston)


"freddy" <fr****@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
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?)

Nov 16 '05 #2
Also, ensure that case is correct (private Play -->c<-- ontrol control =
null;).

"Shakir Hussain" <sh**@fakedomain.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You have to the include the namespace where this PlayControl belongs.

example -

using SomeNamespace

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

--
Shak
(Houston)


"freddy" <fr****@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
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?)


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul Klanderud | last post by:
I'm having a problem with being unable to remove a reference to an old, nonexistent version of a strongly- named assembly. I should mention that my issues arose at the same time I upgraded from...
3
by: Mountain Bikn' Guy | last post by:
This code (adapted from the examples in the docs) doesn't make complete sense to me. I have it working, but I'm wondering why I need to declare an assembly reference in 2 places. TIA. Dave ...
1
by: Greg Patrick | last post by:
My problem: I load an some assemblies (strong named) from a byte array using Assembly.Load(byte). They load fine. But one one of them is actually accessed, it's referenced assemblies can't be...
2
by: Brad | last post by:
I have one of those seemingly simple questions that evades/confuses me. I've created an assembly with bass classes (classes meant to be inherited in other assemblys). In a secondary assembly (my...
11
by: Just Me | last post by:
I have a solution containing many usercontrol projects. When I wish to reference a usercontrol in another project I can select either the project or the assembly. Does it make a difference which...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
5
by: Diffident | last post by:
Hello All, I am trying to add an assembly to GAC but having difficult time figuring out the concept of GAC. This is what I am trying to do.... 1. Installed NUnit framework whose DLL...
2
by: Terry | last post by:
I am finally able to call my .Net object from a VB6 project (see posting 'Calling VB.Net classes from VB6', thanks to the reference Tony gave me to:...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
2
by: Andrus | last post by:
I need compile in-memory assembly which references to other in-memory assembly. Compiling second assembly fails with error Line: 0 - Metadata file 'eed7li9m, Version=0.0.0.0, Culture=neutral,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.