windows-7

Running jQuery crashing on IE10/Win7

眉间皱痕 提交于 2019-12-18 05:55:57
问题 I am for the moment just including jQuery (1.9.1, but old 1.8.3 behaved the same way) in my ASP.net webpage (Site.Master file actually). Everything worked fine running under IE9/Win7-64 but ever since I upgraded to IE10 (still Win7-64), now when I run the webpage locally, selecting Internet Explorer and run from within Visual Studio, I hit an exception. The exception is on line 4224 of the jquery-1.9.1.js file. // Opera 10-12/IE8 - ^= $= *= and empty values // Should not select anything div

Android ADT Plugin doesn't show up in Eclipse

对着背影说爱祢 提交于 2019-12-18 05:47:16
问题 I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such. Someone posted a fix to this that includes setting the permissions of Eclipse, but that didn't work

Programmatically changing system-wide speaker balance on Windows 7

99封情书 提交于 2019-12-18 05:47:10
问题 How can I programmatically change system-wide speaker balance on Windows 7? (I can only program in Python and AHK.) 回答1: Shortcut(created by @AndreMiras) --> use Pycaw , usage of Pycaw can be find here Detailed way -- > First install python package Comtypes either by using pip install comtypes or download from https://pypi.python.org/pypi/comtypes and then extract the download folder. Find setup.py in extracted folder . Open cmd go to the path of setup.py and then run the command python setup

Why is Powershell 2.0 installed in the same location as Powershell 1.0?

倖福魔咒の 提交于 2019-12-18 05:45:18
问题 Does anyone know why Powershell 2.0 is installed in C:\Windows\System32\WindowsPowerShell\v1.0 on a Windows 7 box? 回答1: It's actually an interesting story in side-effects. Visual Studio has a fixed list of assemblies in their "Add Reference" dialog. Anything else has to be browsed for. Developers tended to browse for this location in the Windows directory, where System.Management.Automation.dll (the assembly that runs most of PowerShell lives) This made an absolute reference to this location.

how to create a process which is not visible in task manager or services list [duplicate]

南笙酒味 提交于 2019-12-18 05:17:17
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Hide a C# program from the task manager? I need to create an enterprise level activity monitor process in which the user should not be able to kill using the Task Manager or some other method. Perhaps it should be a hidden process. Is this possible? Are there any workarounds? I prefer to use C# then C++ (with the Visual C++ compiler). Thanks SO 回答1: Related: Hide a C# program from the task manager? https:/

How to use espeak with python

不羁的心 提交于 2019-12-18 05:06:33
问题 I want to use espeak(http://espeak.sourceforge.net) with python2.7.0-32 bit in windows7. Additionally, I also want to save the audio files generated by espeak. 回答1: I tried to install this package in Windows 8 but couldn't really get it in the first few attempts. But this is what i did to get espeak to work with python Download and Install espeak for Windows from here Add the eSpeak/command-line folder to PATH so that the command espeak is available Call espeak commands using python module

Launch4j, NSIS, and duplicate pinned Windows 7 taskbar icons

烂漫一生 提交于 2019-12-18 05:01:35
问题 I'm having a problem wherein when I pin a taskbar icon in Windows 7 for my application, clicking the icon opens up a separate (duplicate) icon for the program instead of keeping it grouped with the shortcut used to call it. The application itself is a .jar file that's been wrapped into an .exe using Launch4j. That would explain why the icon is getting duplicated -- Launch4j is calling a separate process of javaw.exe, and it looks like the AppModelUserID gets confused when you start doing

Setting the time programmatically in Windows 7

大城市里の小女人 提交于 2019-12-18 04:52:57
问题 I'm porting an application from Windows 2000 (don't ask) to Windows 7 and I need to replicate functionality that allows the user to set the time from a GUI. Previously this had been done with a call directly to 'time' using the command prompt, but it appears the user permissions have changed somewhat in Windows 7. Having done some research, it appears that you can set the time using a call to the kernel32.dll method Win32SetSystemTime , but the same permissions issue arises. Reading MSDN I

How can I programmatically connect to a VPN?

你说的曾经没有我的故事 提交于 2019-12-18 04:42:09
问题 I have a VPN connection that I keep losing, that I need to connect to our DB server, but every second or third connection fails because I have lost the VPN connection. I'd like to add somde code - for DEBUG config only - to check the VPN connection and reconnect if necessary, before proceeding to attempt the database connection. 回答1: You could use System.Net.NetworkInformation.Ping to check if the connection is up - then rasdial to reconnect the vpn if the connection is lost. eg System

How can I programmatically connect to a VPN?

吃可爱长大的小学妹 提交于 2019-12-18 04:42:02
问题 I have a VPN connection that I keep losing, that I need to connect to our DB server, but every second or third connection fails because I have lost the VPN connection. I'd like to add somde code - for DEBUG config only - to check the VPN connection and reconnect if necessary, before proceeding to attempt the database connection. 回答1: You could use System.Net.NetworkInformation.Ping to check if the connection is up - then rasdial to reconnect the vpn if the connection is lost. eg System