Aero Peek / Superbar doesn't work / Firefox (3.6) tab-preview doesn’t work in Windows 7

by Hazem 24. January 2010 06:13

 

After upgrading to the latest Firefox (FF) 3.6, the Aero Peek / Superbar doesn’t show except one instance of FF and tab-preview is not working with FF.

After upgrading my browser, the setting for browser.taskbar.previews.enable, in About:Config, is changed from true to false...

Just open FF and type in about:config in the address bar, click I'll be careful, I promise!, button and search for browser.taskbar.previews.enable. If the value is set to false, double-click it to set it to true, restart your browser.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

Error Creating SilverLight Application Using Visual Studio - Object Reference not set to an instance

by Hazem 17. January 2010 13:23

 

The first time you create a Visual Studio Silverlight application and after downloading the required tools (through WPI Launcher or through direct download) for creating such a project (SilverLight Tools for VS 3 / Silverlight Toolkit November 2009 Release / WCF RIA Services Beta for Visual Studio 2008 SP1) you might get the error:

“Object Reference not set to an instance”

Clicking OK loads nothing and you are back at VS startpage. If that is the case, then try doing the following:

Goto Visual Studio 2008 Command Prompt & enter the following commands:

             devenv /ResetSettings

             devenv /ResetSkipPKGS

The 2nd command is most probably what is going to fix the error you are getting!

Restart your Visual Studio now & check whether the error still persists.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

Firewall Doesn’t Start on Windows 7 (RC) / Vista

by Hazem 10. January 2010 22:36

ticle ID: 943996 - Last Review: October 19, 2007 - Revision: 1.0

Some services do not start in Windows Vista

View products that this article applies to.

Result

On Windows Vista computers, you find that the Windows Firewall service is not running. When you try to manually start the service, you get the error mentioned below. This problem may also occur for the DHCP Client service, or the “Diagnostic Policy Service” service.
Here are the errors for the "Windows Firewall" service:
Windows could not start the Windows Firewall on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 5.
In the System event log, you see the following event:
Source: Service Control manager Eventlog Provider.
Event ID: 7024
The Windows Firewall service terminated with service-specific error 5 (0x5)

Back to the top

Cause

The error means "Access is denied". This may happen if the "MpsSvc" account doesn't have the necessary permissions for the related registry keys.
For the NT Service\MpsSvc account, it needs permissions for the following keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch
Query Value;Set Value
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy
Full Control;Read
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy
Full Control;Read
For the DHCP Client service, the issue may occur if the "NT Service\DHCP" account does not have the necessary permissions for the following keys:
Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
permission needed: Query value, Create value, Enumerate Subkeys, Notify, Read Control
Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations
permission needed: Full Control, Read
For the "Diagnostic Policy Service" service, the issue may occur when the account Trustedinstaller is missing the permissions for the key below:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters
permission needed: Full Control, Read

Back to the top

Resolution

Add the permission for the account on these registry keys. For example, here are the steps for the Windows Firewall service:
1. In Registry Editor, browse to the key for which you need to add permission.
2. Right click the key, and click Permissions.
3. Make sure Locations is selected to be the local computer.
4. In the "Enter the object names to select field, type "NT SERVICE\mpssvc". Then click “Check name.”
5. Click OK.
6. Then select the account which appears in the list, and add the appropriate permission for it.
7. When this is done, click OK.

Back to the top

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

10 Free Apps for Managing Your Fonts

by Hazem 3. December 2009 21:36

Fontmatrix (Windows/Linux)

If you’re a typical designer or web developer, you probably have a large font collection. Having a sizable number of fonts can make finding the ideal font for a project a grueling effort, akin to a needle in a haystack scenario. However, there are several free applications that can help you find...[More]

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

The Ultimate WordPress Theme Tutorial : Theme Shaper

by Hazem 3. December 2009 11:33

Tags:

25 Useful Scripts for Tooltips

by Hazem 2. December 2009 12:15

Tags:

Using a WordPress Page as Your Home Page

by Hazem 27. November 2009 10:51

Tags:

Ultimate CSS List Creation Methods and Examples

by Hazem 23. November 2009 09:16

Tags:

Ps Letterpress emboss text effect | tutcandy.com

