Hello !
I am using the latest OLAP-Control with VS2008 on Windows Vista. I have a problem using it when switch my colorscheme to "windows-Standard" or anything else than "Windows-Aero".
Is there a workaround and if not, what is the minimum requirement to avoid the message that there is no visual style active ?
Martin
Hi Martin
I tried to reproduce this issue but had no problems, so I need some more detail:
Thanks in advance.
I am using Version 2.0.20093.21. I have read about a similar problem in the forum and tried out the prerelease-Version 2.0.20093.26 and it worked.
My Steps are: I have no visual styles active in my Vista. I am creating an windows form in VS2008, dragging the OLAPPageControl from the toolbox to the form, drop it there and get this error (partly translated):
------------------------------------Error creating component C1OlapPage************** Exception Text **************System.InvalidOperationException: Visual Styles-related operation resulted in an error because no visual style is currently active. at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String className, Int32 part, Int32 state) at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(VisualStyleElement element) at C1.Win.Olap.h.b(Boolean A_0) at C1.Win.Olap.j.a(Boolean A_0) at C1.Win.Olap.C1OlapPanel.a() at C1.Win.Olap.C1OlapPanel..ctor() at C1.Win.Olap.C1OlapPage.a() at C1.Win.Olap.C1OlapPage..ctor()------------------------------------------
best regards from Germany
That's what I suspected. I suggest you use the 26 build. It contains the fix.
We will update the version that is available for download shortly.
Thanks for your input.