windows-vista

Run a setup without admin privilages

I have a setup program that I want to install to a local folder. I also do not need it to write any settings to the registry. On Vista, and maybe on Windows 7, executables named similar to setup or install require admin privileges, I would like to be able to run it without admin privileges, to make sure that it does not write to the re...

PHP on windows environment Vista

Do I need a special library to run PHP on Windows environment Vista? I can write simple message like echo "hello" but whenever I try to run any these scripts no error nothing display on the page http://php.net/manual/en/function.crypt.php. I'm new to PHP please help ...

How to make your MFC application bypass UAC in windows7 and Vista

I have an MFC application developed in VS Studio 2008 which reads and writes to a JSON file in its installation folder. It works perfectly in vista(administrator) BUT ONLY when UAC is turned off. When UAC is ON, the application isn't able to write to its JSON file. I figured I had to create a manifest file but I haven't really tried crea...

IProgressDialog with a custom dialog or information about how the animation is performed

There are basically two questions here, an answer to either is fine. 1) Is there a way to add items into an IProgressDialog? Such as drawing more text (than the few lines provided) or an image or adding a button? Is there a class that overrides this that provides extra functionality? (Since I'm not doing a file operation, the IFileOp...

Please help me find a solution for “A generic error occurred in GDI+”

I am running windows vista business 64 bit. I have a web service that was written in .NET using C#. I also have a client-side script on a web page that communicates with the web service. This is a aspx page titled "Default.aspx". I setup IIS and moved my web service folder containing the web service and all of the files that are needed t...

Has BluetoothAuthenticateDevice Stopped Working Since Vista SP2?

The Win32 call BluetoothAuthenticateDevice doesn't seem to function properly since Vista SP2. If you pass in null for the PIN code, the Bluetooth Connection Wizard is supposed to be displayed, allowing the user to enter the pin code and pair the device. This was working fine until I installed SP2. Now, BluetoothAuthenticateDevice is fa...

How to code a new Windows Shell?

How would I go about coding a new Windows Vista Shell? ...

Database Create on SQL Server2008 Express/Windows VIsta Home Edition

I successfully installed Express on Windows Vista Home Edition. When I tried to create a database using the account under which it was installed I received this message: TITLE: Microsoft SQL Server Management Studio Create failed for Database 'Test1'. (Microsoft.SqlServer.Smo) ADDITIONAL INFORMATION: An exception occurred while exe...

Vista: create a process from service with out popping up any dialog boxes

Hello All, I am new to vista and not a advanced programmer. From past few days i am trying to digest many technical details about vista. But still i have few basic questions on it. Hope you all will be help me in getting the answers for my questions. Can we create a interactive process(which is having a embedded manifest file with "inv...

ColorBox over Flash in Firefox, Vista

Hi I am using ColorBox over a Flash file which works just fine in all browsers on all platforms except for an annoying behaviour in Firefox on Vista. On calling ColorBox it pops up and displays the loading graphic fine, but once the content has loaded the ColorBox window resizes and then stalls for up to 10 seconds before showing the co...

UAC, Vista and C# - Programatically requesting elevation

I have a program that only requires elevation to Admin on very rare occasions so I do not want to set-up my manifest to require permanent elevation. How can I Programatically request elevation only when I need it? I am using C# Thanks ...

Is there a Windows alternative to Mac simultron vertical-alignement in Notepad ++ or another software ???

Thanks for your help !!! ...

howto : make Tortoise Hg and Tortoise Svn co-exist

I installed Tortoise Hg(mercurial) on my box. I then installed Tortoise SVN on the same box. When I go to a folder and try the RIGHT MOUSE , I see the menu entries for "Tortoise Hg" and Nothing from "Tortoise SVN". What gives ? What can I do to make both co-exist peacefully ? It will be a nice idea if both the teams work together and c...

Using DrawThemeTextEx in C#?

I am creating a label control which can be used on Aero Glass and I want the text to glow "the Vista way". There is a WinAPI function called 'DrawThemeTextEx' but I don't know how to use it and searching didn't give many results. I found this message but it doesn't tell you much : http://www.codeproject.com/Messages/3273238/Text-on-Aer...

how do i copy files from 1 folder to another while excluding certain file types?

Hi I am using windows vista. i have a folder containing many files and subfolders. i need to copy the contents of that folder to another without including any files of the extension .txt. how do i do that? ...

Does Windows 7 still assign Event Log permissions via the Registry?

Hey guys, Very simple question that I've been having trouble answering. In Windows XP and Server 2003, I have occasionally come across a problem when trying to write to the event log. "The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security." The solution to this that has worked in th...

Open default browser as standard user (C++)

I'm currently using ShellExecute "open" to open a URL in the user's browser, but running into a bit of trouble in Win7 and Vista because the program runs elevated as a service. When ShellExecute opens the browser, it seems to read the "Local Admin" profile instead of the user's. So for example, if the user at the keyboard has Firefox a...

Problem installing QT on Vista

Hello, I have downloaded QT SDK LGLP (Creator + libraries) 4.6 and I am having problems compiling projects. After install I have added C:\Qt\2010.02\qt;C:\Qt\2010.02\qt\bin to PATH and added QTDIR env varaible containing C:\Qt\2010.02\qt, the I run "configure -platform win32-g++" to compile it. Everything went good. I the tried to use ...

Process.Start with different credentials with UAC on.

I am trying to start another process with Process.Start running under different credentials with the UAC turned on. I get the following error: System.ComponentModel.Win32Exception: Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has...

Is it possible to get Logged in user Non Restricted token from a service on Vista?

Hello All, I need to create a process with integrity level high, so that it can do all the administrative tasks. But the created process should run in the current logged in desktop i.e. it should not run in session 0. By default only administrators will log on to the console. The service should launch the process, as service is running...