windows-7

windows 7 - where and how can I store machine user independent data?

I have an app (32 bit c++) running under XP that I need to adapt to run under Windows 7 and Vista. It needs to store a few dozen bytes of data someplace independent of User. Under XP, I stored the data in the registry under HKEY_LOCAL_MACHINE\Software. When I run the app on Windows 7 the registry entries are virtual-ized and each user...

How to programmatically create a file association that works in XP, Vista and Windows 7

I want to be able to register my file-extension from my program. (Associate the filetype with my program) There are lots of articles about this, but the technique discussed (fiddling with the registry) is only appropriate for Windows XP as far as I see. What is the best way to associate a filetype with a program so that it works under ...

Bypass keyboard,mouse input and let SendInput pass

I'm making user definable key macros to a program. (Those macros are limited to that program.) I'm using TApplicationEvents to record key messages. And then use SendInput to play them back. But I need to disable mouse and keyboard so it wouldn't interrupt playback. I can't use JournalPlaybackProc and JournalRecordProc because they are ...

TaskDialog default button

stackoverflow just works faster :) I'm using the Windows® API Code Pack for Microsoft® .NET Framework to access Windows 7 API and I want to change my old MessageBox to TaskDialog. One thing I cannot find is the default button of the dialog. Is there a way to set it? what about a work around? thanks ...

Windows 7 file problem

I am using VB6 SP6 This code has work correctly for years but I am now having a problem on a WIN7 to WIN7 network. It also works correctly on an XP to Win7 network. Open file for random as ChannelNum LEN =90 'the file is on the other computer on the network RecNum = (LOF(ChannelNum) \ 90) + 2 Put ChannelNum, RecNum, MyAcFile '(MyAc...

Visual Studio 2008/2010 & SQL Server 2008 on Windows 7 Home Premium

Are there any limitations with respect to developing ASP.NET and WPF apps using VS 2008/2010 and SQL Server 2008 on Windows 7 Home Premium? I know you can run IIS 7.5 on Home Premium. I Googled and Binged on Home Premium and VS/SQL Server and couldn't find much. It doesn't look like the features missing from Home Premium, domain joinin...

Configure IIS for ftp using Visual Studio for an asp.net application in windows 7

HI can anyone please tell me how to do this please? I can't seem to do this ...

Create Executable From Assembly Code

Hello, I need to create an executable from the next assembly code: .MODEL SMALL .DATA TEXT DB 'Hello world!$' .CODE .STACK 20 .STARTUP MOV AX, @DATA MOV DS, AX MOV AH, 9 MOV BL, 02H INT 10H MOV Dx, OFFSET TEXT INT 21H MOV AH, 4CH INT 21H END It works with Turbo Assembler (tasm.exe), but I don't want to continue working with it, becau...

How to write windows script to dial a connection

Is it possible to dial-up and hang-up a connection? The connection is a PPP 3G connection in my Windows 7 system. ...

Problem finding office DCOM in Component Services in Windows 7

I have a problem getting my word and excel to work in ASP .NET. I get the error message: {System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. at xxx.Utility.WordDocument..ctor(String filePath, HttpServerUtility u...

How to draw Windows 7 taskbar like Shaded Buttons

Windows 7 taskbar buttons are drawn on a shaded background. The color shade somehow reacts on where the mouse is over the button. I'd like to use such buttons in my application. How can i do that ? ...

How to use Windows 7 Jump Lists in a Java Desktop app?

As the title suggests, we have a Java (Swing) desktop application, and we'd like to be able to have some basic access to the Jump Lists (in the new Windows 7 taskbar). In particular, we'd like to be able to add some "user tasks" to the jump list--the ability to start other modules in our application, maybe to close all running modules, ...

I can't check out SVN project on windows 7 Ultimate

On windows 7 Ultimate I can't check out SVN projects or do updates. After clicking checkout project or update it shows a dialog where I put in the project URL and then require me to type in username and password. After that the dialog just hangs there, with message the bottom "639 bytes transferred, at 0 bytes/s". If I user repo-browser ...

.NET for Windows 7

I want to take advantage of the new Windows 7 taskbar functionality in a .NET application and would like to know what people think is the best way to check for Windows 7 features in .NET. My aim is to have distinct code for Windows XP and Windows 7. I'm not overally keen on: just wrapping the Windows 7 code in a try catch if OS = ...

Javascript window.open returns null in 32-bit IE8 on Win7 x64

I have read the related questions on this topic, but haven't yet found a solution to this issue. I have a simple javascript function that calls window.open when a link is clicked: var newwindow; function pop(url) { newwindow=window.open(url,'','height=500,width=532'); if (window.focus) {newwindow.focus();} } This works fine...

Is there a way to always have vs.net run as administrator?

Every time I want to open up a solution in vs.net, I have to first click on the vs.net icon, run as admin, and then open and search for the solution in the file system. i.e I can't just click on the solution file and fire things up because it won't open since I have to run as admin. is there any easier way? (vs.net 2008) ...

how to create windows 7 jump lists via python/pyqt?

i have a pyqt project which i'm interested in using to play around with the new windows 7 jump list feature. after a bunch of searching, i have not found any specific examples of anyone creating jumplists via python. has anyone here found an easy way to hook into this? does mark hammond's pywin32 module have an appropriate wrapper? t...

Is AppData now the 'correct' place to install user-specific apps (which modify their own data)?

I'm probably just being very thick here, but it's not clear to me where I'm supposed to install 'new' user-specific programs on Windows 7 (and presumably Vista too, though I've not specifically looked at that scenario yet). Under Windows XP (rightly or wrongly) we always installed our programs into folders under 'Program Files' and acce...

Pinning a Java application to the Windows 7 taskbar

Original question I use Launch4j as a wrapper for my Java application under Windows 7, which, to my understanding, in essence forks an instance of javaw.exe that in turn interprets the Java code. As a result, when attempting to pin my application to the task bar, Windows instead pins javaw.exe. Without the required command line, my appl...

Is Enterprise Library 4.1 supported for Windows 7?

I was trying to run an application locally with Enterprise Library 4.1 and do logging to the event viewer. I didn't see Windows 7 under the supported operating systems. Does anyone know of a workaround or if this will not work at all? Also does anyone know if any other logging such as email or DB through Enterprise Library is available o...