windows-7

How to determine network name in a proxy script?

I need to create automatic proxy confituartion script (*.pac). I need to determine the name of the connected network (windows 7 shows it in network and sharing center). If the name matches specific name, the proxy address will be XXX.XXX.XXX.XXX:8080 with name and password NNNN and PPPP, else there will be no proxy. ...

Can I use SAPI 4 on Windows 7?

The problem with SAPI 5 is that I can't find any free Portuguese (Brazilian) voices; plus, I need to distribute the speech engine along with my program, so the paid alternatives would be way too much expensive. Is there any way that I can use and distribute the SAPI 4 engine and voices and make it work in Windows Vista and Windows 7? ...

msmdpump to SSAS

Hi, I have got msmdpump.dll set up on a windows 7 machine pointing to an SSAS instance on another server and every request I send is being logged in the event viewer with the following error. Event ID: 10 Qualifiers: 16653 Message: Message-handling subsystem: The message manager for the default locale cannot be foun...

Installing C# Windows Service on Windows 7

I have a batch file that I have been using to install my C# Windows Services for awhile now, never had a problem until Windows 7. I have attempted to run the batch file with Administrator privileges. I have attempted to run the command prompt with admin privs, navigate to the windows service EXE and run InstallUtil there. Still doesn't w...

Advantage of running Visual Studio 2010 on Windows 7 instead of Windows XP

Is there any advantage of running Visual Studio 2010 on Windows 7 instead of Windows XP? ...

nsis on Windows-7 reboot for .NET 4 installation does not continue installation

When installing my application I also install the .NET 4.0 redistributable if .NET 4.0 is not present on the machine. On Windows-7 this sometimes (maybe always) causes a reboot (outside of nsis's control). I should like the installation to continue after the reboot. I should be grateful for advice on how to address this scenario with ...

How do I set MySQL as the default database in Rails 3?

I started using Rails 2 last April but stopped this June because I thought learning it when Rails 3 was released would be more practical since a lot of it was completely refactored and restructured. I used to work with Ubuntu 10.04 (with SQLite3 as the default db) but now I'm using Windows 7 and MySQL 5. I already installed the gem adapt...

How to cope with Install error 1920 about winsxs merge modules in Vista and 7?

Hi all, When I try to install my msi package I get an error only in Vista and 7. "Error 1920. Service ... (...) failed to start. Verify that you have sufficent privileges to start system services" I get this error in Vista or 7 if I build my setup with C++ 9 CRT Winsxs MSM merge module If I use C and C++ 7 runtime libraries it doesn't...

Create Windows 7 Quick Launch

how to Create Windows 7 Quick Launch Icon With C# ? ...

Windows 7 file extension association

I am referring specifically to windows 7. I have code that associates a certain extension with my application as proposed by webJose on the following page: What registry keys are responsible for file extension association? (However i correctly write to HKEY_CURRENT_USER\Software\Classes instead of HKEY_CLASSES_ROOT as suggested) The ab...

Eventlog in Windows 7.

I can't seem to write to the event log in .NET. I get the following exception: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. I don't want to access the Security log. How do I get around this error? Thanks! ...

How do I upgrade my Ruby version in Windows using Instant Rails?

If I'm using Instant Rails, how do I upgrade my Ruby version from 1.8.6 to 1.9.* which they say runs faster in Windows? What's the necessary Instant Rails console command? Thanks. ...

COM registration with WIX in 32bit and 64bit Windows

I created an installer for my AnyCPU DLLs. I've marked my assemblies with teh Assembly=.net directive in my project as well. The installer seems to be able to register the COM servers successfully on my XP 32bit machine, but fails to do so in my Windows7 Machine. I did run the installer in admin mode. Also I looked up the Win764 registry...

How to make clone or extended mode

Hi friends, I am having multiple monitors(virtual+real) and by default I wanted to put it in clone/dual mode from my program. Can some one suggest how do I achieve this? I am very new to this world:) sorry for this basic question.... even any doc or any link will be highly appreciable. /sarbojit ...

Unable to Install Certificate on Windows 7 using CertEnroll

We have an existing certificate issuing application (C#, ASP.NET, JavaScript) that issues certificates to Windows XP users using XenRoll in IE. I need to extend this to support Windows Vista and Windows 7 users, also using IE. For Vista and 7, Microsoft replaced the XenRoll ActiveX controll with the new CertEnroll control. I've got this...

Anyone successfully using Visual Studio/IIS/SQL Server on a Windows 7 VM on Linux host for work?

I'm getting sick of various annoyances about Windows 7 like permissions and crap like that, but I need to run it for development. Any one run Windows 7 VM with development environment for .NET and a local SQL DB (as well as IIS) on top of an Ubuntu host as their work station? If so what have you found to be the best Virtualization softwa...

Copy a file to all folders batch file?

I need copy credits.jpg from C:\Users\meotimdihia\Desktop\credits.jpg to D:\Software\destinationfolder and all subfolders I read many and i write /R "D:\Software\destinationfolder" %%I IN (.) DO COPY "C:\Users\meotimdihia\Desktop\credits.jpg" "%%I\credits.jpg" then i save file saveall.bat but i run it , it dont work at all. help me ...

VB6 + componentone developed application in Windows7

This is trouble shooting question. Our application's development environment is VS2005 C/C++, VB6 based GUI. we use also componentone for ActiveX control(vsflexgrid8). application performed well in Windows XP, but in Windows 7, there is some problem in GUI. rebuilded almost all C/C++ code and VB6 code in Windows 7 our build system ...

How can I programmatically distinguish hard links from real files in Windows 7?

I have a difference between files size and used disk space (total file size is even more than disk size). I suppose because there are many hard links exist (to WinSxS components) in Windows 7/Vista. But how can I programmatically distinguish hard links from real files in Windows 7? ...

How to fix the Win32_Printer.Default field so that it returns the correct value when using WMI remotely?

The Win32_Printer class returns a field per printer called Default (a boolean value). This works locally and accurately returns the Default printer. However when remotely connecting in with WMI, it always returns false. I thought it could depend on the user with which you did the remote WMI query. However, that's not the case (I tried i...