windows-7

Windows 7 with VS2008, Mobile Device Emulator Not Working

I have a windows mobile app developed under windows XP / Visual Studio 2008. When I try and run it on windows 7 through visual studio I cant get the emulator to connect to the internet. Other posts on the web have suggested windows 7 / VS2008 dosn't work for mobile device emulation. Is this true? ...

Windows Batch: How to add Host-Entries ?

hello, i want to use this batch script to add new entries into my host file automatically by using windows batch. my problem: the script just adds one line to the hosts file, also when i run the script as a administrator, so what's wrong? :( @echo off set hostspath=%windir%\System32\drivers\etc\hosts echo 62.116.159.4 ns1.intranet.de...

SQL Server: Why would i add ";1" to the end of a stored procedure name?

i came across a compatibility issue today, as a customer upgraded from Windows XP to Windows 7. The (12 year old code) is calling a stored procedure on the SQL Server called ai_nextid Except that when it calls the stored procedure it is using the name: ai_nextid;1 Yes, with a ";1" appended. Apparently the SQL Server driver in Win...

Virtual PC (XPMode) - Can host port forward to virtual machine with NAT?

Just start to try out the XP mode function of Windows 7 recently. A web server is set in the virtual machine. Everything is fine except the access to the virtual machine from the internet (or host's subnet). I need to set the network of the virtual machine as NAT explicitly in order to pass some firewall setting. So, the virtual machine...

Win7 quick launch bar icon size

Hey! I'm using Windows 7 with the good old quick launch bar. Since I'm usually working on a big screen with a lot of open windows my taskbar is two rows high which works well for open windows in general. The only problem is that the symbols in the quick launch bar are shown in one row wasting a lot of space underneath even though it ...

Windows 7 screensaver policy issues

I have a GPO that sets blank screensaver and locks computer after 10 minutes of being idle. I have one user in the GPO that has a computer that will not go to screensaver after 10 minutes. What could I do to errorhandle this problem, like I said he is the ONLY user that this happens to and he IS part of the admins that are within the GP...

JasperReport creation with image fails to create temporary file on Windows Vista, 7 or Server 2008

Hi, We are getting the following error while generating a Jasper report when running our app on some machines with Windows Vista, Windows 7 or Windows 2008: java.lang.RuntimeException: net.sf.jasperreports.engine.JRException: javax.imageio.IIOException: Can't create output stream! at br.com.oobj.relatorio.RRelatorioJasper.gerarJas...

IIS7 with MVC2 cannot load static resources

Hi, my situation is: windows7 visual studio 2010 (with mvc2) mvc2 web application compiled with .NET 3.5 I install IIS7 with StaticModule but when I try to load a css or an image I receive a blank page. Only html is loaded. Help me please. Thanks ...

From nmake: "no rule to make target `*.rc'"

I am in the process of trying to build putty tray, a variant of putty, from source on a Windows 7 system. I need to build it, not just download it, because I need to implement some additional functionality. I'm using nmake and (shouldn't be relevant) the Microsoft C++ compiler. To be precise, I'm working in a cmd window, I'm in the WINDO...

Load ink to a MathInputControl in C#

Hi, I'm trying to use use the LoadInk method of an mathinputcontrol but I can't figure out where to create the IIDispInk object from, as it just appears to be an interface. http://msdn.microsoft.com/en-us/library/dd372605(VS.85).aspx Any guidance would be highly appreciated. Thanks :) Edit: for clarity, here is my code so far [edit...

Explorer ContextMenu Entry Problems

I'm using the MVVM Light Toolkit in my App. Though I don't know if my problem is related to it. I have added a ContextMenu Entry for the Windows Explorer on Win7 32bit. It looks like this: [HKEY_CLASSES_ROOT\*\shell\MyEntry] [HKEY_CLASSES_ROOT\*\shell\MyEntry\command] "MyPath+MyExe" "%1" Now if I open a file from the Folder where my...

How would I pass my program a string from the start menu search in Windows (like ping)?

When my program is launched from the start menu shortcut I would like to send it a string. I see that ping does this because I can type in ping [and a domain] and it will pop the cmd window and do the ping. However I think this must be working differently than what I have setup because even though the shortcut to the program is in the st...

How to check that no users are logged in with C# on Windows 7?

I'm using C# Windows Forms. Is there an easy way to check if there are no users logged in? Below is the code I've used for XP, which doesn't seem to work under windows 7 when a user is logged out. private bool LoggedInUser() { bool loggedIn = true; Process[] aProc = Process.GetProcessesByName("explorer"); ...

Where can I find the View Tab Order in Visual C# Express 2010?

This is a pretty basic question, but I can't seem to find it. It used to be on the View menu in Visual C# Express 2005. I could always use the properties to set the tab index manually, but it is tedious for larger forms. thanks. ...

Restoring window started with "run as administrator"

Hi All, We have a customer requirement for our WPF application: - if child modal window is minimized -> than parent (main) window should be minimized as well. This is implemented by simple override in our base window class: protected override void OnStateChanged(EventArgs e) { base.OnStateChanged(e); if (WindowSt...

Strange behaviour on Win7 embedded machine

Our application (C# .Net 3.5) works fine on WinXP machines (embedded or not). Now we move to Win7 embedded machine. If we put our application under C:\, no problem. If we put our application under "C:\Program Files" directly, we cannot launch it. Windows will popup a "... Stopped working" window. if we first put our application und...

How to add to the pythonpath in windows 7?

Hi There, I have a directory which hosts all my django app. *"C:\My_Projects".* I want to add this directory to my pythonpath so I can call the apps directly. I have *right clicked My Computer > Properties > Advanced System Settings > Environmental Variables. Then I added C:\My_Projects\; to my Path variable* but it still doesn't read ...

Can I install IIS 6 & IIS 7.5 on the same Windows 7 machine?

I'm having trouble with an app that runs on IIS 6, but not IIS 7.5 (as outlined in this question: IIS 7.5 Can't open Handler Mappings?) I think it might solve the problem if I could run IIS 6 on my machine as well as 7.5. Can this be done? Will it cause any problems if I do this? ...

Delphi OpenDialog without letting the user navigate away from the inital dir

Hello, I am trying to create an open dialog (in Windows 7) where the user is confined to the initial directory. On the open dialog I have set the optionsEX to [ofExNoPlacesBar] and that removes the bar that would let them select folders and directories to go to quickly but the user can use the bread crumb address tool to go up a le...

Windows 7 - WPF - Framework 3.5 - Content not displaying in developer or when running

Help. I seem to have broken WPF 3.5 on my development box. If I bring up VS2008 and create a new, blank WPF app, it does not display the designer. If fact, I can see the desktop wallpaper through VS 2008. If I run the app, I get a window with the same see-through properties. Plus if I drag the app window around, it leaves artifiacts...