windows-vista

How to 'Refresh' the Vista start menu programmatically.

Hi, I am working on a piece of code that removes an extra folder we have in the user's start menu. I start by removing all of the shortcuts it contains, and then remove the folder itself. After this is done, I can confirm that the shortcuts have been removed from the start menu, but their containing folder remains listed in the start ...

Hiding the system cursor in Windows SDK MagSample

Tried compiling and running this http://msdn.microsoft.com/en-us/library/dd940324(VS.85).aspx When the app runs two cursors are displayed on the screen, standard small Windows cursor and the magnified cursor as created by the parameter MS_SHOWMAGNIFIEDCURSOR in the CreateWindowEx call in the SetupMagnifier function. The question is, h...

Some of my windows registries(Vista) are not accessible due to permission violations. How to resolve it?

Some of my windows registry permissions have been changed.It denies access to services like SQL Server. What is the issue here and how can it be resolved? Moreover I am able to login only in safe mode. ...

How do I get SHDocVw.InternetExplorer to reuse the same window in Vista like it does in XP?

I am working on a program that uses IE to display its help pages. I am using C# in Visual Studio 2008 compiling to .Net Framework 2.0 In Windows XP everything works as expected. In Vista every time I click on a help button I get a new window with a new IE browser. Has anyone else seen this or know how to get around this? Here is the...

How to globally mute and unmute sound in Vista and 7, and to get a mute state?

I'm using the old good Mixer API right now, but it does not work as expected on Windows Vista & 7 in the normal, not in XP compatibility mode. It mutes the sound for the current app only, but I need a global (hardware) mute. How to rearch the goal? Is there any way to code this w/o COM interfaces and strange calls, in pure C/C++? ...

Vista/win7 application volume control interface

Which interface should I use to control the volume of my application on Vista or Windows 7? The programming language doesn't matter. ...

Wizard header disappearing in Vista when I added Common Controls 6 to manifest

Been googling around for a while now and found other references to this problem but no solution. I have an MFC program I build with Visual Studio 6. It includes a CPropertySheetEx-derived class that runs a PSH_WIZARD97 style property sheet with watermark bitmap as well as a header bitmap, and a title and subtitle in the header of each p...

is knowledge query and manipulation language(KQML) compatible with windows?

i m nt getting a proper answer to this question anywhere. is knowledge query and manipulation language(KQML) compatible with windows or windows vista in particular? ...

Write in "ProgramData" folder (W7 and Vista) .NET

Hi I install my app under "Program Files" directory. And I install data, under "ProgramData" directory: Environment.SpecialFolder.CommonApplicationData In programData I have created folder to save data. Example: C:\ProgramData\MyApp\MyData\here I have files and folders Under XP all runs fine. But not under Vista or W7 OS. I can rea...

Windows Application not showing in taskbar on vista

Hi, We have a C# application that works fine on windows XP and windows vista BUT does not show the taskbar (in Vista only). In windows vista the application does not have an icon in the bottom toolbar i.e. if I have the application open and then I go to another application the only way I can get back to the app is by alt+tab through, I ...

Unable to get IApplicationAssociationRegistration::QueryAppIsDefault working

So I'm trying to use IApplicationAssociationRegistration, which has been introduced with Windows Vista. I am using Windows 7 x64. However, every call that receives a ProgId (aka AppRegistryName, e.g. "FirefoxHTML") returns a HRESULT of 0x80070002 which means "The system cannot find the file specified". Calls like QueryCurrentDefault tha...

How to get List view like Vista/Windows7

Using: Visual Studio 2005, .net 2.0 Can we get the features of list view as seen in Vista/Window7 OS (file/folders details view): When mouse is over a row its highlighted. Problem: if i set HotTracking = true, the items are shown underlined, also mouse cursor changed. Dragging select multiple items. Problem: [Multiple Select = true, ...

How to programatically retrieve the "Location" as displayed in the Regional and Language Settings?

Hi, How can I programatically retrieve the "Location" as displayed in the Regional and Language Settings? ...

how to pass HTML DOM for windows sidebar?

I am trying to play multiple videos one after the other in windows sidebar. I'm using javascript setInterval method to change the video. But windows sidebar doesn't parse javascript. Can anyone help me, please. ...

How to use VisualStyleRenderer in Windows 7?

In a small project of mine I've came across the need of a collapsible group box. Searching the Net, I've found one here. In one of the comments there's an improvement on the original code that uses the VisualStyleRenderer class in order to acquire the TreeView open and closed glyph. Running the code it draws properly the Plus and Minus...

How to retrieve vista's network status (e.g. "Local Only", "Local and Internet") in powershell

I have a flaky NIC that drops out from time to time, especially after resuming from hibernation. A drop-out corresponds to Vista's network status showing in the notification area as "Local Only". Is there a way of retrieving these status values (e.g. "Limited Connectivity", "Local Only", "Local and Internet") programmatically? I am writ...

XDebug is not loaded in PHP (Vista, Apache Module)

I downloaded php_xdebug-2.0.5-5.3-vc9.dll, added at the end of PHP.ini the following line: zend_extension_ts="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc9.dll" When I use phpinfo(), xdebug is not loaded. When I run command "php.exe -m", it not loaded as well. How can this be resolved? My configuration: PHP 5.3.1, Apache 2.2...

Win7: Right place to install a program that may be 'shared' with other computers

We have an app that currently installs itself into 'program files\our app', and it puts the internal data files into the common Application Data folder. This means the program is available to any user on that particular PC. Now we want to make a multi-user version of this program, multiple PCs accessing the program at the same time acro...

Appearance of a WPF ListView under Windows Vista and Windows XP is not the same

In a WPF application I have a ListView: <ListView Name="ItemSelList" ItemsSource="{Binding ItemColl}" SelectionChanged="ItemSelList_SelectionChanged"> <ListView.View> <GridView> <GridViewColumn Header="Date" Width="90" DisplayMemberBinding="{Binding Date}"/> <GridViewColumn Header="Time" Width="90" DisplayMemberBindi...

.NET Embedded Manifest Crashes XP

Hi, I am embedding a manifest in a .NET exe so that it can request elevated permissions in Vista and Windows 7. The manifest that I am using is as follows: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" name="Elevatio...