windows-7

Windows 7 Menu Bitmaps inconsistencies

I am currently adjusting a Windows Applications GUI for Windows 7. I find a (although rather cosmetic) problem with icons in menus: In XP i use Bitmaps do identify menus which are checkable. We supply a separate Bitmap for checked/unchecked state. The bitmaps have a size of 13*13 pixels: In Windows 7 though all checked Menus have a r...

Prism/CAL and WIn7 Taskbar Grouped Thumbnails/Preview

So I'm using Prism v2 (CAL) in an app with four separate modules, loaded as tab controls. Works great so far. Quesiton(s): How do I have one grouped taskbar icon in Win7 for each tab, and how do I get 4 taskbar preview windows to display (one showing each tab control's contents, like in IE8)? If it helps, this is how I'm loading my tab ...

Windows 7: Automatic Logon Policy not working for winhttp API VB6 activeX control

I'm using WinHttp to do POSTs in a VB6 activeX control as follows Set WinHttpReq = New WinHttpRequest WinHttpReq.Open "POST", strUrl, False WinHttpReq.SetAutoLogonPolicy AutoLogonPolicy_Always aPostBody = 'Sometext' WinHttpReq.Send aPostBody UploadFile = WinHttpReq.ResponseText This works great on windows XP (all versions of IE), but ...

Windows 7 Jumplist Override Max Slots

I'm messing with the cool jumplist stuff in Windows 7. I was hoping to add a number of items to the custom categories but noticed that I'm capped off at 10 items. Is there a way to override the number of available slots? I noticed that this program Jumplist-Launcher goes up to 60. I don't want to do that many but it'd be nice to know...

OpenGL with GLUT on windows 7, fullscreen mode not showing the message box

Hello, I wrote an OpenGL app in C++ a while ago, back when my operating system was Windows XP. I used GLUT (plane ol' version) to show the window and also used full screen mode. There are times when I displayed a message box (MessageBoxA method, using the MB_TASKMODAL modifier). In windows XP the message box was being displayed nicel...

Algorithm to determine vista/windows 7 OS edition from product key

We have to automatically create the XML file for an unattended vista/windows 7 installation in which we do write the product key (MAK type). Unfortunately the windows image contains multiple editions (home, home premium, professional, ultimate) so we need to decide which version we should use and write that info to the XML as well. And w...

Python: WindowsError when editing Registry values using _winreg on Windows 7

I am trying to execute this script by Ned Batchelder to switch .py file association between my two Python installations on Windows. This Python script uses the _winreg module (winreg in Python 3.x) to edit certain Registry values (the path and value pairs modified can be seen in the todo list in the script). I execute this script as fol...

Socket support using wamp in windows 7

Hi, I'm running windows 7 and using WAMP for my local development. Now I Installed Cultbooking (sourceforge.net/projects/cultbooking/) in my wamp and can't finish my installation because it says sock "Socket support - Socket not supported". I don't know how I can enable my socket. I'm new to web development. This is what I did, I downl...

read or write ratings from AAC file

I'm trying to figure out how to read the "ratings" from an AAC file on Windows 7. This data is somehow persisted in the file as the Windows 7 shell and WMP can read / write the ratings. In MP3 the ratings data is stored in the PopularimeterFrame of the Id3v2 but AAC does not use Id3v2 tags. Does anyone happen to know how to get at this...

Windows7 on virtual pc

I would like to check out Windows7 and install all of my developer programs on it just to test if everything works fine. In the mean time I want to continue my work on my Vista os. Is it possible, using Virtual PC, to install Windows7 and afterwards replacing my Vista installation with this Virtual PC Windows 7? ...

How do I manually copy assemblies into the GAC?

I'm using Windows 7 Ultimate, trying to manually copy a file into the GAC. I tried using Windows Explorer but it promptly tells me "Access is denied". I tried using the command line with elevated permissions and it says the file was copied but I can't find the assembly anywhere. I'm updating a third party spreadsheet component (GemBox) ...

programmatically change the windows color border of windows 7

using c# how do you programmatically change the windows border color when running aero on windows 7? ...

Building a winform app in VS for windows 7 x64 - get an error on install

I have a winform application that i desiged in VS2005 that works fine in windows 7 x86 however when i try to install it on x64 I get the error: "You have to run the 64-bit version of DPinst.exe on this machine. Contact the vendor that provided you this package. " In VS I have the build set to 'Any CPU' which should handle 64bit. I cant...

Decoding Window 7 Sticky Notes File

I love the windows 7 sticky note app and need to write a quick script to copy my notes to my iphone (easier than bringing a laptop to meetings). How can I extract my notes from the stick notes file (C:\Users\USER\AppData\Roaming\Microsoft\Sticky Notes\StickNotes.snt). The file stores undo entries, or other meta data, for each note, so I ...

.Net Framework v3.5, Service Pack 1 for windows 7

When i try to install .Net Framework v3.5, Service Pack 1 on my PC wich have a windows 7 os an error message tels me that there is a compatibility probleme. How can do to execute this installation??? ...

How to code a responsive progress bar that uses callback functions?

I have this progress bar that uses callback functions from a third party driver, to display a traditional progress bar in a window called CFProgress. CFProgress *cFM=new CFProgress(); theApp.m_cFM = cFM; cFM->Create(CFProgress::IDD); cFM->ShowWindow(SW_SHOW); thirdpartydriver->set_OnProgress(ProgressFuncC, (void *) cFM); thirdpartydrive...

Math on batch (win)

Hello, i am developing a CMD batch kind of thing. Now, i want to do some math in it. This formula: (x+1)100:y or for guys who are not so good in math: x+1, answer times 100, answer devided by y. So in batch, x = %x%, and y = %y%. So, i know how to set the variables. Now, how can batch calculate this? (WINDOWS CMD) Do i need some...

Win7 ServiceProcessInstaller Set user login dialog not populating user

We used to prepopulate the user name in our Windows service installers, but under Win7/Windows 2008 MS has changed the behavior. Our simple line of code in the installer this.serviceProcessInstaller1.Username = Functions.GetRegistryPath("", "ServiceUserName"); no longer works and the dialog comes up without the user name prepopulate...

VB6 Apps Hangs only in Vista/Win7/Win2008 Must reboot to bring them back

I have vb6 apps that runs without any problems for hours on vista/32/64 or win7/32/64 and Xp32/64 machines. It sometimes hang in XP machines but I can just close the app in Task Manager then restart without any problems. Now with Vista/Win7, it still hangs after several hours then I close the apps with Task Manager then restart the app...

Cannot connect to MySQL through PHP

Seems like a beginner question but I can't seem to figure it out ... I have a fresh Windows 7 x64 / Apache 2.2 / PHP 5.2 / MySQL 5 x64 installation. Actually I tried both IIS and Apache. But this PHP Code does not work: <? $hostname = "localhost"; $username = "xxx"; $password = "xxx"; $db = mysql_connect($hostname,$username,$passwo...