windows-7

HttpListener Access Denied c# windows 7

I am writing an HTTP server in C#. When I try to execute the function HttpListener.Start() I get an HttpListenerException saying "Access Denied". When I run the app in admin mode in windows 7 it works fine. Can I make it run without admin mode? if yes how? If not how can I make the app change to admin mode after start running? thanks...

C# setup with x64 target Platform does not support in windows 7 64 bit OS

I am working with c# windows form application and i am using mysql as backend. i created setup for my project by giving target platform property as x64. when i install my application in windows 7 64bit OS it installed perfectly without error. but when i open the installed application it cant open ,its shows "Windows closing the applicati...

Capture Mediacenter Content

I need to capture the content that (Win7) Mediacenter is displaying. My first approach was to use the Win7 Live Thumbnail Preview for this, but this only works as long as Mediacenter is not fullscreen. As soon as I switch to fullscreen mode, the thumbnail become black. This seems logical, because MC switches to a DirectX mode (for GPU ha...

why i don't have Microsoft.VC80.MFC-file?

Got a fresh Win7 machine with VS2005 installed. I tried to start a MyApp.exe that is built with manifest that says in Manifest.bin: ... <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.4053" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> ... and the result was error mess...

windows 7 (64-bit) compatibility of vba/access/excel (32-bit) apps

I am currently investigating the possible issues when migrating from Windows XP 32bit to Windows 7 64-bit. The scope is MS Excel (32-bit), MS Access (32-bit) using VBA/Macros addins, ODBC and all related issues. For example: if you use excel (32-bit) and oracle 32-bit odbc driver. There is an issue described at: http://www.dbmotive.com/...

programatically switching "triple-monitors"

I have a VR920, and wish my app to automatically switch from dual-monitors desktop to third vga device (VR920) whilst retaining my previous primary monitor, these two then still being extended desktop. On Windows 7. EnumDisplayDevices()/etc only has access to the two active monitors (and virtuals?), so I cannot locate the VR920 device. ...

Does writing to the HKCU registry key in Vista/Win7 require adminstrator priviliges?

I have a program which writes to the HKCU registry key during startup. Does this require administrator privileges in Vista and Win7? ...

Error running autotest on Windows 7 with Rails 3, Ruby 1.9.2

Installing and running Rails 3 and Ruby 1.9.2 on Windows 7 went rather smooth. It's only now that I want to run autotest that I'm running into problems. The error looks frustratingly simple, but I can't figure out how to solve it. I have the following gems in my Gemfile: gem 'autotest' gem 'autotest-rails-pure' But then when I run ...

Extending ExplorerBrowser from the Windows API Code Pack to display non filesytem files

I'm writing a WPF program in C# that needs to render a set of files in a file browser to the end user. The ExplorerBrowser control found inside the Microsoft Windows API CodePack contains much of the functionality I need... e.g. thumbnails of different sizes, sorting, browsing, etc... The catch is that the files are not coming from t...

Windows 7 Aero theme

Hi, I've already check stackoverflow and the web for my problem, but I can't find any answer. I can't find a way to have the Windows 7 Aero theme working. I mean, I have the Aero style from PresentationFramework.Aero, but it has the Vista look, the blue selection is not exactly the same. This is the Windows 7 theme in Windows Explorer...

BEST WAY ??? automated-tests with powershell-scripts in internetexplorer (Windows7)

Hello, Currently I create a program, which shall automated-tests. To allow for this problem-free I must deactivate Silverlight (because my scripts don´t work in windows7 otherwise). Is there a chance to do this, without the user must admin-permissions have? If yes: what chance is it? If no: Can I create the program only for users with...

Customizing ExplorerBrowser from the Windows API Code Pack

Hi All, Today I ran into the ExplorerBrowser from the Windows API Code Pack... This looks like a fantastic control to use as a Explorer like control in my application.. However, I am trying to modify the Commands toolbar, which is located on the top of the ExplorerBrowser control. I have noticed I have some control..I can Hide the Comma...

Create shortcuts programmatically from C# and set "Run as administrator" property

I already know how to create shortcuts programmatically from my C# applications using IWshRuntimeLibrary and WshShellClass. Or I could use IShellLink. Now, if the user's PC is running Windows Vista or Windows 7, I would like to be able to set the "Run as administrator" property of that shortcut programmactically as well. Is that possi...

Why does only the first line of this Windows batch file execute but all three lines execute in a DOS command shell?

I have a batch file that executes three Maven commands, one after the other. Each command can be successfully executed in the script - by itself!. But when I add all three commands to the same file, only the first one executes before the script exits. Any idea why? mvn install:install-file -DgroupId=gdata -DartifactId=base -Dversion=1.0...

log4net EventLogAppender on windows 7 problems

Hello I have problem with EventLogAppender on the Windows7. Code for config EventLogAppender is: var elAppender = new EventLogAppender { ApplicationName = "MyLog", LogName = "MyLog", Layout = new PatternLayout(default_format), Threshold = Level.Error ...

(Python, IDLE, Windows) Pressing Stack Viewer exits all IDLE windows

I am running Python 3.1.2 with IDLE 3.1.2 on Windows 7. When I try to use the Stack Viewer, blue text and a new window briefly appear before all open IDLE windows exit (I don't have time to read the text or new window). This is the first time I have used Stack Viewer. Is this normal behavior? How can I get the Stack Viewer to stay open?...

Save file in Windows 7

Possible Duplicate: Save file with C fopen I'm using C language to same a file in c:\SomeDirectory on Windows 7. Is there any restriction on saving a file under this directory on windows 7? I'm having trobles with saving this file on this folder, the Windows 7 doesn't allow me (even as administrator) to save the file. On wi...

How to save a file with C++ in Windows 7

I did a program in C++ but it does not allow to save on c:\SomeDirectory\afile.txt I'm using this: FILE* m_hFile = fopen("c:\\SomeDirectory\\afile.txt", "a+t"); fprintf((FILE *)m_hFile, "testing"); fclose(m_hFile); Why that? Is there a defined folder I can save in? ...

Problem launching a System.Diagnostics.Process under Windows 7

I’m trying to launch an application (Operating System, My Application and the application I want to launch are all 32 bits), from .NET 3.51. The code that launches the Process is used for other applications, but there’s one that is giving us a headache. If we “double click” on the application’s icon, it works as expected, meaning that i...

how to install a game from the host os to guest os windows in virual box?

i mean , i have a setup file of a game in my windows 7(host) , now to play it ,i need to run it in windows xp.... i'm unable to copy it ... the guest os is in seamless mode.. plz help ...