For whatever reason,  saving the library, registering it, and bouncing the toolbar wasn't enough implement the change..   I rebooted and the change appears to be in full swing..  
 
Nicely done Glenn!
 
Monty 
 
 
----- Original Message -----
From: Glenn Carr
Sent: Tuesday, June 01, 2004 11:50 AM
Subject: Re: [DQSD-Devel] temp folder

OK, after thinking about this longer than 15 seconds, it is not necessary to create a temporary file at all on startup.  We can just use an existing .htm or .html file, and we should be able to assume that search.htm is always there.  This version does just that.  So, check it out and let me know if you have any problems.
 
Thanks,
Glenn
----- Original Message -----
From: Glenn Carr
Sent: Tuesday, June 01, 2004 11:01 AM
Subject: Re: [DQSD-Devel] temp folder

Hey all,
 
After incessant begging by Monty, I finally took a look at this, and it appears that it is creating a temporary file with a .html extension on startup to determine the default browser if something other than IE is specified as the default.   It just so happened that the code just reused the same filename used to launch a search using an external browser (DQSDLaunch.html), which confused matters more.
 
Attached is a new version of DQSDTools.dll that tries to create the file in the temporary directory, and if fails tries to create the file in %APPDATA%\DQSD.  While I was at it I add a new property to the DQSDTools.Launcher, AppDataDirectory.  This returns the name of the app data directory for DQSD (for me, "C:\Documents and Settings\gcarr\Application Data\DQSD") and also tries to create it if it doesn't exist.
 
If someone wants to test this for a while before I check in the changes, I would appreciate it.  (Copy the dll somewhere and regsvr32 it, no need to copy it over the existing dll, if it doesn't work, regsvr32 the dll in your install path to use the old version.)
 
Glenn
----- Original Message -----
Sent: Thursday, March 25, 2004 11:48 AM
Subject: [DQSD-Devel] temp folder

Hey all,
 
I have a problem with dqsd.  Recently I implemented a ramdisk on my machine, I use it for temp storage so my machine doesnt get clogged up with temporary files.  I also have the system environment variable "temp" and "tmp" assigned to this ramdisk. 
 
 The problem I have is this - when dqsd starts up it writes out an empty dqsdlaunch.html file in the temp folder.   At the time dqsd is loaded, my ramdisk isn't fully functional yet, and I get an error from dqsd indicating an invalid filesystem.    If I close the toolbar and re-open it, and reopen it, all is well from then on.  
 
Does dqsd *have* to write out the empty dqsdlaunch.html file on startup?   or could it use the Quick Search Deskbar directory for this file?
 
Monty
 

Reply via email to