SwApp.Visible = True
SwApp = New SldWorks.SldWorks()
and if if this helps.
It works !! Thank you !! I can now see what happens on SW
But still not working the code :
SwApp = Nothing
It close the program from user bar, but it is still running on processes. Is there a way to close it definetly ?One last thing : Is the "Imports" at the begin of code unneccessary ? Can i delete it ?
Could be possible that an earlier version was running, Close all instances from the task manager and try again.
Based on my limited knowledge I'm not sure if those are necessary or not but I would suggest to use them. The Imports statement enables types that are contained in a given namespace to be referenced directly.
Read more here Imports Statement (.NET Namespace and Type)
how many solidworks processes do yo have before you call ExitApp? Only one or two?