Stephen Sulzberger’s Blog

February 29, 2008

Capture color code from screen

Filed under: Web development — Stephen @ 8:22 pm

http://instant-eyedropper.com/
“Instant Eyedropper is a free software tool for webmasters that will identify and automatically paste to the clipboard the HTML color code of any pixel on the screen with just a single mouse click.”

http://colorcop.net/
“Color Cop is a multi-purpose color picker for web designers and programmers.”

February 9, 2008

BalloonTipTitle and BalloonTipText max length

Filed under: .net,C#,Windows API — Stephen @ 2:55 pm

NotifyIcon.BalloonTipText max length = 255 characters
NotifyIcon.BalloonTipTitle max length = 63 characters

Source: Trial and error.

Good luck finding these specs anywhere. Seems to be one of the lesser documented items in the Windows API (or it requires a very specific search term). Funnier still is you won’t get any compiler errors in Visual Studio 2005/2008 if your string is longer than the above mentioned lengths – you’ll just have to wait for your balloon tip to get cut off when it’s displayed.

Firefox add-ons – development tools (best of)

Filed under: Extensions,Firefox,Web development — Stephen @ 2:30 pm

Some Firefox add-ons I’ve found indispensable for web development and everyday use:

Cookie Manager Button – Creates an icon on the navigation toolbar for quick access the Cookie Manager.
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/3402

QuickJava – Allows quick enable and disable of Java and Javascript from statusbar.
Site: http://quickjavaplugin.blogspot.com/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/1237

Firebug – Edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
Site: http://www.getfirebug.com/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/1843

Flashblock – Enables/disables flash for web sites that you designate.
Site: https://addons.mozilla.org/en-US/firefox/addon/433
Add-on page: http://flashblock.mozdev.org/

WebMail Notifier
Site: http://webmailnotifier.mozdev.org/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/4490

Tabs Open Relative
Site: http://jomel.me.uk/software/firefox/tabsopenrelative/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/1956

User Agent Switcher – Adds a menu and a toolbar button to switch the user agent of the browser. (Useful for testing browser-specific sites.)
Site: http://chrispederick.com/work/user-agent-switcher/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/59

CSSViewer – A simple CSS property viewer.
Site: http://www.nicolashuon.info/?page=work&type=projects&id=cssviewer
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/2104

Firecookie – An extension for Firebug that makes possible to view and manage cookies in your browser.
Site: http://www.softwareishard.com/blog/firecookie/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/6683

CacheViewer – GUI Front-end for “about:cache”.
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/2489 

IE Tab – View web page displayed in IE but within Firefox tab.
Site: http://ietab.mozdev.org/
Add-on page: https://addons.mozilla.org/en-US/firefox/addon/1419

February 8, 2008

asp.net: vs_targetSchema meta tag (and others) no longer required

Filed under: asp.net,Web development — Stephen @ 3:52 pm

Recently I was migrating legacy asp.net pages (v1.1) to 2.0 and noticed the following code snippet in every header:

  <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" />
  <meta name="CODE_LANGUAGE" content="C#" />
  <meta name="vs_defaultClientScript" content="JavaScript" />
  <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />

Apparently the tags had been used in the past for design-time html support/validation. They’re no longer required if using Visual Studio 2005 or higher.

Some more good info at: http://www.velocityreviews.com/forums/t97952-can-i-remove-this-meta-tag.html

Create a free website or blog at WordPress.com.