windows-vista

Screensaver does not play videos in Vista

One of our products is a screensaver that plays movies using DirectShow. In XP this screensaver works when no one is logged in. In Vista no movies are played when no one is logged in. The reason is that "CoCreateInstance" fails with error code 0x80070005 (= "Access Is Denied"). This is the code we use to initialize DirectShow: HRESULT ...

Compaq Visual Fortran Install on Vista?

Anyone successfully able to install Compaq Visual FORTRAN 6.x on Vista? Tried the other day, but did not have any luck, so just wondering if obsolescence is upon this ol' compiler. Thanks again. ...

Clipboard Tool to Paste Several Version Back

I'm working on migrating some Flash files from AS2 to AS3, and I'm realizing that there are several pieces of text that I need to copy over and over and over. Right now I have those pieces of text in an open notepad file, but I would love to have the ability to store those pieces in a clipboard so I can easily access them like by pushin...

.net remoting in Vista

I've got an application that communicates with a wndows service via .net remoting. Under XP this is all fine but when I run the same code on Vista I get the exception System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8969 Server stack trace: at System.Net.Sock...

Substage in Vista and Windows 7

Hello, I tried installing substage in Vista and Windows 7, but it always crashes when I try to start the programm. Is there a fix for this? ...

Get path to Portable Device in Vista

I'm trying to write a quick app to fix the ID3 tags on my MP3 player, and I hit an annoying snag. When I plug my MP3 player into the USB, it shows up in Vista under the Portable Devices category and doesn't get a drive letter assigned. I'm using Vista x64 Home Premium and .NET 3.5. The path looks something like "Computer\MP3 Device" Tr...

How can I downgrade from IE8 to IE7?

How can I downgrade from IE8 to IE7 on Vista? I want to downgrade because my Flex Builder does not correctly close the browser when debugging Flex Applications. I'm sure this may be fixed in some future release of Flex Builder or IE8, but for now, I'd like to downgrade in order to debug more effeciently. ...

Can users interact with services directly on Microsoft Vista?

From the Microsoft website (see msdn.microsoft.com/en-us/library/ms683502(VS.85).aspx) it clearly says "Services cannot directly interact with a user as of Windows Vista". So I decided to test this by using "psexec -s cmd.exe". As far as I know, "psexec" creates a service in order to open a command prompt. Needless to say it worked. I ...

SQL 2005 express with 2008 express compatibility

I installed VS 2008 without SQL 2005, then I installed SQL 2008, then I needed 2005 express so I reinstalled VS checking the SQL feature. The installation went OK, however I still cannot open mdf files from VS. I think there is no 2005v instance installed. When I dbl-click an mdf file in VS I get the following message: Connections to SQ...

Access violation error when using glut on vista

I am new in OpenGL. I am using glut library in VC express edition on vista. I am getting runtime error of "access violation" on the following line glClear(GL_COLOR_BUFFER_BIT); Can I avoid this error somehow? Shahab ...

Determine if network printer is Client-Side Rendering (CSR) or Server-Side Rendering (SSR)

Vista introduced a new type of rendering for printers, Client-Side rendering.link text From the Printer Interface DLL, is it possible to determine if the printer is set to CSR or SSR? ...

Development Laptops and windows vista professional

So, I'm planning on buying a laptop for development purposes. I want a windows based machine, however since I want to run IIS (a requirement for sql server) I need the professional edition of the software. All vendors seem to provide only the home edition of the OS. I don't want to buy the home edition only to have to buy the professi...

Where can I write data that can be viewed and modified by all users in Windows Vista?

I need to write some data (for trial use/expiration) and I need the app to be able to read/write to that location from a Non-Admin account on Vista with UAC "on". Also, I'd like to be able to see and modify the data from any user account. I originally considered writing to the KHEY_CURRENT_USER Registry Hive but that will be unique for...

How to share memory between services and user processes?

I have a set of Win32 applications that share information using a shared memory segment created with CreateFileMapping() and MapViewOfFile(). One of the applications is a system service; the remainder are started by the logged-in user. On Windows XP, there was no problem. We named our segments “Global\Something” and all was well. The a...

Apache + Vista = No Ports? (Why thanks, Skype)

I've gotten a new machine, but it came with Vista. I figured it would be best to wait for W7 before I spent any money on an OS, so I'm stuck with it for now. But I must get my development environment setup, and soon! My machine came with McAfee, which I'm using for the moment, and I've let port 80 be open and I've given httpd.exe acce...

Recursive file copy and rename on the Vista command line

I'm trying to recurse through my music directory and copy every file called folder.jpg to a file in the same directory called cover.jpg. I've tried variations of suggestions in this question such as this: for /r %i in (folder.jpg) do copy %i cover.jpg Resulting in "The system cannot find the file specified." How can solve this probl...

Determine whether or not a TCP/IP port is already in use under Windows?

The cross platform dev environment I use has a built in function that is supposed to indicate whether or not a tcp port is available. However, the function malfunctions under Vista and always returns "available". Is there an easy way, such as a dll function, I can use to correctly determine this information without needing .Net? ...

How do you quickly enable/disable a monitor?

Is there any alternative to UltraMon to be able to quickly turn a screen on and off. I'm using multiple monitors and but have a piece of software with features that doesn't work when two monitors are enabled. Windows Vista, nvidia, using the windows control panel currently. ...

Why my eclipse [on vista] shows incorrect file modification timestamp?

When I right-click on a recently modified file (like a jar generated by Java Builder) and view the file properties, the modification timestamp is always off by 2.5 hrs. Windows explorer, on the other hand, is showing correct timestamp. I suspect that their some time zone setting in eclipse somewhere that is used in translating the file...

PrintTestPage with C# on Windows Vista

Hi all. I have a very odd problem when printing a test page after installing the printer on the network. That all works very good and when running the code As Administrator... the test page is also printed. But when I run the program "normally" I get an "Access is denied". So here is the code: // get the printer string path = "Win32_Pr...