windows-7

Remove biomentric data from smartcard

回眸只為那壹抹淺笑 提交于 2019-12-11 11:04:19
问题 I am trying to remove the recorded fingerprint information from a smartcard using the Windows Biometric Framework. I can delete the recorded fingerprints with the following steps: opening a session WinBioOpenSession logging in using the fingerprint reader WinBioLogonIdentifiedUser read the availabe used fingerprints WinBioEnumEnrollments remove the fingerprint information WinBioDeleteTemplate But this only works when the user is avaliable! Is there a way to remove biometric information as

svn dump -> path rename via windows powershell -> struggle with malformed dumpfile header

大城市里の小女人 提交于 2019-12-11 11:00:36
问题 The title says it all :) What i want is to dump a folder from one project and store it into another. Both folders (src: proj1/trunk/supplies, dest: extlibs/trunk) are in the same repository. My problem is that the when i load the "normal" dumpfile, the previous folder's path is kept and will be recreated at the new location (extlibs/trunk/proj1/trunk/supplies). So i've tried to change the path manually with win7 powershell: svnrdump dump https://localghost/svn/test_repo/proj1/trunk/supplies |

Scrollbar Appearance Control in Windows 7

别等时光非礼了梦想. 提交于 2019-12-11 10:57:50
问题 I have an application that has a ListView control with scrollbars, and it has the cool looking scrollbars in it automatically: CreateWindowExW(WS_EX_WINDOWEDGE,L"SysListView32",L"MyList", WS_CHILD|WS_VISIBLE|LVS_NOSCROLL|LVS_REPORT|LVS_NOCOLUMNHEADER|WS_VSCROLL|LVS_SHOWSELALWAYS| LVS_SINGLESEL, 0,0,500,290,ownerhWnd, (HMENU)0,hInst,NULL); However, when I create a Scrollbar control manually for another part of the application, it has the older 3d-style look: CreateWindow(TEXT("SCROLLBAR"),

Pear on windows displaying different version numbers

江枫思渺然 提交于 2019-12-11 10:39:09
问题 C:\PHP>pear upgrade pear pear/pear is already installed and is the same as the released version 1.9.3 upgrade failed C:\PHP>pear -V PEAR Version: 1.9.0 PHP Version: 5.2.17 Zend Engine Version: 2.2.0 As you can see pear is confused to what version it is running. How can I go about fixing this so that PEAR is running on 1.9.3? Update C:\PHP>pear upgrade -f pear downloading PEAR-1.9.3.tgz ... Starting to download PEAR-1.9.3.tgz (295,774 bytes) ....................................................

Can Notepad read UTF-32?

喜你入骨 提交于 2019-12-11 10:36:48
问题 These bytes represent the word "hi" in UTF-32LE: FF FE 00 00 68 00 00 00 69 00 00 00 However this is what Notepad displays: 回答1: Notepad does not support UTF-32, only ANSI, UTF-8, and UTF-16. It is interpreting the first 2 bytes as a UTF-16LE BOM, not the first 4 bytes as a UTF-32LE BOM, so the file bytes get interpreted as FF FE 00 00 68 00 00 00 69 00 00 00 Instead of FF FE 00 00 68 00 00 00 69 00 00 00 来源: https://stackoverflow.com/questions/28536709/can-notepad-read-utf-32

ECLIPSE-The connection to adb is down, and a severe error has occured

吃可爱长大的小学妹 提交于 2019-12-11 10:35:29
问题 I've spent day trying to launch any Android program. it gives me the same error: "The connection to adb is down, and a severe error has occured". I'm running Eclipse Galileo,on a Windows7 machine. I've used all the tricks I can find on the web: the command line "adb kill-server", the DDMS "reset ADB", I started the emulator both before and after Eclipse, and searched for ports being used by other programs. when starting server getting same * daemon not running. starting it now on port 5037 *

Programmatically change the program icon

北慕城南 提交于 2019-12-11 10:24:11
问题 I'm developing on VS 2010/ C#. Does any one know how to change the software icon programmatically? I actually want my software to have one icon under Windows 7 and another for Windows XP in the same software installation. 回答1: If it's a winform app, you can write below code in the formload event of the main form. Use this link to find operating system : http://andrewensley.com/2009/06/c-detect-windows-os-part-1/ and then write below code to set icon. private void InvestorReportingFormLoad

How to have an executable file run without a console?

左心房为你撑大大i 提交于 2019-12-11 10:14:59
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 4 years ago . Right, so I'm in a little bit of a pickle here. I've been coding for years (non-professionally, only algorithms for competitions, I'm still in high school) and I tried to create my very first actual program/application, something that runs a window. With the information from MSDN and a couple of threads I found on google, I managed to type up something basic which simply opens a

visual studio 2005 .exe file not running on another computer

假如想象 提交于 2019-12-11 09:49:25
问题 I have a visual studio 2005 c++ application running on a windows 7 64 bit machine.I tried to run it on another computer having windows 7 64 bit but when I copied it on to the desktop and runs the .exe file,there was no response.But I dont have the visual studio 2005 ide installed on the new machine and I am currently instaling it. Also, I googled and got lot of confusing answers. Can someone tell me what will be possible problem here? 回答1: Try installing the "Microsoft Visual C++

How to start `powercfg.exe -energy` from a .NET app?

删除回忆录丶 提交于 2019-12-11 09:41:10
问题 When I using (var process = new Process { StartInfo = new ProcessStartInfo { FileName = "powercfg.exe", Arguments = "-energy", RedirectStandardOutput = true, UseShellExecute = false, } }) { process.Start(); process.WaitForExit(); } It outputs: A biblioteca de Diagnóstico de Eficiência de Consumo de Energia (energy.dll) não pôde ser carregada. Translated to English: The Energy Consumption Efficiency Diagnostic library (energy.dll) couldn't be loaded. Even when running as admin. 回答1: I'm afraid