Hello guys I created program which starts on startup but it gets error that says :
Could not find file 'C:\Windows\system32\Uribaani-Realm-Computer.ico'.
This file is installed in application folder. When I start program mannualy everything works fine.
Code where program shows error on mindump debugger.
NotifyIcon icon = new NotifyIcon();
icon.Icon = new Icon("Uribaani-Realm-Computer.ico");
icon.Visible = true;
I add autostart program from question answered below :