I'm having some trouble with the bolded dates in monthcalendar (it's a windows forms project).
When I set all the dates I want to be bold to bold, I can't see them bold, but then if i change Vista visualisation to classic I can see the bolded dates. I've also noted that on a classmate's computer who is also using Vista, I can see the bo...
On Vista using IE8, I have an instance of IWebBrowser2, which I am using to obtain the current HTML document:
IWebBrowser2* browser;
CComPtr<IDispatch> disp;
HRESULT hr = browser->get_Document(&disp);
When this is executed by an Administrator, the call succeeds. However, when called by a regular user, the call returns an error code of...
Hi all
i am using CredUIPromptForWinodwsCredentialw for prompting the user for verifying his/her credentials how can i verify these credentilas.
the code i am using is
BOOL save = false;
DWORD authPackage = 0;
LPVOID authBuffer;
ULONG authBufferSize = 0;
CREDUI_INFO credUiInfo;
DWORD logininfo;
credUiInfo.pszCaptionText = T...
Hi there guys, I noticed another person also requested help on this. I read that post and it seems it wasn't resolved yet. I also tried changing from my code to the code in the "Screen shot in 2 clicks" Post, But implementing that in my code messed around with all my other code for some reason.
At the moment, The screen shots show up pe...
Hi,
I have some EXEs for which I do not have code. Can I still add manifest files?
Also, according to my understanding of the topic, for a program to be Vista compliant, it should not write to any secured locations like HKLM, Program Files etc.
For registry we can use HKCU, but about the files that are getting created in Program Files...
One of my Executables writes some configuration into a XML file to C:\Program Files\MyApp\config.xml. It needs to run as Administrator on Vista / Server 2008, otherwise the OS won't let it write to that location.
I included a manifest file named config.exe.manifest, to automatically request administration rights at launch.
Here's my ma...
I am using a tool from Xenocode that can build a virtual application environment. Our application is complex, with several tools and executables that work together. Initially I used a xenocode tool to take a before and after snapshot to generate the original app. Since then I have modified the build script manually. Now I have to add a n...
Currently the buildout recipe collective.recipe.omelette uses junction.exe on all versions of Windows to create symlinks. However junction.exe does not come with Windows by default and most importantly does not support creating symlinks to files (only directories) which causes a problem with quite a few Python packages.
On NT6+ (Vista a...
Here is the code to get Desktop path on Windows Vista.
import pythoncom
import win32com.client
pythoncom.CoInitialize()
shell = win32com.client.Dispatch("WScript.Shell")
desktop_path = shell.SpecialFolders("Desktop")
Code works fine when I tried on python interpreter but its not working when I execute the same code from Python scrip...
Hello,
I am currently running Windows Vista Home Premium, and I have developed an application with my friend using QT Creator. We are now trying to deploy our application as just one executable, so we are trying to do a static build. We have added CONFIG += static in our .pro file.
We are using this documentation to help us:
http://d...
I'm preparing a laptop to take with me while travelling, so all my user data is encrypted using EFS in case someone decides to steal it. I also need to set up a couple of local sites for development with IIS. If I turn off encryption on the wwwroot of a site, IIS can serve it just fine. However, I really would like to be able to use encr...
Dear All,
I wanted to allow only one URL and block rest of the URLs
But I am not able to do so,
I have referred to the below link
http://social.msdn.microsoft.com/Forums/en-US/wfp/thread/61349463-516a-4c41-bda3-fa2993d06a0e
but its blocking all the url, including the one exception URL.
Its very urgent,
Please somebody help me in ...
I'm not interested in getting version information. All I want to do is to make sure my application will only run on a legal version of Windows and not on a pirated version. Windows uses some trick to determine this but still allows pirated versions to continue to run, although with some limits.
So, is there a way to check if the applica...
I have an application and I'm trying to make sure it's running in a secure environment. First of all, I check if Windows is genuine, which makes it more likely that the user keeps it up-to-date. If not, I just pop up a message warning the user there's a possible risk because he still needs to validate Windows.
Now, I want to do a bit mo...
I have my app, running one on XP & one on Vista OS.
But there is a difference in thread count.
XP - 18 , Vista -14 threads.
Few threads are not started in my application which is running in Vista OS. So my application in Vista is not fully functioning. Any setting to be done?.
I have switched off the UAC in Vista.
Sounds crazy but tru...
I have a problem where Windows discards custom ICC display calibrations whenever an external monitor is hot-plugged into my system. I believe this applies to both Windows 7 and Windows Vista. I want to automate pushing the "Reload current calibrations" button on the advanced tab of the Color Management control panel applet. Ideally, I'd ...
The following bit of code works on Vista as expected (focus is moved down the ListView), but on XP SP3 (with .Net 3.5 SP1 on both) it moves only between the first two items of the ListView.
if (myListView.SelectedItem != null) {
IInputElement orig = FocusManager.GetFocusedElement(this);
FocusManager.SetFocusedElement(this, myLis...
I start with a new Delphi VCL application, add Menus to the uses clause, drop a label on the form, and assign the form's OnShortCut event:
procedure TForm1.FormShortCut(var Msg: TWMKey; var Handled: Boolean);
begin
Label1.Caption := ShortCutToText(ShortCut(Msg.CharCode, KeyDataToShiftState(Msg.KeyData)));
end;
On XP, this works corr...
Is there a way to detect which programs or modules are listening to a keyboard hook? By Sysinternals maybe?
...
On the Windows Vista taskbar, you can middle-click an icon to open a new instance of a program. In a Windows Vista explorer window address bar (the thing that shows the current file path as a bunch of clickable folders seperated by arrows,) you should be able to middle-click a folder and open a new window there. Is there anyway I could ...