windows-vista

Is .NET 3.5 a reasonable pre-requisite for a media center plugin?

放肆的年华 提交于 2019-12-14 03:57:50
问题 We have an open source media center plug-in. At the moment its download size is one measly megabyte. If I change my plug-in to require .NET 3.5, users may have to download 197 megs just to be able to use my plug-in. I am in the middle of a big refactoring process, and am aching to use some of the functional aspects of LINQ, which would considerably reduce the complexity of our codebase. Is .NET 3.5 a reasonable pre-requisite for my application? My entire user base already have .NET 3.0

Installation file names in Windows Vista

坚强是说给别人听的谎言 提交于 2019-12-14 03:56:17
问题 I read in this article: http://technet.microsoft.com/en-us/library/cc709628.aspx That Windows detects Installers through file names, following this tip, Is it better to include setup in the file name for the installer I mean ProductSetup.msi is better than Product.msi??? It's hard to think that Windows does this kind of detection :-) 回答1: This only applies to EXE files. If you've got an MSI file, it's up to the MSI file to specify which parts of the MSI require elevation or not. 回答2: That's

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

一个人想着一个人 提交于 2019-12-14 03:49:32
问题 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 app via ClickOnce which, from our research starts apps in a unique sandbox. Therefore it always cold-starts so looking to improve performance here was fruitless.

Why do I have to re-install MSMQ when I come off and back on to the office network?

北战南征 提交于 2019-12-14 03:42:23
问题 I've got a really frustrating problem with MSMQ constantly refusing to work even though it's installed and started. I have MSMQ installed on my Vista Business laptop (MSMQ-Container;MSMQ-Server;MSMQ-Triggers;MSMQ-DCOMProxy) and this laptop is joined to the company domain. Registry shows that it's installed under Workgroup mode which is fine by me as I only want to use direct connections to private queues (using a full FormatName (TCP based)) and could care less about AD integration. When

How Do I Extract a Full Icon From a Vista/7 Executable?

时光毁灭记忆、已成空白 提交于 2019-12-13 14:43:26
问题 If I have a Vista .ico file which contains a 16x16, 32x32, 256x256 etc. version of an icon, I can successfully load it as a .NET Icon by simply doing -: Icon myIcon = new Icon("C:\\MyIcon.ico"); I can then access all of the various sized images in the icon. I can even access the 256x256 Vista PNG using methods detailed HERE. However, I haven't found a way to get the full set of icon images from a Vista executable. Unfortunately, doing this -: Icon myIcon = Icon.ExtractAssociatedIcon("C:\

How do you communicate between Windows Vista Session 0 and Desktop?

拟墨画扇 提交于 2019-12-13 11:43:32
问题 In prior versions of Windows before Vista you could have a Windows Service interact with the current logged in desktop user to easy display information on the screen from the service. In Windows Vista Session 0 was added for security to isolate the services from the desktop. What is an easy way to communicate between a service and an application running outside of Session 0? So far I have gotten around this by using TCP/IP to communicate between the two but it seems to be kind of a sloppy way

OpenFileDialog.AutoUpgradeEnabled doesn't work under Vista or 7?

拜拜、爱过 提交于 2019-12-13 06:44:01
问题 If I specify OpenFileDialog.AutoUpgradeEnabled = true, my program still shows the old XP-style dialog. Any idea why this would happen? This is after I enable theming in Main() [STAThread] static void Main() { Application.EnableVisualStyles(); Application.Run(new Primary()); } and this is my dialog code: private void OpenProgramFile() { OpenFileDialog programFileDialog = new OpenFileDialog(); programFileDialog.Filter = "Program files (*.exe;*.lnk)|*.exe|All files (*.*)|*.*"; programFileDialog

VB6 using Write #1, (UnitCount

蓝咒 提交于 2019-12-13 05:07:40
问题 I have a legacy VB6 system which uses the expression Write #1, (UnitCount to write a text file. (UnitCount is the first a several short integers that are written.) This works well under XP but does not produce the text file under Vista and Windows 8. No error is reported. Does anyone know how to fix this? Also - the VB6 application is installed in C:/Program Files/IronDuke and the text file is intended to be written here as well (i.e. in the current directory). I am aware of the closing

Using DrawThemeTextEx in C#?

限于喜欢 提交于 2019-12-13 05:06:54
问题 I am creating a label control which can be used on Aero Glass and I want the text to glow "the Vista way". There is a WinAPI function called ' DrawThemeTextEx ' but I don't know how to use it and searching didn't give many results. I found this message but it doesn't tell you much : http://www.codeproject.com/Messages/3273238/Text-on-Aero-Glass-that-has-Painted-Layer-how.aspx Does anyone know how to use ' DrawThemeTextEx ' in .NET ? 回答1: Right, so what's missing from the code in that link is

Is it possible to add functionality to Vista/7 taskmgr.exe?

前提是你 提交于 2019-12-13 03:37:53
问题 I was wondering if anyone knew whether taskmgr.exe in Windows Vista/7 was extend-able via a plugin system. I found this, but this is limited to XP,2k3 and he specifically states he didn't know about vista's and seven's. 回答1: I think it is not possible to extend Task Manager with some kind of plugin. App from the link is just a new app that mimics a regular Task Manager and add some functionality. It is however possible to bind a new app to be executed instead of a normal Task Manager . 来源: