I made an updater program but when I run it on a pc that isn't a development pc it just crashes and I get a nullReferenceExeption.
System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld. bij AutoUpdaterV1.Form_Main.StartUpdate() bij AutoUpdaterV1.Form_Main.Form_Main_Shown(Object eventSender, EventArgs eventArgs) bij System.Windows.Forms.Form.OnShown(EventArgs e) bij System.Windows.Forms.Form.CallShownEvent() bij System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) bij System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bij System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) bij System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Anyone who can help me?