Created That Has Aero Glass When In Vista/win7 And When Running In XP Or 98 Use A Regular Border?
Aug 2, 2010
Can a form be Created that has Aero Glass when in Vista/Win7 and when running in XP or 98 use a regular border? If so can I have a link to the infromation or a code sample?
I have a program for playing MP3 files using Media Player. The program developed originally under Vista using VBExpress 2010 works fine.
But when I run it under Win7 parts of the program don't work. In both cases the audio is played OK but under Win7 the 'playstatechange' events don't seem to happen!?!
I have put a breakpoint in event and under Vista the events happen...under Win7 the breakpoint is never reached. In both cases I am using VB Express 2010 and running under the debugger. I have seen this problem reported before in the forums but no answer was apparent.
is there a way to have that aero glass effect using XP Pro when creating forms and please give me walk thru on this. I want to have that look on all my forms.
I can't figure out how it is possible to change the color for aero glass (which is blue by default).I want to change it to yellow (or brown) if the battery level (only for laptops of course) is low, to red when its critical. I have read a lot and was able to read the color (registry and api) and I was able to get notified when the color changes (wndproc) but there is no api call to set the color. I am able to set the registry key. That works, but requires a reboot, which is (in my case) not a solution. I have tried to simulate the wndproc message as broadcast, no result...What does the control panel applet do? If I change the color there it will be instantly applied, even the setting is not saved to the registry (which will be the best solution for my case). Programming language is vb9, vista is required by the application itself, so no other checks are required.
I using the VistaControls control library (here) and I have a WebBrowser control that will have black in it on the form. When I set the background color to black in the HTML, the glass renders fine. So I added some text that is red, but it shows up as a transparent red. How do I get the text to be opaque?
Also, if I want to have black text in the HTML, how do I get that to show correctly?
I had set my form initially load in aero glass effect.Then i want let the user can choose solid colour or aero glass effect.Wat should i put in my coding to let the form can become solid colour?
<StructLayout(LayoutKind.Sequential)> _ Public Structure MARGINS Public cxLeftWidth As Integer Public cxRightWidth As Integer
I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get Aero glass in a form without any border.... ??
I've got an app that I'm writing that will have TextBoxes and Buttons on a glass form, much like what you'd see in Windows Explorer. I'm wondering how can I get the Textboxes' text to render properly on the glass? The text looks all messed up. I've tried a number of different ideas, but to avail.
I am having a problem with the aero glass effect on the form. I have successfully spread the glass to the background of the form, but now the buttons ext ect. look like this (I have tried EVERYTHING on this page with no success):url...[code]
I had following coding to make form have aero glass effect. but the text is become transparent too when i run it. how to make the text become no transparent? Thnx
<StructLayout(LayoutKind.Sequential)> _ Public Structure MARGINS Public cxLeftWidth As Integer
My program can detect when Aero is present, but it has trouble when the user is in Aero Basic because it doesn't use the transparency or glass look. I am wondering if there is a call to the dwmapi that can tell me if the computer is using Aero Basic.
I know the propertys transparency key and opacity. It isnt what I am looking for. I need to have my form to have the same Glass Effect the as win7 does while runing under win7 plataform. Like, if i have glass effect in the top I should have it in the background.
How can I create a form with no title bar, but still have a glass border just like the Volume, Power Options, or Network windows have when you click on their icons in the system tray.[code]...
how to get working aero in Visual Basic 2008.I am making this media player and got everything I need for that. But what I really wanted is aero since Windows Vista got a nice interface and a few lucky people got it.But the tutorials I got worked great on Windows 7! However, I couldn't get aero because of a transparency key. (I swear I use a color picker to see if background color and transparency key are the same color.)I can't get it to work any piece of code I give.But the good part is that aero WILL work on any 7 or Vista without any form change, but the text is white with blue specks and that is not what I want.
EDIT:i found how to do it now! you need to use the property UseCompatibleTextRendring and put it to True. Now the problem is how do i do the same for the rest? (microsoft was to lazy to edit the controls)
How can I enable the cool vista aero effects within my vb.net application? I wish to make portions of the form, or prehaps even the whole form, have the transparent glass effect.
I found this question on StackOverflow. Basically, the user wanted to draw custom buttons on the titlebar. I tried the code and realised it works in vista/7 only when Aero is disabled. My question is, is there any way to draw custom buttons on the titlebar while aero is enabled? Any way of reading information from the current theme so I can style my buttons to match the already existing ones.
Here is a screenshot from my computer demonstrating the above concept. I got the additional titlebar buttons after installing DisplayFusion. And I know DisplayFusion is a .NET program because it opens in .NET Reflector. The down side is that the program is obfuscated. Not like I wanted to decompile the program or anything; I just want to add a button to my titlebar to do something else (like minimise to the system tray for instance). Below is the screenshot, proving the program is a .NET app.
Have you ever seen the whitish glow around the titlebar text in Vista? You know, the feathering around the text that makes it stand out from the Aero glass? Well if you haven't, look at the picture in the attachment. Does anyone have an idea as to how I may reproduce it, specifically draw it around some text on the Aero glass? I already know that the Aero glass can be implemented using some APIs in dwmapi.dll. Are APIs for the glow also in that dll? I'm unable to find any info on how to do this in the official documentation.
I used VB6 to create an EXE file that uses MSComm1.The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed).It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are not compatible with Vista/Win7) but with no success.However, when I installed VBE on the laptop, it now runs the EXE quite happily.Does installing VBE also install a different set of runtime files?Is it posible to distribute my program to my friends who have Vista or Win 7, without them having to first install VBE?
how to get my vb6 exe to run in any win7 or Vista?The error I'm getting is: Component comdlg32.ocx or one of it's components is not correctly registered or missing. I've tried using the P&D Wizard to specifiy loading it into the SysWOW64 folder but I'm not sure if I'm doing this correctly. I use the P&D Wizard then load everything into Inno for delivery but my customers who now have Win7 or Vista can't use my product.
Ok I have a application that works great on XP, but in windows 7 it will not let me write to my login file, says access is denied since I am not running as admin. Log file is located in "C:Program FilesCompany NameProductMyLog.LOG"
I have an app developed in VB that works fine on Vista machines but fails on Win7. The offending line of code merely references a variable stored in a module. Evidentally, something is quite different on Win7. How to I find and fix this behavior?
The code is very straightforward. The error occurs in the Application Startup event.
Public Sub MyApplication_Startup(ByVal sender As Object, ByVal e As ApplicationServices.StartupEventArgs) _ Handles Me.Startup
I am facing an interesting problem: I compile an exe file on my computer with XP pack3. And then I gave it to several people. One people told me my application works well on her vista machine but cannot run on her XP machine. Another person told me my application does not work on her Win7.
I want to install my app or (just access db)to AppData folder to enable write for it. so, how can I do that in setup project. Is there just parameter or should I wirte custom action.