Click here to Skip to main content
Licence 
First Posted 25 Jul 2003
Views 51,454
Downloads 658
Bookmarked 37 times

Dahlia Debug-Device Browser Bar

By Jeremy Boschen | 25 Jul 2003
An Internet Explorer browser bar, which acts as a pseudo-debug output device

1
1 vote, 20.0%
2

3
3 votes, 60.0%
4
1 vote, 20.0%
5
3.60/5 - 5 votes
μ 3.60, σa 1.92 [?]

Sample Image - dahlia.jpg

Introduction

An IE browser bar, which acts as a target for pseudo-debug messages from client scripts.

Background

In just about every web-application I develop, I end up creating some IFRAME or new window to act as a target for various debug related messages. I finally decided that this would be much easier if it was wrapped up in a browser bar.

Using the code

Copy Dahlia.dll to your favorite directory, and run regsvr32 against it. Alternatively, build the project.

Points of Interest

The code has only been tested against IE6 on WinXP

The browser-bar works by creating a property on the document's parentWindow which references the component. Scripts can then call against the component to perform actions in the browser-bar.

Included are a few files which demonstrate the browser-bar's usage. dahlia.js is a script wrapper around the document.parentWindow.debugDevice property which is assigned by the browser-bar. dahliaTest.htm is a sample HTML file which uses dahlia.js.

Other than that, the code is documented well enough to follow, but if you have any questions, ask.

History

  • 7/20/2003 - Submitted

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Jeremy Boschen



United States United States

Member


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralHorizontal Explore bar. Pinmemberzakkas24833:41 22 Jan '08  
hi friend,
 
i am working on one project in that i need to open a horizontal exprlore bar in IE on click of toolbar button. so i have created one ATL project in vc .net 2005 . and add one simple atl object but here i face the problem that when i use the iswindow() function i got error
 
Error 1 error C2660: 'IsWindow' : function does not take 0 arguments d:\sample\tabsling\tabsling\masterobject.cpp 96
 
and error for create function also like
 
Error 2 error C3861: 'Create': identifier not found d:\sample\tabsling\tabsling\masterobject.cpp 110
 
please give me any idea to solve it..
Thank you in advance...
GeneralNeed more indepth information PinmemberGlimmerMan6:27 22 Nov '04  
GeneralGUI event catcher Pinmemberbuilder6920:06 26 Aug '03  
GeneralVery usefull ! PinmemberJean-Michel LE FOL23:47 27 Jul '03  
GeneralRe: Very usefull ! PinmemberJBoschen10:12 28 Jul '03  
GeneralSounds like the start of a good article PinmemberGary R. Wheeler2:50 27 Jul '03  
GeneralRe: Sounds like the start of a good article PinmemberJBoschen13:48 28 Jul '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120210.1 | Last Updated 26 Jul 2003
Article Copyright 2003 by Jeremy Boschen
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid