Romfrosk Posted May 18, 2018 Share Posted May 18, 2018 (edited) Hi. Edit: The original assumption that it was related to RDP is no longer the case. Now it's the same issue on both normal and Next version of Launchbox. This is the error i keep getting when using: Tools - Import - Rom Files - Add Files Spoiler Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area. App: LaunchBox Version: 8.3-beta-6 Type: System.InvalidOperationException Site: Boolean IsCombinationDefined(System.String, Int32) Source: System.Windows.Forms at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(String className, Int32 part, Int32 state) at AeroWizard.ThemedTableLayoutPanel.Form_LostFocus(Object sender, EventArgs e) at System.Windows.Forms.Form.OnDeactivate(EventArgs e) at System.Windows.Forms.Form.set_Active(Boolean value) at System.Windows.Forms.Form.WmActivate(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Recent Log: 12:12:27 AM Exception Edited May 18, 2018 by Romfrosk Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted May 18, 2018 Share Posted May 18, 2018 Okay, good to know. I'll give RDP a test. Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 35 minutes ago, Jason Carr said: Okay, good to know. I'll give RDP a test. Hmm strange. I tested locally on the computer now that i came home. Will try a restart of the computer to see if it is something strange. Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 This i the error i get: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area. App: LaunchBox Version: 8.3-beta-5 Type: System.InvalidOperationException Site: Boolean IsCombinationDefined(System.String, Int32) Source: System.Windows.Forms at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(String className, Int32 part, Int32 state) at AeroWizard.ThemedTableLayoutPanel.Form_LostFocus(Object sender, EventArgs e) at System.Windows.Forms.Form.OnDeactivate(EventArgs e) at System.Windows.Forms.Form.set_Active(Boolean value) at System.Windows.Forms.Form.WmActivate(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Recent Log: 5:31:35 PM Exception Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 I've done some more testing and here is what i've found: it's not related to RDP, so we can skip that. I'm on as you can see Beta5. The error above show up when i click: Tools -> Import -> ROM Files If i select: Add Folder, then i can import as normal. If i select: Add Files, then i get the error above. I've tried running .Next in Admin Mode, Win 8, Win 7, Disable full screen optimization without luck. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted May 18, 2018 Share Posted May 18, 2018 @Romfrosk That's an odd one. Can you test to make 100% sure that this error does not show up when using LaunchBox instead of LaunchBox.Next? What's odd is that the code there for the import dialog is exactly the same between LaunchBox and LaunchBox.Next. Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 16 minutes ago, Jason Carr said: @Romfrosk That's an odd one. Can you test to make 100% sure that this error does not show up when using LaunchBox instead of LaunchBox.Next? What's odd is that the code there for the import dialog is exactly the same between LaunchBox and LaunchBox.Next. This just get stranger. I swapped to normal launchbox to import ScummVM files earlier, and that worked perfectly. Must be something strange going on on my end. But reinstalled windows just a few days ago. so shouldn't be much stuff on it to interfere. i'll troubleshoot some more on my end. p.s: Error on normal launchbox has a bit more information in "Recent Log" It also looks like logging has 2 different "Time Formats" Both 12 Hour and 24 Hour. I use 24 hour on my PC Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area. App: LaunchBox Version: 8.3-beta-5 Type: System.InvalidOperationException Site: Boolean IsCombinationDefined(System.String, Int32) Source: System.Windows.Forms at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(String className, Int32 part, Int32 state) at AeroWizard.ThemedTableLayoutPanel.Form_LostFocus(Object sender, EventArgs e) at System.Windows.Forms.Form.OnDeactivate(EventArgs e) at System.Windows.Forms.Form.set_Active(Boolean value) at System.Windows.Forms.Form.WmActivate(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Recent Log: 9:35:58 PM Music.Pause Start 9:35:58 PM Music.Prepare Start 21:35:58 Music.Kill Start 21:35:58 Music.Kill Finished 21:35:58 Music.NotifyTrackList Start 9:35:58 PM Music.NotifyTrackList Invoke 9:37:33 PM Exception Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted May 18, 2018 Share Posted May 18, 2018 Gotcha. I'm guessing there's some kind of strange driver conflict or configuration issue on that machine, unfortunately. The code that is throwing that error hasn't changed in a very long time so I don't think it's anything that we've changed or added recently. I would first try making sure you're 100% up to date on Windows updates and video drivers. Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 Yeah. I'll do some fiddling myself. Currently checking 66k games for new images. So will take some time until i can 1 Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 18, 2018 Author Share Posted May 18, 2018 (edited) This is what i've done: Updated all drivers to the latest. (Video, Sound, Chipset, BIOS, Network) Updated Windows 10 x64 to the latest Test Preview Build Installed a fresh set of Launchbox to a different disk. Run as Admin, Run for Win 8 and win 7 I'll keep looking and see if i find anything else. Is there a way to get better logs out of Launchbox? The errors looks like it's coming from .net, but i've also updated and verified .net Edited May 18, 2018 by Romfrosk Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted May 18, 2018 Share Posted May 18, 2018 There is a DebugLog setting in the Settings.xml that you can manually enable, but honestly I don't think it's likely to help here. It is possible that Windows 10 1803 (the latest major Windows rollout) has some kind of debilitating glitch with your particular hardware. That would suck, but there are always issues like that occasionally with the Windows updates. I'm not sure if you can still downgrade at this point, but it honestly might be worth a shot. Have you tried any other .NET software on the machine? Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 19, 2018 Author Share Posted May 19, 2018 As i'm on Insider preview, it seems i cannot go back to an earlier release. But i'll look into it. Are you using "Classic Theme" functionality in for that function? Quote Link to comment Share on other sites More sharing options...
DOS76 Posted May 19, 2018 Share Posted May 19, 2018 With Insider Previews you only have 10 days to rollback your build after that you are SOL Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted May 19, 2018 Share Posted May 19, 2018 6 hours ago, Romfrosk said: As i'm on Insider preview, it seems i cannot go back to an earlier release. But i'll look into it. Are you using "Classic Theme" functionality in for that function? We are using UI technology that was new to Windows Vista at the time it came out (the aero stuff), but it's all supposed to work fine on up through Windows 10 of course. We're not using classic theme functionality, no. Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 19, 2018 Author Share Posted May 19, 2018 I'll try to do a fresh windows install tomorrow. Hopefully that'll solve stuff. Quote Link to comment Share on other sites More sharing options...
Zeaede Posted May 20, 2018 Share Posted May 20, 2018 (edited) I have to other issues with Launchbox When im about to import a new systems and files, from the point im clicking on import files to the actuall windows shows up it can take a couple of minutes and if i touch the keyboard during that time Launchbox craches Another example is when i have played a game and exit emulator Launchbox can crash too Before Launchbox is about to crash the mouse pointer have turned into a blue circle rotating I have a 4970K intel processor of all systems only 3ds is running a bit slow Edited May 20, 2018 by Zeaede Quote Link to comment Share on other sites More sharing options...
Romfrosk Posted May 20, 2018 Author Share Posted May 20, 2018 So. I've reinstalled the computer, and no other software run prior to starting Launchbox. But still the same error. Will continue to try things out. I reused the old Launchbox installation on my second harddrive. I might try to backup the xml files, emulators, videos and Images and do a reinstall of Launchbox Quote Link to comment Share on other sites More sharing options...
wallmachine Posted June 4, 2018 Share Posted June 4, 2018 (edited) Object reference not set to an instance of an object. App: LaunchBox Version: 8.3-beta-14 Type: System.NullReferenceException Site: Void (Unbroken.LaunchBox.Desktop.Forms.AddGamesForm, System.Object, System.EventArgs) Source: LaunchBox at (AddGamesForm , Object , EventArgs ) at Unbroken.LaunchBox.Desktop.Forms.AddGamesForm.romsCommandLink_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Recent Log: 7:49:36 PM Exception Edited June 4, 2018 by wallmachine Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted June 4, 2018 Share Posted June 4, 2018 6 hours ago, wallmachine said: Object reference not set to an instance of an object. App: LaunchBox Version: 8.3-beta-14 Type: System.NullReferenceException Site: Void (Unbroken.LaunchBox.Desktop.Forms.AddGamesForm, System.Object, System.EventArgs) Source: LaunchBox at (AddGamesForm , Object , EventArgs ) at Unbroken.LaunchBox.Desktop.Forms.AddGamesForm.romsCommandLink_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Recent Log: 7:49:36 PM Exception Thanks, this is fixed for the next beta, related to LaunchBox.Next. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.