juv / vibranceGUI

A Windows Utility that automates NVIDIAs Digitial Vibrance Control and AMDs Saturation for Games, e.g. Counter-Strike: Global Offensive

Home Page:http://vibrancegui.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vibrancegui AutoStartup error

miltoz opened this issue · comments

so, i just reinstalled windows 10 on my pc and when i went to turn on autostart on vibrancegui i got this scary popup, after that i wiped my drivers with ddu and reinstalled everything but it keeps coming back every time i activate autostartup and it wont start autommatically, please help me fix this issue.
Screenshot 2022-05-25 010103
Screenshot 2022-05-25 010122

commented

Hi, this exception mesaage can not break anything on your pc, so you have nothing to worry about except that vibrancegui can not be regiatered to autostart. Can you copy the exception text and paste it here? Thanks

commented

You are starting the vibrancegui exe from a directory after extracting the zip archive, correct?

yes i extracted it and made a program files folder "vibranceGUI"
This is the exeption text: See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at vibrance.GUI.common.RegistryController.RegisterProgram(String appName, String pathToExe)
at vibrance.GUI.common.VibranceGUI.checkBoxAutostart_CheckedChanged(Object sender, EventArgs e)
at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4510.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

vibrance.GUI
Assembly Version: 2.3.1.1
Win32 Version: 2.3.1.1
CodeBase: file:///C:/Users/miles/Downloads/vibranceGUI/vibranceGUI.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

im probably doxxing myself but i have no idea so its ok haha, thanks alot for you quick response

commented

Have you tried to start vibranceGUI as an administrator?
Can you try to manually add vibranceGUI to your autostart in the task manager? Here is a guide from microsoft.

Yes, i know i can put it in shell:startup, but it opens the window when it starts up so i really want to fix this so it can startup normally. I tried running it with administrator but nothing changed so i dont know what to do, thanks for your help though, i really appreaciate it. :) btw i also tried the first version and its the same there aswell.

couldnt fix the error so i just gave up and used this method: https://superuser.com/questions/1223465/how-to-start-any-file-on-startup-hidden , i found out that the error probably has something to do with my pirated version of visual studio 2022 so its completely my fault to begin with :D

commented

to start the application in minimized window mode, you can just create a link of the vibranceGUI.exe file, go to the link properties, then append a -minimized to the destination of the link. then put that into your autostart. note that there needs to be a space after the real path and the -minimized, for example: "C:\your\destination\..." -minimized. it's virtually the same thing that the application is doing in code: https://github.com/juv/vibranceGUI/blob/master/vibrance.GUI/common/VibranceGUI.cs#L263

thanks! i already did it!