vista good things and bad things (perceptions) –
1 . Startup time is less.
2 . Looks more stable. Less crashes.
3 . handles crashes well. A white layer is shown for applications which has crashed and it always exits without causing restart or anything like this.
4 . UI is good.
5 . General performace is good.
6 . Does not detect network easily when I come to work after leaving the machine locked in night. Has to restart 90 % of times.
7 . Does not behave well with files on network. I try to copy a file which does not have permission for me. Does not show clear message. Just keeps on showing Try again dialog again and again.
how to make applications vista conscious..
one of the most visible things in Vista apart from User interface is User Account control or better known as UAC and at the background security features. Some of the things you should know in order to be familiar with the changes in the way it can affect applications -
1 . there is a standard mode in which every application is expected to run normally. Some operations needs more permissions like access to some directories and registry location. If one can avoid this they should. Vista takes care of legacy applications for this by Virtualization. If they request such directories or locations they are given a dummy location. If they still needs such permissions they needs to run as administrator which give them more permissions. And this transition cannot happen in between . One has to close the application and restart as administrator. If at all one needs to run in standard mode for most of the things and yet to make this transition only for some tasks then these specific tasks can be moved to some other exe which can be spawned as adiministrator. Example is – try to create a file at ..\program files. A dialog will come up asking for permissions. Explorer runs in standard mode and to make a file at the high security location on needs more permissions so a new process is spawned with administrator mode.
2 . in standard mode you cannot even query other admin mode processes about its state. It will be to the extent that from standard mode you cannot even determine if other process is admin mode if at all it is in admin mode. So you have to rely on few apis failing to say probablistically that other process is admin mode.
3 . internet explorer by default runs in protected mode with even lesser rights. This is to prevent websites or plugins to silently access system resources.
4 . hooks cannot be set by standard process in admin process. There is no way to do it except move subset of application containing hook injection code to admin process. Standard proceeses can set up hook in IE but IE wont send messages back to the standard process. To do this one has to use ChangeWindowMessageFilter. In this one can specify the message which one wants to accept.
5 . to make applications go along with Vista they need a manifest file embedded in them which alongwith other things define the level of execution.
first two days with Vista
finally installed vista. Installer gives some user friendly options as to specify location (home/work/public place) of computer so that settings are done accordingly. Have to dig in what are those settings.
user interface was wow as they make you feel with advertisement all over the places. They are getting seen at almost all the places. Translucent windows, preview in alt-tab, tiled windows called flip 3d, widgets were noticeable on first day. could not find old functinality like run. But good thing is that shortcuts are working so I could still bring them. Took time to find out where do I type address in explorer bar.
The speaker icon at the corner did not work.I thought it comes by default. Googling it said many people are facing same problem and it is due to computer going to sleep and than coming back loosing audio. Downloaded some patches but did not worked for me. Tried to install visual studio .net but stuck on some error about regsvcs.exe which I could not get rid for two days.Not going any forward I reinstalled vista and luckily the problems were gone!
User access control is one of the interesting things which might make applications behave differently. There are more message boxes.
1 comment