This question already has an answer here:
I've created a windows application, all works fine,
to use the application, I've sent the share link \machineName\shareName\myApplication.exe to my user.
the issue :
- when copying the link and running it , all works fine.
- when some users click directely the link => system.NullReferenceException
is there any way to fix this please ? à System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) à System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) à System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Aucun commentaire:
Enregistrer un commentaire