My application is a rather well behaved Windows citizen, so when I ported it to Windows Vista/7 I replaced my custom file format association code with support for the Default Programs API. However I ran into a problem when trying to make uninstaller for my application - there seems to be no way to remove file format associations via Defa...
How can you place controls on a frame of a WPF window? I took a look at this but I don't know how to do this in WPF. link textThe problem comes when The application has to run on Windows XP where there is no DWM support. Also, if this is running on Vista without DWM, could the article still work?
...
A buddy of mine has been getting this error mesage when trying to run uninstall programs andor new program apps, windows just shows "ShellExecuteEx failed; code 18" and refuses to run the program.
...
We have a program which launches a child process that hosts a local COM server, which for various reasons must be launched elevated. Everything works fine so long as both the parent and the child process are elevated.
However, we also want to run when the parent process is non-elevated. Launching the child process results in a UAC dialo...
I have Subversion 1.6.6 and Apache 2.2.14 installed and working.
I have made the following changes to the Apache httpd.conf file:
#Uncommented by me for Subversion installation
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
#Added by me for subversion installation
LoadModule dav_svn_module m...
Hi All,
Is there any reason for a blocking call to winsock's send() function on Vista to return immediately ? It works with expected delay on XP and below. I'm wondering if this has got anything to do with auto-tuning feature of Vista.
Code:
char *pBuffer; // pointer to data
int bytes; // total size
int i = 0, j=0;
w...
Hi,
I'm trying to develop and deploy a WCF service using VS2008 and Vista home premium. I don't have IIS running and understand I don't need to if I manually configure the WCF app ... using netsh.exe I believe.
Can anyone give me clear guidance on how to go from the development project in VS2008 to a useable service?
Many thanks.
...
I am trying to setup IIS on my laptop.
I have followed a guide which said to go to:
Control Panel > Programs > Turn Windows Features On / Off > Click on IIS.
I have done this and my computer now says that IIS is running. However when I visit http://localhost in my browser I get a 'Page Cannot be Displayed' error.
I have had it workin...
I'm attempting to write a key to Registry. It works on Windows XP, but fails on Windows 7 / Vista.
The code below throws a Security Exception with description "Requested registry access is not allowed."
RegistryKey regKey =
Registry.LocalMachine.OpenSubKey("SOFTWARE\\App_Name\\" + subKey, true);
I realise that this has to do wi...
I built a little installer, which installs to program files. I run the installer and all is good, run the installed .exe and it just disappears. I guess at giving the EXE admin launch rights in Vista and it runs. But why is this needed? This can't be normal can it?
...
Hi all,
for a project we will be doing webbased certificate enrollment, in Vista / Win7 combination with IE this gives some problems if the user does not import the root certificate first and then changes a lot of default IE settings (Enable ActiveX not marked safe for scripting etc....). I was wondering if any of you ever created a tes...
From what I understand, the output from the following script should include "Win32_PerfRawData_PerfDisk_PhysicalDisk" in Windows XP and higher, but it doesn't for me in Vista Business 32-bit Service Pack 2. Thus far I have been very unsuccessful googling for information about this performance class.
strComputer = "."
Set objWMIService=...
Hello,
I am facing "error C2065: 'IOCTL_NDISUIO_OPEN_DEVICE' : undeclared identifier error in beneath code.
Where i am wrong, please help me out.
#include "Ntddndis.h"
#include "Nuiouser.h"
HRESULT OpenInterfaceHandle( LPWSTR adapterGuid, HANDLE *pHandle)
{
WCHAR deviceGuid[128];
HANDLE intfHandle;
HRESULT hr = S_OK;
...
Hi all,
Is it possible for a process to lower itself from elevated UAC permission back to standard user? If not can the elevated process launch its copy with standard user token and then kill itself? Any code examples (C# preferred)?
Details:
Problem:
- user installs my product (written in C#)
- the installer elevates its UAC permissi...
Are there any tools available for converting a desktop vista machine into a virtual machine to run with MS Virtual PC? I am buying a new workstation and would like to virtualize my old machine onto the new one. I know of the tools for Hyper-V, but i'll be running Win7 on the new machine, not Hyper-V server.
...
in a large listview control collection (say 5000 items), adding a SINGLE extra
item can take 10+ seconds in windows vista/7, and that's just the LVM_INSERTITEM
message handling
it looks that it only affects LVS_ICON, LVS_REPORT and LVS_LIST are still very
fast
can anybody confirm this?
the same code on windows XP with similar listview...
I'm brand new at Ruby. Trying to set up the first application/project using Aptana Studio.
Here are my ruby and gem versions
c:\>ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
c:\>gem -v
1.3.6
I am seeing this error below while starting my ruby application. I'm developing on Vista (sucks, I know but am working on ...
In Windows Vista and Windows 7, ToolTips have a new visual style or theme, they are shiny grey metallic. How can I enable the new style for a ToolTip control?
Some controls, like ListViews and ToolBars, use the new tooltips automatically, but other tooltips are rendered with the old yellow XP style.
I've tried sending an TTM_SETWINDOW...
I have a c# application that does text rendering, something on par with a simple wysiwyg text editor.
I'm using TextRenderer.DrawText to render the text to the screen and GetTextExtentPoint32 to measure text so I can position different font styles/sizes on the same line.
In Vista this all works fine. In XP however, Arial renders diffe...
I'm having a problem localizing the Task Links for a Control Panel applet on Windows Vista (http://msdn.microsoft.com/en-us/library/cc144188(v=VS.85).aspx#localizing_links).
This is the part of my XML file where I define the task:
<sh:task id="{3DC35DFB-B037-4148-B351-7959EE034D92}">
<sh:name>@MyApplet.cpl,-101</sh:name>
<sh:keywor...