windows-vista

Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to *%ProgramFilesFolder%\OurApplication\demo\* since restricted users will not be able to open and modify these projects. Is there a "correct" place to install these files now? The two alternatives that I am aware of would b...

Ericsson f3507g WWAN (3G Broadband) and AT commands

I have a lenovo x200t tablet with WWAN built into it. I'm trying to connect to the internet using AT commands and a C# program which I am making so that the program can connect to the net and upload information on demand. I don't want to use Lenovo's "Access Connections" as it is too complicated for the end user. So far I have been ab...

How does Vistalizer work

How does Vistalizer manage to override the language limit in Windows Vista Home edition. Which api's does it use to allow installation of Multiple language packages. ...

Prevent undock computer in Windows

In Windows Vista SP2 and in Windows 7 there is a new item in the Start menu: Undock computer. In respons to the DBT_QUERYCHANGECONFIG event I return BROADCAST_QUERY_DENY but the undocking function proceeds anyway. What is wrong? Thanks in advance, Lars A simple WindowProc to illustrate the problem: LRESULT CMainWindow::WindowProc(UIN...

Vista window appears at the top and cannot be deleted

I have no idea how he did it but on my dad's laptop, which is running Vista, there is a window at the top; you can only drag it down but not remove, minimize or maximize it as those options do not appear. I restarted but it's still there. Here's a screenshot of what I mean: How do I remove it? It used to be my laptop but I've never se...

How can activate a glass effect (windows Vista/7) in a console application using Delphi

As I can activate the glass effect on my console applications. I am using Windows 7 and Delphi 2010. I found this application so it should be possible. Thanks. ...

Issue with .cab file (ActiveX) installation on Windows Vista and 7

I have made an ActiveX control and have made its .cab file for automatic installation on client machine using Internet Explorer.. It working fine of Windows XP, but on windows Vista and Windows 7 its installation is blocked by UAC (User account control), and when I disable it, all things works fine... I have signed my .cab file with a ce...

Importing local file dir into SVN repo with TortoiseSVN

This is my first time trying to use any SCM so please bear with me. Following the SVN manual, I create a repo in an empty directory. All good. Then I try to import an existing project folder. I'm using the shell command but it's like this: Import C:\Users\aaa\SVN\proj to file:///C:/proj_2 Unable to open an ra_local session to URL Unab...

ActiveX running Issue on Vista

I have Installed ActiveX control on windows vista.. using Internet Explorer and cab file.. It is installed.. I have signed the ActiveX with a test certificate.. but IE is not running my ActiveX, but when I launch the IE by right clicking it and then "Run as Administrator" every thing works fine.. This ActiveX is working fine on Windows X...

Vista Credential providers

hi i am using the samplecredentialprovider for vista it works fine with local users login but it is not let the domain user logged in on domain can anybody help me how can i do this ...

SSIS Package Error on Vista IIS ASP.NET

I'm having an issue executing an SSIS package programmatically in a web application during development on my machine. The package imports the contents of a flat file into SQL Server. The file path (data source) of the flat file connection is a local path on my machine, which is passed to the SSIS package as a variable. (All resources are...

256x256 icons trouble again, or how to get TRUE icon size through IImageList

I get the System image list by calling SHGetImageList: SHGetImageList(SHIL_LAST, IID_IImageList, (void**)&imList); I have a list of 256x256 images, but size of small icons which have not 256 version, have size 256 too. I need to get each icon with it's true size. How can i find out its size? I'm get the size of an icon by using the ...

Changing vista file permissions programmatically

Hi, I want to add some files to C:\windows\XXX (windows protected folder, in Vista), under the "TrustedInstaller" for my application. I do not want to replace any file so no issues on Windows Resource(formerly file) protection. I have the code to change "ownership" to the current logged in admin, however, I'm don't have any clue how to ...

What is the Maximum length that a Windows Registry Key name can be?

I'm writing a very long registry Key name (it's a list of programs for a combined uninstall) and I think it's too big. What's the max size the key can be (in characters) ? (The smallest maximum among Win xp, vista, 7 since it'll need to work on all of them) ...

C# 2005 console application always requires elevated privileges

Hi, I am trying to build an automation application in C# 2005 express edition under windows vista. Problem is, Whenever I try to run this application, either from IDE or directly compiled executable under vista, it asks for elevated admin privileges, same executable runs under XP normally though! I'm unable to understand if this proble...

Copy to Program Files under Windows Vista/7

Hi, I have written a wizard in c++ which installs some files to the program files folder under windows. As I understand, I need Admin rights to write to program files under Vista/7. So my question is: Is there a way to turn on Admin rights while the application is running respectively only for one wizard page? Or do I have to start anot...

How to Run(launch) elevated command promt programmiticaly in Vista

Hi, I'm trying to install some files from a batch file (through code). However the command should only run as "elevated command" in Vista and Windows 7 Is there any way this can be done programitically? I'm launching the batch file by calling "CreateProcess" in VC++/MFC code. Thanks ...

Desktop Window Manager capture the whole screen

Hello all, I was wondering if anyone could give me a starting point of how to capture the entire screen in Windows Vista/7? I know how to do it in previous versions of Windows, but would really like to keep everything in the D3D stack, without resorting to GDI/BltBit calls. I realize that you can get a live thumbnail of a given window...

How to bring up PDF embedded in windows.forms.webbrowser control in VISTA.

Webbrowser1.Navigate("http://mysite.com/test.pdf") XP WEBBROWSER-CONTROL: brings up PDF embedded in webbrowser control, as desired. XP IE7: Behaves the same if you manually navigate to URL, as desired. VISTA WEBBROWSER-CONTROL: brings up PDF by separately launching Acrobat, won't embed in webbrowser control. Not desired. Vista IE7...

How to access thumbnail cache of vista and 7 using c#

Hi, I wanted to access the thumb cache of vista and 7 to be used in my ImageList. I know how to do it in XP by means of the thumbs.db files, but in vista and 7 the thumbs.db is not present so how will i do it? ...