by Hazem 18. November 2009 14:09

Tags: , ,

Simple Clearing of Floats

by Hazem 17. November 2009 22:18

 

by Alex Walker

Without wanting to stray too deeply in Simon and Stuart’s technical CSS territory, I thought this was worth noting.

For all it’s many advantages, sometimes it’s the little things that CSS layout makes difficult that really get to you. Clearing floated elements is a good example.

The Problem:

One of the simplest and most common layout structures involves the placing of a small, set-width DIV — perhaps navigation, a quote or a bio — within a larger wrapping DIV that contains the remaining content. In a markup this might be something like:

 
<div id="outer">
<div id="inner"> <h2>A Column</h2> </div>
<h1>Main Content</h1>
<p>Lorem ipsum</p>
</div>
 
	<div id="outer">
	<div id="inner"> <h2>A Column</h2> </div>
	<h1>Main Content</h1>
	<p>Lorem ipsum</p>
	</div>
	

We can set the width of ‘#inner’ (let’s say ‘width:20%’), but, being a block level element, the main content will always wrap beneath, unless we float it (either left or right). Here our classic problem begins.

If ‘#inner’ is shorter than #outer, all is well.

However, if ‘#inner’ grows taller than it’s wrapping parent, it breaks through the bottom edge of ‘#outer’. It’s as if ‘#outer’ forgets it’s supposed to be keeping tabs on what ‘#inner’ is doing as soon as you float it.

As we can’t always control the amount of content in these DIVs, it certainly presents a problem. Here’s a typical example of the problem in action. (Thanks to Pixy for the neat little content-gen script).

The Solutions:

a) The Markup Method: The first and W3C-recommended approach is a little ugly – extra markup. At the very end of your content, toss in a cleared element – typically something like <br style="clear:both"/>. It’s the HTML equivalent of wedging matchsticks into your window frame to jam a window open. This works, but ‘dirties your page’ with stuff that only exist so it renders properly.

b) The Aslett/PIE Method: Less than 12 months ago Tony Aslett working with PositionIsEverything.com came out with a new method so diabolically clever that they had to have been sitting in a fake island volcano, stroking a large white cat and laughing fiendishly when they thought of it.

You’ll need to read the tutorial to get the full story, but, in short, they use a little-known, rarely-used pseudo class (:after) to place a hidden, cleared full-stop after the content. Combined with a sprinkling of hacks, this works beautifully – but gives me a headache over my left eye when I think about it.

c) The Ordered List Method: Last October Steve Smith from Orderlist.com published a slightly simpler method. Again, read his tutorial to get the low-down, but in short, his method involves ‘Floating nearly Everything’ (FnE), which naturally enough includes the outer DIV. This can have a considerable effect on the way your design stacks and as Steve says ‘it takes a little more tweaking’ but in general this method seems a little more robust to me.

d) That was my ‘current state of play’ until last week when SitePoint Forum’s own CSS Guru, Paul O’Brien, nonchalantly pointed out that adding a ‘overflow:auto’ to the outer DIV did the trick.

‘Rubbish’ I thought to myself.

Half an hour of testing later, I was amazed to find Paul was 100% correct – as this example shows. It seems that reminding the outer DIV that it’s overflow is set to ‘auto’, forces it to think “oh yeah.. I’m wrapping that thing, aren’t I?”.

This fact is so boringly simple that it’s hard to know if thousands of developers are well aware of it, but never thought to mention it. I know I showed the example page to four CSS-savvy SitePoint colleagues and all shock their heads, blinked slowly and said “Whaa…?” (or something similar).

From my testing, it seems to work identically in virtually every browser. Even IE4 seems to love it – only NS4 freaks out, and I’m not totally convinced a few hacks couldn’t get that working.

We haven’t had time yet to thoroughly test this method under rigorous match conditions, but so far there don’t seem to be any major drawbacks.

Certain combinations of margin and padding can force internal scrollbars. If you can’t ‘massage’ them away, we found ‘overflow:hidden’ has virtually the same effect without the scrollbars. The only drawback of ‘hidden’ seems to be the cropping of some images if they’re placed lower in the page.

Both issues seem very manageable.

Nice work, Paul.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags: , ,