windows-vista

Is it possible for Java apps to use the Aero Glass effect?

廉价感情. 提交于 2019-12-23 07:46:57
问题 Is it possible for a Swing based Java to have the Aero Glass effect as the background under Windows Vista/7? 回答1: I know it is possible, as it was achieved by the person who asked this question. I am currently researching the same thing and will post here if I find out how. 回答2: As of Java SE 6 Swing's native look and feel for windows uses Aero. There's a blog post with a lot of details about this from Chet Haase entitled Java on Vista : Yes it works 回答3: It does already. alt text http:/

How to prevent the Network Location dialog (home, work, public) appearing for new connections?

只愿长相守 提交于 2019-12-23 07:43:03
问题 I've written a piece of software that uses an USB 3G Dongle to connect to the internet if a connection doesn't already exist. When the software loads, it detects whether the internet is available and if not, then creates a dial up connection (via RAS) and then dials it. If this happens for the first time, the network location dialog comes up asking the user to select whether it's home, work or public. Is there anyway, I can either programatically set the network location of a connection, or

Can I use RegFree Com with an application written in Excel VBA?

廉价感情. 提交于 2019-12-23 04:28:18
问题 I have an application that is written in Excel VBA, myApp.xls. Currently we use InstallShield to distribute the application. Since we are moving to Windows Vista, I need to be able to install the application as a standard user. This does not allow for me to update the registry during the install process. In addition to the excel application we also have several VB6 applications. In order to install those applications, I was able to use RegFree com and Make My Manifest (MMM) as suggested by

Blank Screenshots In Vista and Win7 when gaming

牧云@^-^@ 提交于 2019-12-23 03:23:08
问题 I noticed another person also requested help on this. I read that post and it seems it wasn't resolved yet. I also tried changing from my code to the code in the "Screen shot in 2 clicks" Post, But implementing that in my code messed around with all my other code for some reason. At the moment, The screen shots show up perfectly in Win XP. In Vista and Win7 how ever, they show up blank unless the game is played in window mode. I hope someone out there can help us as this is the last step to

Is there any reason for a blocking call to winsock send() function on Vista to return immediately?

怎甘沉沦 提交于 2019-12-23 02:03:53
问题 Is there any reason for a blocking call to winsock's send() function on Vista to return immediately ? It works with expected delay on XP and below. I'm wondering if this has got anything to do with auto-tuning feature of Vista. Code: char *pBuffer; // pointer to data int bytes; // total size int i = 0, j=0; while (i < bytes) { j = send(m_sock, pBuffer+i, bytes-i, 0); i+=j; } Thanks, Pavan 回答1: The first possibility is that send() failed and returned SOCKET_ERROR. Your code cannot detect this,

Newly compiled application requires UAC/elevation?

半世苍凉 提交于 2019-12-22 23:13:18
问题 I have a system, I set it up as a normal with UAC, and in my delphi environment I compile my project named ka.exe, I create a installshield project for it. setup and everything completes ok! but whenever I start my program, it requires elevation and I don't have any clue why. just to be sure installshield is not playing mindgames on me, I compiled a new .exe, and copy it manually over to my networked computer. the icon looks the same, and it also have this UAC shield on it. my project has

FileSystemWatcher not monitoring local user folder or temporary internet files folder in Vista (64bit)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 11:15:47
问题 I wrote a test program to monitor my Picture folder which points to c:\users[username]\Pictures and temporary internet files folder for the same user. This is program works perfectly fine if I change the folder to other location like d:\persona_pics. Any idea why events are not being raised when I set the mentioned folder to monitor? here is the code. class Program { static void Main(string[] args) { //FileSystemWatcher myJpegFileWatcher = new FileSystemWatcher(@"C:\Users\[username]\AppData

Error when running Mysql batch file

喜夏-厌秋 提交于 2019-12-22 04:45:11
问题 I have a .sql file on my computer at C:\Users\Owner\Documents\file.sql (Windows Vista) that just creates a database and a simple table within. In mysql at the command line i enter source C:\Users\Owner\Documents\newbie.sql; the query seems to work ok but just before it shows me the successfully created table it outputs the following errors that seem to be related to how i entered the file name: ERROR: Unknown command '\U'. ERROR: Unknown command '\O'. ERROR: Unknown command '\D'. ERROR:

Does winapi's bcrypt.h actually support bcrypt hashing?

人走茶凉 提交于 2019-12-22 03:55:06
问题 This may sound like a strange question, and it feels a bit bizarre that I actually have to ask this, but after spending a couple hours looking over the MSDN documentation for the bcrypt routines that were added in Vista, I've almost reached the conclusion that there is no actual bcrypt support! According to Wikipedia: bcrypt is an adaptive cryptographic hash function for passwords ... based on the Blowfish cipher ... Besides incorporating a salt to protect against rainbow table attacks,

Programmer's understanding of Memory in the Vista Windows Task Manager

為{幸葍}努か 提交于 2019-12-21 12:11:27
问题 I know a fair bit about the Windows Task Manager in XP, but I would like to understand it better in Vista. What is the difference between "Working Set (Memory)" and "Memory (Private Working Set)". What is the Paged Pool, what is the NP Pool (Non-Paged?). How do I use these to determine what is going on with memory usage? As an aside, when you minimize a program it frequently returns 90% of the memory it is using. Is there any way to do this without minimizing it? 回答1: This MSDN blog entry