windows-vista

Making Vista style apps in C#

牧云@^-^@ 提交于 2019-12-12 07:38:12
问题 I'm running windows vista and want to get the appearance to look like regular vista programs. Are there any really good tutorials/articles on how to build Vista Style apps? I would also like to learn how to use the native code and convert it to C# like in this example. 回答1: If you're using WPF you can use Microsoft's Vista Bridge library which has several useful controls. Otherwise, just look at the Windows UX Guidelines and roll your own. From that page: Some of the features included in the

Where is the my.cnf located on a Vista? [closed]

大兔子大兔子 提交于 2019-12-12 02:08:55
问题 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 . Would anyone know where I could find the my.cnf file(s) on Vista? I am using XAMPP (C:/xampp) and I tried searching within that directory, but I can't seem to find it. 回答1: my.cnf or my.ini is probably in C:\xampp\mysql\ If not there, you can try the following, which I found here: To find these MySQL config

Application only runs if you run as administrator?

梦想与她 提交于 2019-12-12 01:54:06
问题 Edit: This problem only occurs on windows 7 and vista from what I've heard. I have a very simple app developed with an external graphics library. If I install this app into a program files directory and run it, it will crash immediately but it works fine normally, with exactly the same files. I have realised it is because you need to run the application as administrator for it to work. I appreciate if this is a problem directly related to the graphics engine I am using, but I don't really

How to open new OpenFileDialog automatically in Vista/Win7?

喜夏-厌秋 提交于 2019-12-12 01:43:00
问题 I'm on Vista and I'm using Microsoft.Win32.OpenFileDialog class. When I call ShowDialog() I get the old XP-style dialog: How do I get the new Vista-style dialog with fallback to the old one on WindowsXP? A bit of rumble: I don't really understand why they didn't replace the dialog in vista, but kept both of them. Now legacy apps will never open new dialog, unless updated. 回答1: Yes, you'd have to upgrade to .NET 4.0 to get the new dialog. If you're stuck on 3.5 then you can use System.Windows

Non-English special folder names in Vista/Win7

心不动则不痛 提交于 2019-12-12 01:35:47
问题 In non-english versions Windows Vista and Windows 7 the usual special folders (such as the "My documents" folder) have dual naming: For instance "My documents" can be accessed (in german systems) via C:\Users\Username\Documents But is displayed (in explorer and file choosing dialogs) as C:\Benutzer\Username\Eigene Dokumente In my (C#) application, I would like to display the second form but need to use the first one internally. So I'm looking for some function to convert e.g. the result of

Where are my environment variables set on Vista32?

前提是你 提交于 2019-12-11 23:31:56
问题 By following: Start -> Computer -> Right Click -> Properties -> Advanced System Settings -> Advanced -> Environment Variables I find User variables for brianjd (which includes TMP and TEMP ) and System Variables (which includes, Path , USERNAME , etc.). I would expect these variables to be set in C:\AUTOEXEC.BAT or C:\CONFIG.SYS . Instead, I find REM Dummy file for NTVDM and FILES=40 in those files. Q: Where are the files that actually set the environment variables with statements like SET

Vista live thumbnail issue with SetWindowRgn

妖精的绣舞 提交于 2019-12-11 18:14:13
问题 I know I am probably missing something, but I can't seem to get windows to show the live thumbnail preview correctly when using a window that has a region. When hitting the minimize button the preview will clip to the minimized size (160x25) rather than showing the full preview (like it does with other windows). Few points to make: 1) The preview works fine in Windows Live Messenger, so Microsoft figured out a way to do it. 2) If I call SetWindowRgn only before a window is visible, it works

C# application stopped working

a 夏天 提交于 2019-12-11 16:57:48
问题 I made a C# windows application in visual c# express 2008. I executed the exe file seperately on my PC and it worked perfectly.. Now when I ran the same file on another computer having vista an error occurred "WindowsFormapplication has stopped working". On my computer too it stops working after 5-10 min. So is the problem with my code or is it anything else? I am a newbie here... Any help would be appreciated.. Edited..... It uses timers: System.Timers.Timer timer = new System.Timers.Timer()

how do i copy files from 1 folder to another while excluding certain file types?

六眼飞鱼酱① 提交于 2019-12-11 15:57:25
问题 I am using windows vista. i have a folder containing many files and subfolders. i need to copy the contents of that folder to another without including any files of the extension .txt. how do i do that? 回答1: you can use xcopy.. Then provide the /EXCLUDE:file1[+file2][+file3]... option to exclude .txt files 回答2: On Windows Vista and further you have the tool Robocopy, a more powerful copy command which allows you to perform tasks as yours For windows XP can be downloaded from MS from here I

Changing the MAC Address in Vista - Broadcom adapter

我们两清 提交于 2019-12-11 15:08:26
问题 Is there a way that we could override the default mac address / set a new mac address on a Vista machine for a Broadcom adapter ? 回答1: Can't say for your particular case, but I've used one of the two tools mentioned over here to spoof/change the MAC address of the Ethernet adapter on Windows Vista before. 回答2: Probably not - this is easy in Linux though :) 来源: https://stackoverflow.com/questions/307932/changing-the-mac-address-in-vista-broadcom-adapter