windows-7

Custom Context Menu option for duplicating selected file not working as expected

≯℡__Kan透↙ 提交于 2021-02-07 10:49:50
问题 I am trying to create a custom Context Menu option for duplicating the selected file and appending date and time string to the copied file's name. Below is the command I have set in registry, in the HKCU > Softwares > Classes > * > Shell > Duplicate This File > Command: cmd /s /d /c @echo off & setlocal EnableExtensions EnableDelayedExpansion & set TIME=%TIME: =0% & set DateTimeFn=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%_!TIME:~0,2!-!TIME:~3,2!-!TIME:~6,2! & copy /y %1 %1_!DateTimeFn! & pause >

Get an audio session's volume level

孤街浪徒 提交于 2021-02-07 09:23:19
问题 Does anyone know how to get the current volume level of an audio session* in Vista or 7? I've got the IAudioSessionControl2 and IAudioSessionManager2 instances you need to listen for volume changes , but actually getting the current volume is proving elusive. *by audio session I mean (roughly) the per-application audio control, not the "master" one Note that (so far as I can tell) IAudioSessionManager2->GetSimpleVolume() isn't the right answer here. The only thing that publishes a GUID in

HAXM device is not found in Windows 7

懵懂的女人 提交于 2021-02-07 06:29:06
问题 I am trying to develop a mobile application using Android Studio but I am always getting a pop message with below message. Intel HAXM is required to run this AVD. HAXM device is not found. Enable VT-x in your BIOS security settings, ensure that HAXM is installed properly. Try disabling 3rd party security software if the problem still occurs. Things I have tried: Installed the HAXM installer on SDK Manager Went to Extras -> Intel -> Hardware_Accelerated_Execution_Manager and run the file named

Color Converter DSP ProcessOutput always returns MF_E_TRANSFORM_NEED_MORE_INPUT

点点圈 提交于 2021-02-06 09:27:31
问题 I need to convert video frames from RGB32 to IYUV but the Color Converter MFT refuses to process samples. For every frame I call IMFTransform::ProcessInput() and IMFTransform::ProcessOutput() but I receive MF_E_TRANSFORM_NEED_MORE_INPUT . If I try to feed MFT with another sample i get the MF_E_NOTACCEPTING error. Below I paste a code to show my problem. Hopefully you guys will be able to help. First I create Media types: //DSP input MediaType CHECK_HR(hr = MFCreateMediaType(&m_pInputMediaType

Read Registry on Windows 7 with VBA Permission

你。 提交于 2021-02-05 11:59:55
问题 I have a line of code that has worked flawlessly for years on 50+ PCs (Vista & Windows 7 32 & 64 bit) in Access 2007 and Access 2010. RegStr = fReturnRegKeyValue(HKEY_LOCAL_MACHINE, "Software\ThisApp\App", "Activation") On one specific PC (Windows 7 64bit) with An Access2010/VBA module (32 bit) The line of code above does not see the registry key. When I change HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER,it works fine. RegStr = fReturnRegKeyValue(HKEY_CURRENT_USER, "Software\ThisApp\App",

Read Registry on Windows 7 with VBA Permission

限于喜欢 提交于 2021-02-05 11:58:06
问题 I have a line of code that has worked flawlessly for years on 50+ PCs (Vista & Windows 7 32 & 64 bit) in Access 2007 and Access 2010. RegStr = fReturnRegKeyValue(HKEY_LOCAL_MACHINE, "Software\ThisApp\App", "Activation") On one specific PC (Windows 7 64bit) with An Access2010/VBA module (32 bit) The line of code above does not see the registry key. When I change HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER,it works fine. RegStr = fReturnRegKeyValue(HKEY_CURRENT_USER, "Software\ThisApp\App",

Can't install tensorflow on windows 7 32-bit

▼魔方 西西 提交于 2021-02-05 10:45:08
问题 I can't install TensorFlow in Windows 7, Python 3(32-bit, Lenovo ThinkPad X201s). When I type pip3 install tensorflow : Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\sjkim>pip3 install tensorflow Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow C:\Users\sjkim> And I also have 2 python versions. How can I install it? 回答1:

Accessing a network folder through a python program

☆樱花仙子☆ 提交于 2021-02-05 06:15:07
问题 Just a brief outline of what I'm doing: I'm trying to automate some pdf merging routine with python in a network directory, which involves copying, deleting and creating files at a specific network location. Apologies if my language is not very precise. I'm coding on windows 7, using python 3.6. The program will need to be distributed on other machines, so local and temporary fixes will probably not help. The code I wrote is fully functional and works fine with all the local folders and files

How to fix a missing vcruntime140 clr 400 dll error

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-29 13:54:44
问题 I'm trying to run a windows form application on a windows 7 machine. The application is written in C# under .NET framework. Whenever I try to run the application, it says that VCRUNTIME140_CLR400.dll is missing. I've tried to google the solution, but I can't find anything about this specific dll. The only results I get are from VCRUNTIME140.dll. Or are they one and the same? 来源: https://stackoverflow.com/questions/59105264/how-to-fix-a-missing-vcruntime140-clr-400-dll-error

When editing a rc file, then opening it in VC Dialog Wizard, I get error RC2104 because of TBS_NOTIFYBEFOREMOVE

≯℡__Kan透↙ 提交于 2021-01-28 06:08:57
问题 I have a VC++/MFC dialog-based project. In those dialogs, I'm using some sliders with "Notify Before Move" at true. Sometimes, instead of using VS dialog wizard to edit them, I prefer to edit the related .rc file manually in a text editor. The issue is, after editing the .rc file, when I'm trying to open a dialog in VS wizard again, I get this error: "error RC2104: undefined keyword or key name: TBS_NOTIFYBEFOREMOVE" I can still compile the project successfully, but I cannot open the project