Visual Stiles required ?

WinForms

ComponentOne's WinForms controls

Visual Stiles required ?

  • rated by 0 users
  • This post has 3 Replies |
  • 1 Follower
  • 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:

    1. What is the complete version of the C1Olap you are using? (I think I remember an issue like this, but that was fixed long ago).
    2. Can you please post the exact steps I should take to reproduce the issue?

    Thanks in advance.

  • Hello ! 

    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

    Martin

     



     

  • 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.

Page 1 of 1 (4 items)