You can't do this with ASP.NET
It's a server side language that emits client stuff like HTML, JavaScript and CSS.
As far as I know, you can't do this at all through other means like
VB Script or Active X. Maybe you could write a browser plugin but even then.
For sure, you won't be able to use this in an internet scenario. Maybe, just maybe, it might work in an Intranet environment, but I don't think so.
Bottom line: you probably need to rethink your strategy. I, for sure, would never visit a web site again if it tried to pull these kind of tricks...
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.