windows-7

launch C# exe without prompting UAC on Windows 7

送分小仙女□ 提交于 2019-12-08 06:29:42
问题 I have C# executable that I want to launch on Windows 7 without the dialogbox asking for run-as-administrator.. So here is my code inside the program that launches the C# executable named testApp.exe. Process testApp = new Process(); testApp.StartInfo.FileName = "C:\\Program Files\\Common Files\\testApp.exe"; testApp.Start(); I also create the minfest for both programs. app.manifest for testApp.exe and app.manifest for the program that launches testApp.exe, and then I change the following

How can I add an 'enhancement' sound filter in win7?

五迷三道 提交于 2019-12-08 06:03:27
问题 In windows 7, if one right clicks on the speaker icon in the taskbar, clicks playback devices, opens properties for one of the devices tab, then clicks the enhancements tab, one gets a list of filters ("Bass Boost" etc) that can be applied to that sound device. How can I register my own custom filter here? Please note that I am not an IHV - horrible hacks involving unsigned drivers, etc are acceptable, as this will be primarily for my own use. 回答1: If you're an audio IHV you register them

Win7 : Black screen when switching users / logging off with SCEP av client enabled?

僤鯓⒐⒋嵵緔 提交于 2019-12-08 05:47:42
问题 Anyone out there run into this? : Seeing Win7 Ent machines show black screen and go unresponsive when switching users or logging out while the SCEP client (Microsoft's AV client supplied with SCCM) is enabled. If I disable it, the issue goes away. Just started happening yesterday. Ran through Windows update reset, SFC, update troubleshooter, update readiness tool, updated latest to latest video card drivers, removed updates deployed in the last round, to no avail. Issue goes away in safe mode

What is needed for working with Oracle from Visual Studio 2010?

天涯浪子 提交于 2019-12-08 05:38:22
问题 What is needed for working with Oracle from Visual Studio 2010? Environment: 1 - On development pc: Windows 7 Ultimate 64 bit (4 GB ram, Dual-Core 2.6 GHz) Windows 7 Ultimate 64 bit (4 GB ram, Dual-Core 2.6 GHz) Visual Studio 2010 Ultimate ODAC (from package ODTwithODAC112012.zip) (also ODAC10203x64.zip does not install on Windows 7 64) 2 - On server: Windows 2003 Oracle 11g (11.2.0.1.0) .NET (2.0, 3.0, 3.5, 4.0) (SPs are installed) Problem: (Simple) If i create a console app in vs and set

is it possible to call win form rather than windows login window?

不想你离开。 提交于 2019-12-08 05:18:52
问题 I just want to know, can we replace standard windows login UI with Win form based UI. Will it run at the time of booting instead of standard login window. If yes which process is needed to call after authentication. 回答1: Since the question is tagged with Windows-7, I think the correct answer is Credentials Provider. You can find some samples in the Windows SDK. This MSDN article gives a very good introduction and it also provides a sample. GINA is used only in pre-vista Windows 回答2: Yes you

Trying to get socket from wininet HTTP connection

拟墨画扇 提交于 2019-12-08 05:15:59
问题 We have a legacy application that implements an SSL tunnel over Web proxies. It uses the wininet API and it worked fine for years on XP, but now it fails on Windows 7. I've tried to isolate the code and made a small program to reproduce the problem. It's a small C program compiled with MSVC 9. See below. On Windows 7, once connected to the proxy (status code 200), I just cannot get the socket descriptor from the API. All I get is an INVALID_SOCKET, even though all wininet functions returned

Help with installing ECL (Embeddable Common Lisp) via mingw32 or mingw-64 on Win7-64

醉酒当歌 提交于 2019-12-08 04:55:17
问题 I'm trying to compile ECL 10.4.1 on my Win7 64-bit box, but am having issues. I've attempted the build with both mingw32/MSYS and mingw-w64/MSYS, using the exact packages linked to here. Both have failed. With mingw32: ./configure passes, make fails as follows: gcc -DECLDIR="\"/usr/local/lib/ecl-10.4.1\"" -I. -Ic:/my_home/ecl-10.4.1/build -I/c/my_home/ecl-10.4.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY -g -O2 -Dmingw32 -c -o main.o tmp.c In file included from c:/my_home/ecl-10.4.1/src/c

Copying a file remotely from Ubuntu to Windows 7 [closed]

孤街醉人 提交于 2019-12-08 04:51:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am not very familiar with command line Ubuntu (leave alone copying a file remotely) so I apologise if this question is a bit too common. My setup is a bit unusual so I wasn't able to find much via research online. I am working on a Win7 machine and I ssh into the Ubuntu (11.10) server via Putty. I tried the

Setting environment variables in windows 7

元气小坏坏 提交于 2019-12-08 04:41:00
问题 I am trying to set my environment variable in windows 7 so that I can call prolog from the command line. I went into the environment variables under system settings, and edited it so that it looks like this. C:\Python27;C:\Program Files (x86)\Notepad++;C:\Program Files\pl\bin\prolog; I'm not sure what I did wrong here, as I keep getting the message prolog is not recognized as an internal or external command, operable program or batch file Both Python and Notepad++ work just fine the way I

How detect the correct modification of a file?

只愿长相守 提交于 2019-12-08 04:40:51
问题 In a previous question one of my questions was how my application could know that a file has been rewritten. I should have added: "by another application". First I tried ShellNotify which reports changes in a directory but not in a specific file afaik, am I missing something? Now I use FileAge in a timer that checks each second whether a specific file has changed. While that works it detects two modifications, about 13 ms apart; this behavior persists when I change the testing interval to 10