How to disable AERO with VB08
Page 1 of 110 Replies - 347 Views - Last Post: 24 December 2012 - 12:22 PM
#1
How to disable AERO with VB08
Posted 24 December 2012 - 06:08 AM
Please can you help me how to disable Aero with visual basic application?
Exp/ I have button and when i click od it, that will disable aero!
Thank you!
Sorry for bad Enlhish.
Merry Christmas and Happy New Year
Replies To: How to disable AERO with VB08
#2
Re: How to disable AERO with VB08
Posted 24 December 2012 - 10:26 AM
Neph1x, on 24 December 2012 - 07:08 AM, said:
Exp/ I have button and when i click od it, that will disable aero!
Have a look at this MSDN forum article.
#3
Re: How to disable AERO with VB08
Posted 24 December 2012 - 10:28 AM
#4
Re: How to disable AERO with VB08
Posted 24 December 2012 - 10:41 AM
#5
Re: How to disable AERO with VB08
Posted 24 December 2012 - 11:36 AM
<DllImport("dwmapi.dll", PreserveSig:=False)> _
Public Shared Sub DwmEnableComposition(bEnable As Boolean)
End Sub
then to use it you use this
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
DwmEnableComposition(False)
End Sub
This should successfully disable the theme.
#6
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:01 PM
When i copy>paste this i get this error
"Type 'DllImport' is not defined."
#7
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:01 PM
#8
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:12 PM
<System.RunTime.InteropServices.DLLImport("dwmapi.dll", PreserveSig:=False)>
This post has been edited by AdamSpeight2008: 24 December 2012 - 12:12 PM
#9
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:12 PM
#10
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:18 PM
Imports System.Runtime.InteropServices
Public Class TestMo
<DllImport("dwmapi.dll", PreserveSig:=False)> _
and it works!
Thank you!!
Merry Christmas and Happy New Year
#11
Re: How to disable AERO with VB08
Posted 24 December 2012 - 12:22 PM
|
|

New Topic/Question
Reply




MultiQuote





|