UNKNOWN '************************************** ' Name: hack your user's Favorites folde ' r ' Description:This code hacks your user' ' s Favorites folder by manually adding a ' shortcut to your homepage (or any web page) ' By: Theo Kandiliotis ' ' ' Inputs:None ' ' Returns:None ' 'Assumes:This works for both IE and NetS ' cape Navigator,I'm not sure about other ' browsers.The only limitation is that your user must have English Windows. ' 'Side Effects:None 'This code is copyrighted and has limite ' d warranties. 'Please see http://www.Planet-Source-Cod ' e.com/xq/ASP/txtCodeId.905/lngWId.1/qx/v ' b/scripts/ShowCode.htm 'for details. '************************************** How to hack your user's Favorites folder The Windows operating system is based on ASCII files.You may open a file that contains Windows settings using Visual Basic's sequential access and alter it's content in the same way it is altered through Windows,the compenent that uses it will never know the difference. For every Favorite page of the Internet Explorer,there is an ASCII file with a URL extention in the Windows\Favorites directory.It looks like this: [InternetShortcut] URL=http://www.hostname/folder/filename.htm... and sometimes it may have an additional third line that changes when the link is modified.The filename of the URL file determines the name of the favorites link in the Favorites dropdown list of IE. Here's the Visual Basic code to "manually" add a favorite page to the user's archive: Open "C:\WINDOWS\FAVORITES\Theo's VB site.URL" For Output as #1 Write #1,"[InternetShortcut]" Write #1,"URL=http://www.forthnet.gr/ionikh/home.htm" Close #1 Tada! Your user just decided that your home page qualifies for his favorites archive ;) You can add this little snippet to any program that you distirbute or have posted on the web so that more and more people will come to agree that you have an outstanding home page that they should visit daily...Ofcourse I have no responsibility for anyone's actions ;)