windows-vista

Virtualbox host-guest network setup [closed]

喜欢而已 提交于 2019-11-28 16:26:54
问题 How do I set up a network between the Host and the guest OS in Windows vista? 回答1: Give the guest two network adapters, one NAT and the other Host-only. The NAT one will allow the guest to see the Internet, and the Host-only one will allow the host to see the guest. One of them also allows the guest to see the host. I'm not sure which, but I know it works since I've tested web server stuff with it. You just have to choose the right IP address, 10.x.x.x or 192.168.x.x. Also, you may have to be

eclipse stuck when building workspace

南楼画角 提交于 2019-11-28 15:21:53
I am using eclipse 3.4.1 Java EE under Vista. It seems to like getting stuck when building my workspace. Canceling the build doesn't seem to do anything as well. Why is this happening and how do I fix the problem? You may want to take a look at How to report a deadlock . You may also want to check the Error view and/or the error log ([workspace]/.metadata/.log). If that doesn't help, you'll probably need to include more info about which plugins you have installed and which projects you have. Can you create a minimal workspace which reproduces the problem? James Beninger I was able to fix this

How do I find which application is using up my port? [closed]

倾然丶 夕夏残阳落幕 提交于 2019-11-28 15:02:34
问题 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 8 years ago . I am unable to start GlassFish, because it keeps showing this error message: SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@ed7d1 How can I find what applications are using what ports on Windows Vista? I

python IDLE shell appears not to handle some escapes correctly

╄→гoц情女王★ 提交于 2019-11-28 14:38:23
For example \b backspace prints as quad (shown as [] in example below). But \n newline is Ok. >>> print 'abc\bd' abc[]d >>> print 'abc\nd' abc d Im running under Vista (pro), python 2.7 Ive tried googling this issue generally and in SO and cant find anything relevant, which seems odd and makes me wonder if theres some setting or other may be wrong in my setup. Not sure what to look for. What am I doing wrong or what should I be looking for? Is it reasonable to expect backspace, specifically, to work? No, IDLE does not support backspace, nor carriage-return, nor formfeed, nor ANSI escape

Set app to require elevation?

 ̄綄美尐妖づ 提交于 2019-11-28 13:57:25
I'm working on the bootstrap application of a new installer for some of our products. So far, I've been relying on two things that I read about somewhere: Applications whose name contains "setup" or "install" will run elevated by default. Applications that run elevated will launch other applications in elevated mode. Recent testing has found that one or both of these statements is false, because one of the applications that I'm launching is a third party installer that requires elevation, and it's failing because of the elevation requirement. How do I set my application to require elevation? I

Disabling progress bar animation on Vista Aero

二次信任 提交于 2019-11-28 11:12:18
I'm using a Delphi 2009 VCL TProgressBar as a kind of "empty/full" gauge. On Vista, with Aero theme enabled, this has an animation associated with it, which is annoying and inappropriate for an gauge. Is there any way of disabling this (NOT by adjusting user's theme settings!) to prevent the animation on this control? To clarify, I want something basically identical to the 'disk space used' meters in Windows Explorer. No animation, but still with a nice border and shading effects. Update: I understand that I need a "meter", rather than a true progress bar. How can a themed meter be implemented

UAC and Java

那年仲夏 提交于 2019-11-28 10:52:45
Is it possible to ask for elevated permissions from within a Java Application? Suggestions I've seen seem to all be centered around running an external executable or setting up a manifest to request privileges on launch. These aren't available to, for instance, applets. Is there any way to request elevation from a running application? UAC is not something that a running process can request (doesn't matter what language you are running in). You have to request elevation at launch time. The way that most windows apps handle this (and make it look like they are requesting elevation) is to spawn

File.Exists returning true for a file that doesn't exist

别等时光非礼了梦想. 提交于 2019-11-28 10:16:53
I'm working on an app that saves a file in Path.GetDirectoryName(FilePath) where FilePath = Application.ExecutablePath that contains some information about licensing. If I run the program from VS it works OK but if I make an installer and install and then run it, the program thinks that the file already exists. I changed my program to show on a message box my FilePath and whether File.Exists(FilePath) returns true or false . So I looked in that path, enabled showing hidden and system files, F5'd several times and nothing. The file doesn't exist, but File.Exists(FilePath) returns true. Any idea

Detecting Keyboard Hooks

北慕城南 提交于 2019-11-28 09:52:08
Is there a way to detect which programs or modules are listening to a keyboard hook? By Sysinternals maybe? This blog post has instructions: http://zairon.wordpress.com/2006/12/06/any-application-defined-hook-procedure-on-my-machine/ It largely depends on what level of abstraction are you obtaining your key presses. For maximum detection you could use hardware directly or go as low as possible (some hooks work at HW driver-level). For security purposes, you could also use a virtual keyboard - hooks would have to be targeted specifically at your application to simulate key presses. Nope. You

Windows Vista/7 Programmatically login

我与影子孤独终老i 提交于 2019-11-28 09:47:53
问题 Is it possible to create a service or application which can programmatically log a user in when windows(vista/win7) starts up.... if a user has a token eg biometrics or smartcard 回答1: Yep, it's possible. In older (XP and before) windows, this facility was called a GINA. In Vista and Win 7, the architecture is changed... you need to build a Credential Provider. The previous link is to an overview article, here's a link to some samples. Kudos to Login to windows xp programatically for providing