Hi, I am create new setup for my project(.exe). While i am click on exe it will throws an error microsoft has encounred a problem we need to close it. System.data.sqlclient.sql what happens , i am installed in another PC it will work fine . I have allready .netfrmawork an d windows installer on my pc . can anybody help me please.
Have you install the .Net Framework on the machine you are runing your application and check all the connection you have open you puttin in try block and handled catch and finally block and accroding to me close the connection in finally block.
If you get your Answer mark this thread as Solved
It's not an coding exception if is it then it will not run on any another machine.
When i click on exe it will open registration form on load event i have getting the hardware information i have already use try catch block but its not going to load event.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...