Results 1 to 9 of 9
  1. #1
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused

    Ribbon Control Problem.

    When i debug the problem the border is still the same old translucent light blue border. As you can see i changed it to a black border but it doesnt seem to work when i debug it. What seems to be the problem? And yes i tried building the project and it didnt work either.


  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed


    To Clarify:

    The issue is not Visual Basic.Net Related!
    The Issue is not DevComponents Related!

    The issue is caused by Aero Themes of Windows Vista and Windows 7

    Shut off Aero themes in vistadows 7.

    Quote Originally Posted by Wiki
    Windows Aero is the graphical user interface and the default theme in most editions of Windows Vista and Windows 7, operating systems released by Microsoft. It is also available in Windows Server 2008, but is not enabled by default. Its name is a backronym for Authentic, Energetic, Reflective and Open.[1] Intended to be a cleaner, more powerful, more efficient and more aesthetically pleasing user interface than the previously used theme (Luna), it includes new translucency, live thumbnails, live icons, animations and eye candy. Aero also encompasses a set of user interface design guidelines for Microsoft Windows.
    In this section of my explanation I am offering a VB.net code to disable Windows Aero inside of your application, this way your users don't have the same issues as you!......


    Add a Button to your form (or a setting) that says "Enable Application Theme"

    In the Button_Click Event add the following code

    Just add the option to turn on/off aero and on button click Event

    Code:
    System.Process.Start("Rundll32 dwmApi #102")
    This code will disable the Windows Aero Theme.

    or

    Code:
    'Should Work
    Dim dwndis As HRESULT = S_OK
    ' Disable DWM 
    dwndis = DwmEnableComposition(DWM_EC_DISABLECOMPOSITION)
    If SUCCEEDED(dwndis) Then
       ' You can have an event here, don't need to 
    End If
    Which should also disable the Windows Aero Theme.

    When You disable Aero theme (which is that glass effect skin) It will enable the DevComponents theme.

    Last edited by NextGen1; 03-03-2010 at 10:55 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused
    sorry NextGen1 i dont quite understand what you are saying.

  4. The Following User Says Thank You to ppl2pass For This Useful Post:

    Lolland (03-03-2010)

  5. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    You are running Windows Vista Or 7 Right?

    well, Vista and Windows 7 has a Theme (style),

    Remember Windows XP, there was Windows Classic , Windows XP Olive, Windows XP Silver, Windows Xp blue?

    Windows Vista and 7 has a Skin (theme, style) Called Aero, But it's alot more powerful then your traditional skins .

    When the Aero theme is enabled it masks the DevComponents, In order to correct this, You have to disable the Aero theme, Now you can do this in you Control Panels or Themes manager , but that will only work locally, anyone on a Vista or 7 Machine with Aero Enabled will have the same problem when viewing (using) your application.

    So I suggested you use one of the codes above to disable Aero , or offer the option of disabling the aero theme inside of your application.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  6. #5
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    U shuldnt use vb themes cuz many people hav computers with 3rd party themes

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  7. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    @ Hope, 14 Yr olds and < maybe..............

    @ OP and Lolland

    I really didn't think it is that hard to comprehend.

    Quote Originally Posted by Ammended Post

    To Clarify:

    The issue is not Visual Basic.Net Related!
    The Issue is not DevComponents Related!

    The issue is caused by Aero Themes of Windows Vista and Windows 7

    Shut off Aero themes in vistadows 7.

    From Wiki
    Windows Aero is the graphical user interface and the default theme in most editions of Windows Vista and Windows 7, operating systems released by Microsoft. It is also available in Windows Server 2008, but is not enabled by default. Its name is a backronym for Authentic, Energetic, Reflective and Open.[1] Intended to be a cleaner, more powerful, more efficient and more aesthetically pleasing user interface than the previously used theme (Luna), it includes new translucency, live thumbnails, live icons, animations and eye candy. Aero also encompasses a set of user interface design guidelines for Microsoft Windows.

    In this section of my explanation I am offering a VB.net code to disable Windows Aero inside of your application, this way your users don't have the same issues as you!......

    Add a Button to your form (or a setting) that says "Enable Application Theme"

    In the Button_Click Event add the following code

    Just add the option to turn on/off aero and on button click Event

    Code:
    System.Process.Start("Rundll32 dwmApi #102")

    This code will disable the Windows Aero Theme.

    or

    Code:
    'Should Work
    Dim dwndis As HRESULT = S_OK
    ' Disable DWM
    dwndis = DwmEnableComposition(DWM_EC_DISABLECOMPOSITION)
    If SUCCEEDED(dwndis) Then
    ' You can have an event here, don't need to
    End If


    Which should also disable the Windows Aero Theme.

    When You disable Aero theme (which is that glass effect skin) It will enable the DevComponents theme.
    This really is not that complex of a concept , I am hoping that the Visual Basic Developers in this section at least (if nothing else) knows about windows theme manager....................................

    That is the issue with your theme.....


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. #7
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    make the formborderstyle = none


    -----------------------------------------------

    My site: here
    My Blog: here
    My member's area: here
    Minecraft Sever Forum: here


    Minecraft Servers:

    Public:



    Private:



  9. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I don't think that will work ,

    I haven't tested it, but when you inherit the dev components from the form designer, it removes the title bar and replaces it with RibbonControl title bar

    Best solution is what was said above.

    I know this because I team viewed someone else here who had that problem, and it was vista aero themes that did it.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  10. #9
    darkcoderproduc's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    4
    My Mood
    Paranoid
    Quote Originally Posted by mnpeepno2 View Post
    make the formborderstyle = none
    this method dosnt work it worked if there were form border issues with XP but no Win vista/7

    the only way for this to work is to follow what NexGen suggested or get rid of your theme.

    and what NexGen said is a very simple idea basicaly (dumbing it down a bit)

    Windows Aero is hiding your theme behind it so you have to turn Aero off for it to show your theme and NexGen posted code to turn off Aero and turn on Aero

Similar Threads

  1. To All GunZ Down 02-07-06 PROBLEM
    By WertyRO in forum Gunz General
    Replies: 18
    Last Post: 02-09-2006, 07:41 PM
  2. hacking problems
    By iwillkillyou in forum WarRock - International Hacks
    Replies: 11
    Last Post: 02-04-2006, 04:37 PM
  3. CBS Controls StarTrek
    By Dave84311 in forum SCI-FI
    Replies: 5
    Last Post: 01-22-2006, 11:18 PM
  4. WPE problem...
    By styx23 in forum General Game Hacking
    Replies: 8
    Last Post: 01-18-2006, 07:51 PM
  5. Problem Wit Hacking Programs
    By f5awp in forum General Gaming
    Replies: 5
    Last Post: 01-10-2006, 05:44 AM