Hi,
I'm working on a Win form application which is being developed in VB.Net. I
have created few User Controls quite some time back and implemented them
successfully. Now the problem is, I'm not able to use UserControls using my
VS.NET IDE. When I tried to drag and place the user controls on WinForm
(from Toolbox), it shows an error saying "An exception occurred while trying
to create an instance of Classname.UserControlName. The exception was
'Value cannot be null. Parameter name:path'". And another strange problem
is when I tried to open my existing solution, the controls are missing and
an error is shown like "The Variable 'UserControlName' is either undeclared
or was never assigned.

Could some one please help on this ASAP? Your help is muchhhly appriciated
as we are closed to the deadline.

Thanks in advance,
CV

Re: Problem With Winforms UserControl on VS.net design time by hirf-spam-me-here

hirf-spam-me-here
Mon Mar 01 03:26:12 CST 2004

* "CV" <vamsee-c@nunet-tech.com> scripsit:
> have created few User Controls quite some time back and implemented them
> successfully. Now the problem is, I'm not able to use UserControls using my
> VS.NET IDE. When I tried to drag and place the user controls on WinForm
> (from Toolbox), it shows an error saying "An exception occurred while trying
> to create an instance of Classname.UserControlName. The exception was
> 'Value cannot be null. Parameter name:path'". And another strange problem
> is when I tried to open my existing solution, the controls are missing and
> an error is shown like "The Variable 'UserControlName' is either undeclared
> or was never assigned.

Changed your name?

<http://groups.google.de/groups?selm=%23Fk0%23QE1DHA.3416%40tk2msftngp13.phx.gbl>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!

Re: Problem With Winforms UserControl on VS.net design time by CV

CV
Mon Mar 01 04:34:08 CST 2004

no, the previous post was sent by one of our Project members, and still
that problem is exisitng so I Posted the same query.

Any help would be appreciated.

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:c1uvu6$1o2q94$5@ID-208219.news.uni-berlin.de...
> * "CV" <vamsee-c@nunet-tech.com> scripsit:
> > have created few User Controls quite some time back and implemented them
> > successfully. Now the problem is, I'm not able to use UserControls using
my
> > VS.NET IDE. When I tried to drag and place the user controls on WinForm
> > (from Toolbox), it shows an error saying "An exception occurred while
trying
> > to create an instance of Classname.UserControlName. The exception was
> > 'Value cannot be null. Parameter name:path'". And another strange
problem
> > is when I tried to open my existing solution, the controls are missing
and
> > an error is shown like "The Variable 'UserControlName' is either
undeclared
> > or was never assigned.
>
> Changed your name?
>
>
<http://groups.google.de/groups?selm=%23Fk0%23QE1DHA.3416%40tk2msftngp13.phx
.gbl>
>
> --
> Herfried K. Wagner [MVP]
> <http://dotnet.mvps.org/>
> Website Address Changed!



Re: Problem With Winforms UserControl on VS.net design time by CV

CV
Mon Mar 01 04:34:54 CST 2004

no, the previous post was sent by one of our Project members, and still
that problem is exisitng so I Posted the same query.

Any help would be appreciated.



"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:c1uvu6$1o2q94$5@ID-208219.news.uni-berlin.de...
> * "CV" <vamsee-c@nunet-tech.com> scripsit:
> > have created few User Controls quite some time back and implemented them
> > successfully. Now the problem is, I'm not able to use UserControls using
my
> > VS.NET IDE. When I tried to drag and place the user controls on WinForm
> > (from Toolbox), it shows an error saying "An exception occurred while
trying
> > to create an instance of Classname.UserControlName. The exception was
> > 'Value cannot be null. Parameter name:path'". And another strange
problem
> > is when I tried to open my existing solution, the controls are missing
and
> > an error is shown like "The Variable 'UserControlName' is either
undeclared
> > or was never assigned.
>
> Changed your name?
>
>
<http://groups.google.de/groups?selm=%23Fk0%23QE1DHA.3416%40tk2msftngp13.phx
.gbl>
>
> --
> Herfried K. Wagner [MVP]
> <http://dotnet.mvps.org/>
> Website Address Changed!



Re: Problem With Winforms UserControl on VS.net design time by Christian

Christian
Sat Mar 06 02:10:34 CST 2004

Maybe you want to debug your usercontrols. It might be an exception being
thrown at design time. the best way to narrow down the issue is to have a
second vs.net open the user controls project, make sure that's up to date
and actually debug the other vs.net by attaching to that process
"devenv.exe".
set up the debugger so taht it breaks into the debugger when ever a clr
exception is thrown ... then, look at the code of the user control and see
what's going wrong

regrads

chris

"CV" <vamsee-c@nunet-tech.com> wrote in message
news:%23j1MTm0$DHA.2800@tk2msftngp13.phx.gbl...
> Hi,
> I'm working on a Win form application which is being developed in VB.Net.
I
> have created few User Controls quite some time back and implemented them
> successfully. Now the problem is, I'm not able to use UserControls using
my
> VS.NET IDE. When I tried to drag and place the user controls on WinForm
> (from Toolbox), it shows an error saying "An exception occurred while
trying
> to create an instance of Classname.UserControlName. The exception was
> 'Value cannot be null. Parameter name:path'". And another strange problem
> is when I tried to open my existing solution, the controls are missing and
> an error is shown like "The Variable 'UserControlName' is either
undeclared
> or was never assigned.
>
> Could some one please help on this ASAP? Your help is muchhhly
appriciated
> as we are closed to the deadline.
>
> Thanks in advance,
> CV
>
>