windows-vista

Autorun.inf - publisher not specified

I have the following autorun.inf [Autorun] action="Blah, Inc." open=marketing.exe icon=blah.ico label="Blah, Inc." On Vista, the autorun dialog shows "Publisher not specified". How do I specify a publisher? ...

.Net 3.5 Windows Forms Application: x86 vs x64 load times on 64 bit Vista

We are developing a Winforms application and in the process of optimizing the start-up time. The app runs on 64 bit Vista machines. In our testing we found what seems like a counter intuitive result. All else equal, targeting 32-bit vs 64-bit loads in half the time. Can anyone shed some light as to why? Thanks. [Edit] We deploy the...

How to convert from Special Folders to full file names

Is there a way of converting special folder paths to a full file name (and back) or do I need to code my own (not hard I know, but no point if it exists) e.g. I want to store the file name of a template for an application, which the user can then change, it exists in the LocalApplicationData folder. what I would like to store is the lo...

Vista Business Login and RDP Problems

At work, I running Vista Business on a lavishly new PC, which runs great excepting two issues. In order of annoyance, but not importance: When I reboot the machine, the Windows Splash is presented asking me to Press Ctrl + ALT + DELETE so I can logon. It takes three to five minutes and seceral key presses for me to be prompted to sel...

Why is Java on a Vista box reporting it is on XP?

I have stumbled across something truly puzzling regarding System.getProperty("os.name"). According to a Java bug on the matter and the Java 5 release notes (search for "os.name"), there was a bug in Java with early "longhorn" versions of Vista that should have been fixed in v5 release 10. However on my Vista SP1 box - using both v5 rele...

Vista Speech Recognition in Delphi

I would like to be able to dictate into my Delphi application using Microsoft Vista's speech recognition. However when attempting to dictate into a TMemo, it simply does not work. I noticed that Firefox 3.0 has the same issue and after they contacted Microsoft about the problem, they told them that they need to implement the Text Service...

Invoke Blue Screen of Death using Managed Code

Just curious here: is it possible to invoke a Windows Blue Screen of Death using .net managed code under Windows XP/Vista? And if it is possible, what could the example code be? Just for the record, this is not for any malicious purpose, I am just wondering what kind of code it would take to actually kill the operating system as specifi...

Tool for exploring Windows Vista Audio device chain (tree?)

The new Vista Audio subsystem is set up to be a chain of devices starting with the inputs, going through all the various controls (like mixers and volumen controls) and then ending up at various endpoints (like speakers or headphones). My question is: Is there a tool out there that will show all the endpoints devices in the system, and ...

Java File.canWrite() on Vista and super hidden files

I have some code that effectively does this : File file = new File("C:\\Program Files (x86)\\Something\\fred.txt"); System.out.println("file.canWrite() = " + file.canWrite()); It prints true. Now the odd thing is, I can create the file without any exceptions. Furthermore, another program can read the file I've created. The thing is, i...

Can't connect to mobile device

I've been developing an application for a second generation Workabout Pro from PSION Teklogix. Recently my company underwent an upgrade re: operating systems and Visual Studio versions, so I'm stuck with Windows Vista (and Visual Studio 2008). I've connected the same Workabout Pro unit I've always used for development, and I can't inst...

WinForms .NET 2.0: How to paint the proper sized icon?

i have an ico file that contains a 48x48 and a 256x256 Vista PNG version (as well as the 32x32 and 16x16 versions). i want to draw the icon using the appropriate internal size version. i've tried: Icon ico = Properties.Resources.TestIcon; e.Graphics.DrawIcon(ico, new Rectangle(0, 0, 48, 48)); e.Graphics.DrawIcon(ico, new Rectangle(48, ...

Debugging JavaScript errors in Internet Explorer on Vista with UAC enabled

Consider the following trivial HTML page that throws an error: <html><head><script> throw new Error('oops'); alert('should not reach here'); </script></head></html> The user I am logged into Vista with is a member of both the Administrators and Debugger Users groups. If I run Internet Explorer on Vista as an administrator (right ...

Is Vista Ultimate 64 w/SP1 okay for a development machine?

I am updating my rig and I need to make a decision between staying with XP x64 or going to Vista x64. I do very little development, really just building products from my developers. The other 90% of my work is done with Google Apps, Skype, Office, etc... I want to upgrade to Vista not only because I will have 3x monitors running on Dire...

Permission Denied errors with Visual Studio 2008 under Vista

I've taken the plunge and upgraded (or maybe downgraded?!) from WinXP to Vista. Everything appeared to be working ok except that when I fired up my machine this morning and opened my C# application in Visual Studio I got a few "Load of property 'OutputPath' failed. The entered path is not a valid output path" errors. I tried to rebuild...

Winforms .NET 2.0: How to draw a Png icon?

Note: Question http://stackoverflow.com/questions/220465/using-256-x-256-vista-icon-in-application deals with using a "Vista" icon as the application's icon. This question deals with manually painting a Vista icon. Note: Question http://stackoverflow.com/questions/281999/winforms-net-20-how-to-paint-with-the-proper-icon deals with paint...

ListView Empty Markup Text

Vista has introduced a new API to display a text in the list view control when it doesn't have any items. As the MSDN library states, I should process the LVN_GETEMPTYMARKUP notification. In the inherited ListView control the WndProc method is overriden: protected override void WndProc(ref Message m) { try { if(m.Msg == 78 /* WM_...

The Web Server Could Not Find the Requested Resource

I have a .NET 3.5 Web application on VS 2008 SP1 running on Vista Ultimate 32 SP1. I created an Application under the Default Web Site. So the url to the app is "http://localhost/mysite". The application folder is pointing to the solution folder and it is outside the iisroot folder. Anonymous and Integrated Auth (Windows) is enabled in I...

Error when installing Visual Studio 2005 on Vista

I am getting the following error when trying to install Visual Studio 2005 on my 64bit, Vista computer: "1305.Error reading from file C:\Program Files (x86)\Microsoft Visual Studio 8\Microsoft Visual Studio 2005 Standard Edition - ENU\SITSetup.dll" I have successfully used the same DVD's to install Visual Studio on my old X...

USB HID pen requirements

Is there a USB HID pen driver in Windows Vista? If so, what are the requirements for USB descriptors, in order to make Windows Vista recognize the pen and load the pen driver? What I'm searching for is the pen equivalent to the HID mouse driver, HID keyboard driver and mass storage driver. The mentioned example drivers makes it possibl...

Is anyone using a 2008 MacBook Pro with Vista?

Are you using a MacBook Pro with Windows Vista to write computer programs? I've heard the trackpad is atrocious in Windows. Is this true? What has your overall experience been? How are the drivers for Vista64? I'm interested in running Vista on the bare metal, but if you have experience with VMWare or Parallels I'd like to hear that...