windows-7

Running .vbs through task Scheduler

戏子无情 提交于 2019-12-06 16:45:48
I am trying to run a vbs script through Task Scheduler. The code for the vbs script is Dim ObjExcel, ObjWB Set ObjExcel = CreateObject("excel.application") 'vbs opens a file specified by the path below Set ObjWB = ObjExcel.Workbooks.Open("FilePath\CombinePDFs.xlsm") 'either use the Workbook Open event (if macros are enabled), or Application.Run ObjWB.Close False ObjExcel.Quit Set ObjExcel = Nothing Then the Action in Task Scheduler is: Program/Script: "FilePath\CombinePDFS.vbs" With no added argument or "Start in." Trying to run this had caused it to run 20 minutes so far and it doesn't look

SQL Server 2008 Installation

半腔热情 提交于 2019-12-06 16:43:20
问题 I'm trying to install MS SQL Server 2008 on my Win 7 enabled laptop. I'm facing a problem while selecting the path to install. When I go on choose 'installation' and then when I click on 'New SQL Server stand alone installation or add features to an existing installation' it pops up a browse dialog box to select installation folder. I selected c:/program files/Microsoft SQL Server/ and tried all the folders under this folder. However, it gives me an error message saying c:/program files

How to unlock windows programmatically

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 16:24:38
I would like to make use of my old mirror (by violet) which allow to trigger events when you put and take a rfid tag on/off a rfid tag reader. Using LibMirror I can program events in c# which is quite convienent. My idea is to lock and unlock my station when I take and put the rfid tag on the mirror. It is quite easy to lock the station thanks to 2 , unlocking however seems more difficult. Several posts 3 , 4 on SO show that's difficult but I would like to have an definitive answer. I must precise that I am not interested in any consideration of security, this much more for the sake of doing

Windows 7 Batch: Find /i

ぃ、小莉子 提交于 2019-12-06 16:14:05
I have a windows batch file in Windows 7 which does something with find. it starts with this: find /i /c.... But it says something like find /i is no medium or so. Then it just gives a list of every single file in the C:\ directory. Is there any new replacement for Windows 7? EDIT: If i hit find /? in cmd, it gives find: /? there is no such file or directory Igal Serban You probably have the posix find command installed on your computer. Type: where find.exe To locate it. You probably can change the path environment variable on your system so the system32 directory will be first. You could

PowerBuilder 10.5 Application on Windows XP 32-bit to Windows 7 64-bit

夙愿已清 提交于 2019-12-06 16:09:22
I currently have a 32-bit PowerBuilder application that we are trying to port over to a Windows 7 64-bit environment. Realizing the obvious that PowerBuilder 10.5 was built previously before Window7 came out and the big also the obvious fact that this application was built within a Windows XP 32-bit environment. The 32-bit PowerBuilder application spits out the following error message when deployed on a Windows 7 64-bit machine. Application Terminated. Error: Invalid DataWindow row/column specified at line 44 in function ivvisiblecolumn of object objectwindow The database profile setup points

ITaskbarList3 undeclared?

五迷三道 提交于 2019-12-06 14:56:35
I'm trying to write some c++ code to use the ITaskbarList3, but I'm getting that error. I have confirmed that I am including shobjidl.h (but I checked and this file only defines up to ITaskbarList2). I have Visual Studios 2008 (SP1) and I have Microsoft Windows SDK for Windows Server 2008 installed. Does anyone know what I am missing? You need to install the Windows 7 SDK . That has an update shobjidl.h with ITaskbarList3. Or you can adapt the content of Windows 7 SDK related to ITaskbarList3 from the shobjidl.h into your code as virtual methods, don't forget their GUID you have to be careful

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

家住魔仙堡 提交于 2019-12-06 14:49:52
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. If you're an audio IHV you register them with your INF. The reference pages for them can be found here . Please note that to be used with Windows, sAPOs

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

大城市里の小女人 提交于 2019-12-06 14:48:41
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 .NET version to 3.5 and plateform to x86, it works on development pc but not on the server. If I set

Prevent Windows Application (VB.Net)Termination

走远了吗. 提交于 2019-12-06 14:38:55
I have the need to either prevent, or restrict, the termination of a VB.Net application. I have no problem with Admin killing the application, but not a user. I've been unable to come up with a solution for this. Is there maybe even a way to set local policy to prevent termination by non-admin? Note: I've seen this question asked before and people ask "why", assuming this is for a malicious purposes. This is a GUI app that MUST remain on top of the users windows per policy. Update: I know this is possible SOMEHOW... I have seen applications that, when I try to terminate them through the task

Pyinstaller scrapy error:

旧城冷巷雨未停 提交于 2019-12-06 13:57:41
问题 After installing all dependencies for scrapy on windows 32bit. I've tried to build an executable from my scrapy spider. Spider script "runspider.py" works ok when running as "python runspider.py" Building executable "pyinstaller --onefile runspider.py": C:\Users\username\Documents\scrapyexe>pyinstaller --onefile runspider.py 19 INFO: wrote C:\Users\username\Documents\scrapyexe\runspider.spec 49 INFO: Testing for ability to set icons, version resources... 59 INFO: ... resource update available