opening form shuts down the application

  • Thread starter Thread starter SSP
  • Start date Start date
S

SSP

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

Any ideas?

SSP
 
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
 
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
 
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
 

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