Click here to Skip to main content
13,259,539 members (56,362 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
i have a vb.net single form application. it is developed in vs-2015.
this application has connect to different color devices using comm port and doing some color measurement task.

problem is that some devices connected successfully but when try to connect one device out of them and after connection, form is automatically disappears.

please help..

What I have tried:

i have checked complete code with forms event but didn't found solution.
Posted 20-Oct-17 5:11am
Updated 20-Oct-17 5:42am
Comments
SnickersSatisfies 20-Oct-17 10:23am
   
What can we do to help?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

We can't tell - remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.

At a guess - and that's all it can be with no information - it's throwing an exception and closing as a result.

If this happens in development, yuse the debugger to try and isolate where in yoru code it is going wrong.
If it's production only, try using Try...Catch blocks and log files to try and "narrow down" how far it gets, and "zoom in" on the code that causes the problem.

At least then, you can start looking for why. But until you have even a vague idea where in your code it goes wrong, nobody can fix it for you!
  Permalink  
Comments
KHEMRAJ_UDR 21-Oct-17 1:50am
   
as my code review.. there is no issue in code.. but there is one unknown thing that is project configuration. if may be any.. so please tell about that..

one thing also i want to say.. that is, i am trying this in VS IDE 2015.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 20 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100