windows-7

VB6 Application on Windows 7 Cannot Access Mapped Drives

馋奶兔 提交于 2019-12-21 04:11:26
问题 I have a VB6 application which links to several POS terminals from a Windows 7 32-bit machine. The POS terminals are mapped to the Windows 7 machine and I can access the POS terminals from the Windows 7 machine from Explorer or via the cmdline/shell. The application has been updated to ADO 2.8 and all other controls and components I no longer had source code for have been re-written. After a few annoying hiccups, I got the application to recompile on the Windows 7 computer without errors. Now

Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working (I am not using MySQL)

徘徊边缘 提交于 2019-12-21 04:07:15
问题 My ruby interpreter is crashing on almost every page request with the following error: Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working I am not using MySQL nor do I have the gem installed, as many of the posts online have suggested as a potential cause. Where I can begin troubleshooting this issue? My environment is stated as below. This is a critical issue as I cannot continue development in this environment so any ideas would be greatly appreciated. Thanks! Windows 7

cygwin ssh shortcut from windows desktop

我怕爱的太早我们不能终老 提交于 2019-12-21 03:58:37
问题 I have multiple servers that I need to remote into. I prefer Cygwin over Putty to do so. Anyhows - the process of opening my cool Mintty window and then typing the following commands takes too long. PS - I am using a "key" authentication to these servers. First, I double Click Cygwin Terminal shortcut from my windows desktop. Then once the terminal session has booted up, from the command prompt I type the following - $ eval `ssh-agent` $ ssh-add $ ssh <username>@<servername> Please keep in

Where does windows explorer store file meta data?

大憨熊 提交于 2019-12-21 03:52:22
问题 In Windows 7 I can add meta data to files for example title, rating and so on. Where is this meta data stored exactly? For NTFS they may use alternate data streams but I this meta data also happen to work in FAT32, so how ho they do it? Is there an API to make use of this feature? 回答1: Starting with Windows Vista, metadata is now stored inside the file itself. 回答2: Windows stores this in COM Structured storage. The implementation is either in the file itself (Office docs support this, or any

Password protect ASP.NET web application in IIS 7.5

半腔热情 提交于 2019-12-21 03:33:32
问题 I use IIS 7.5 on windows 7 to serve my asp.net websites for testing purposes. In order to stop random people viewing my websites I want IIS to require a username and password before it will serve anything. I have tried disabling Anonymous Authentication and enabling Windows Authentication on the application but when I type my windows credentials in it doesn't work. Can somebody explain a simple way of doing this? 回答1: You need "Basic Authentication": Open Internet Information Services (IIS)

Is it possible to build WinRT applications on Windows 7?

孤者浪人 提交于 2019-12-21 03:31:39
问题 Using Visual Studio 11 is it possible to build WinRT applications on Windows 7? 回答1: No; WinRT is only available on Windows 8 and AFAIK there have been no announcements that they will be made available in Win7. At BUILD, they specifically said that WinRT was only to be supported on Win8. By extension, you won't be able to develop against WinRT on a Win7 machine because the support just won't be made available. 来源: https://stackoverflow.com/questions/9574907/is-it-possible-to-build-winrt

Rules to Develop a Delphi Windows 7 App [closed]

若如初见. 提交于 2019-12-21 03:00:33
问题 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 . Where can I find the best set of rules to follow for developing a Delphi application for Windows 7? 回答1: Well, you can check out the Windows User Experience Interaction Guidelines... Mainly, the best thing to keep in mind is to follow the principle of least surprise. Make your app work the way your users expect

Where do I find the icons / animations recommended in the Windows 7 UX guide?

假如想象 提交于 2019-12-21 02:57:39
问题 The Windows 7 UX guide has nice illustrations and examples of icons, but I really can't find them in the SDK. Are they hiding somewhere, or are they not available ? 回答1: If you are talking about the common UI icons, then you are supposed to get them programmatically. For instance, you can use var errIcon: HICON; begin errIcon := LoadIcon(0, IDI_ERROR); DrawIcon(Canvas.Handle, 10, 10, errIcon), (Delphi code) to draw an error icon. See LoadIcon, DrawIcon at MSDN. You might also wish to study

Trying to create a Math Input Panel in C#

让人想犯罪 __ 提交于 2019-12-21 02:45:25
问题 How do I create a Math Input Panel in C#? I have tried to put it into a dll and call it but it just closes right away. #include <stdafx.h> #include <atlbase.h> #include "micaut.h" #include "micaut_i.c" extern "C" __declspec(dllexport) int run() { CComPtr<IMathInputControl> g_spMIC; // Math Input Control HRESULT hr = CoInitialize(NULL); hr = g_spMIC.CoCreateInstance(CLSID_MathInputControl); hr = g_spMIC->EnableExtendedButtons(VARIANT_TRUE); hr = g_spMIC->Show(); return hr; } I call the dll

how to get attributes from win32com.client.dispatch(“Shell.Application”)

╄→гoц情女王★ 提交于 2019-12-21 02:26:29
问题 I am trying to control my device manager programmatic through python (ie disable and re-enabling devices). However I am having trouble figuring out what are the attributes in the namespace of the "win32com.client.Dispatch("Shell.Application")". All i know how to do is get the name and print it. I did a debugging run through the code but i couldn't find anything useful. Here is what I have so far import win32com.client shell = win32com.client.Dispatch("Shell.Application") control_panel = shell