Jump to content
LaunchBox Community Forums

Launchbox Error while importing Files


Romfrosk

Recommended Posts

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

image.thumb.png.5ff99637e5564cf68f417c421124ed46.png

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 by Romfrosk
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.
 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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 by Romfrosk
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by Zeaede
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

image.thumb.png.cff5fd3a21fc28d48fd5e3b6d46a586d.png

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 by wallmachine
Link to comment
Share on other sites

6 hours ago, wallmachine said:

image.thumb.png.cff5fd3a21fc28d48fd5e3b6d46a586d.png


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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...