I have a form in my application, which when opened, immediately shuts down
the application.

Any ideas?

SSP

Re: opening form shuts down the application by Chris

Chris
Tue Feb 24 21:14:37 CST 2004

Yes, sounds like you have something in the Form ctor that causes an
exception. Have you stepped into the code to see where it's happening?

-Chris

"SSP" <ssp@dt.com> wrote in message
news:eQ$uer0#DHA.1456@TK2MSFTNGP09.phx.gbl...
> I have a form in my application, which when opened, immediately shuts down
> the application.
>
> Any ideas?
>
> SSP
>
>



Re: opening form shuts down the application by SSP

SSP
Tue Feb 24 22:42:40 CST 2004

If you wish to have a look at the code you can download it at:

http://www.datec.com.fj/code.txt

ssp




Re: opening form shuts down the application by Neil

Neil
Wed Feb 25 05:00:45 CST 2004

Try moving the instantiation of your signature control objects into
InitializeComponent. Same applies to your ClientSocket class. It's
fairly likely there's a problem instantiating these objects.

--Neil

--
Neil Cowburn, MVP
Co-founder, OpenNETCF.org
Technologist, Content Master Ltd
Microsoft .NET Compact Framework MVP

www.opennetcf.org | www.contentmaster.com


SSP wrote:
> If you wish to have a look at the code you can download it at:
>
> http://www.datec.com.fj/code.txt
>
> ssp
>
>
>

Re: opening form shuts down the application by SSP

SSP
Wed Feb 25 16:24:00 CST 2004

I just created another form and transfered all my controls to it. It worked.

Sometimes it's easier not to debug and lock horns with .net cf

SSP

"Neil Cowburn [MVP]" <neilc@online.cowburn.me.uk> wrote in message
news:%23wSzf64%23DHA.2040@TK2MSFTNGP12.phx.gbl...
> Try moving the instantiation of your signature control objects into
> InitializeComponent. Same applies to your ClientSocket class. It's
> fairly likely there's a problem instantiating these objects.
>
> --Neil
>
> --
> Neil Cowburn, MVP
> Co-founder, OpenNETCF.org
> Technologist, Content Master Ltd
> Microsoft .NET Compact Framework MVP
>
> www.opennetcf.org | www.contentmaster.com
>
>
> SSP wrote:
> > If you wish to have a look at the code you can download it at:
> >
> > http://www.datec.com.fj/code.txt
> >
> > ssp
> >
> >
> >