Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cast Problem Pin
Bill Dean7-Apr-04 1:44
Bill Dean7-Apr-04 1:44 
QuestionHow to delete file on client side using remote object Pin
dephlocus6-Apr-04 23:54
dephlocus6-Apr-04 23:54 
AnswerRe: How to delete file on client side using remote object Pin
Judah Gabriel Himango7-Apr-04 4:06
sponsorJudah Gabriel Himango7-Apr-04 4:06 
GeneralMem Usage Pin
DougW486-Apr-04 23:25
DougW486-Apr-04 23:25 
GeneralRe: Mem Usage Pin
Dave Kreskowiak7-Apr-04 1:35
mveDave Kreskowiak7-Apr-04 1:35 
GeneralRe: Mem Usage Pin
DougW487-Apr-04 1:43
DougW487-Apr-04 1:43 
GeneralRe: Mem Usage Pin
Heath Stewart7-Apr-04 6:13
protectorHeath Stewart7-Apr-04 6:13 
GeneralUserControl and interface implementation Pin
Corneliu Tusnea6-Apr-04 22:28
Corneliu Tusnea6-Apr-04 22:28 
Hi,

I've found a very strange problem and I badly need a fix for it.
I have a simple interface defined in one class library, let's say WindowsLibrary1:
[code]
namespace WindowsLibrary1
{
public interface ITest
{
void Test();
}
}
[/code]

I reference this class library from another project that is a WindowsApplication, lets say: WindowsApplication1.

In the WindowsApplication1 I create a simple usercontrol: UserControl1:
[code]
public class UserControl1 : System.Windows.Forms.UserControl, WindowsLibrary1.ITest
{
....
public void Test()
{ // implementation of the WindowsLibrary1.ITest.Test()
}
}
[/code]

Ofcourse all compiles fine, but I can not use this usercontol at all.
Whenever I try to drop the control on a form I get the following error message:
---------------------------
Microsoft Development Environment
---------------------------
The user control 'WindowsApplication3.UserControl1' could not be loaded. Ensure that the library containing the control has been built and a project reference has been made to the library containing the control. If you have changed the name of the user control, close and re-open the control's designer to update the toolbox item.
---------------------------
OK
---------------------------

I badly need this to make it work, so any help is greatly appreciated.
Thanks,
Corneliu.

PS>> Environment: VS.Net 2003, WinXP.

GeneralRe: UserControl and interface implementation Pin
Heath Stewart7-Apr-04 5:46
protectorHeath Stewart7-Apr-04 5:46 
GeneralRe: UserControl and interface implementation Pin
Corneliu Tusnea7-Apr-04 13:26
Corneliu Tusnea7-Apr-04 13:26 
Generaluneable to update an Access database Pin
michael.wikstrom6-Apr-04 22:14
michael.wikstrom6-Apr-04 22:14 
GeneralRe: uneable to update an Access database Pin
Heath Stewart7-Apr-04 4:49
protectorHeath Stewart7-Apr-04 4:49 
GeneralAutomailer Pin
sreejith ss nair6-Apr-04 19:54
sreejith ss nair6-Apr-04 19:54 
GeneralRe: Automailer Pin
Dave Kreskowiak7-Apr-04 1:43
mveDave Kreskowiak7-Apr-04 1:43 
QuestionHow to get the IP of SqlServer? Pin
Member 6449646-Apr-04 19:53
Member 6449646-Apr-04 19:53 
AnswerRe: How to get the IP of SqlServer? Pin
Colin Angus Mackay7-Apr-04 0:12
Colin Angus Mackay7-Apr-04 0:12 
GeneralRe: How to get the IP of SqlServer? Pin
Member 6449647-Apr-04 15:58
Member 6449647-Apr-04 15:58 
GeneralRe: How to get the IP of SqlServer? Pin
Dave Kreskowiak8-Apr-04 3:06
mveDave Kreskowiak8-Apr-04 3:06 
AnswerRe: How to get the IP of SqlServer? Pin
Heath Stewart7-Apr-04 4:42
protectorHeath Stewart7-Apr-04 4:42 
GeneralRe: How to get the IP of SqlServer? Pin
Member 6449647-Apr-04 16:00
Member 6449647-Apr-04 16:00 
GeneralDatagrid Record Numbering Pin
sreejith ss nair6-Apr-04 19:49
sreejith ss nair6-Apr-04 19:49 
GeneralRe: Datagrid Record Numbering Pin
Heath Stewart7-Apr-04 3:52
protectorHeath Stewart7-Apr-04 3:52 
QuestionMicrosoft.DirectX and image ??? Pin
student66696-Apr-04 19:39
student66696-Apr-04 19:39 
AnswerRe: Microsoft.DirectX and image ??? Pin
CWIZO6-Apr-04 20:52
CWIZO6-Apr-04 20:52 
GeneralRe: Microsoft.DirectX and image ??? Pin
Heath Stewart7-Apr-04 3:47
protectorHeath Stewart7-Apr-04 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.