Temp user directory
From: Tom de Neef (tdeneef_at_qolor.nl)
Date: 09/29/04
- Next message: James B. Millard: "Re: Help please. Delphi Newbie"
- Previous message: Dodgy: "Re: How to create components that use other components"
- Next in thread: Dodgy: "Re: Temp user directory"
- Reply: Dodgy: "Re: Temp user directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 13:57:09 +0200
I copy html source code to the clipboard (from within David Baldwin's
ThtmlViewer). MS Office applications paste this very nicely, pictures
included. Except of course when such a picture is not a file reference but
generated in-line by the application (via a call to OnImageRequest).
My solution to this is to save copies of in-line images as BMPs in the
directory of my application, replacing the <img> src parameter accordingly
in the html source before copying to the clipboard. MS Office applications
pick these temporary images up as well. ...Except with some users (even
though they use latest versions of Word and Windows.) I make little progress
in pinpointing where the problem is.
I've noticed that Word stores temp images in a user-specific TEMP file (eg
C:\Documents and Settings\Tom de Neef\Local Settings\Temp\). I now want to
mimic that and see if it solves the problem.
Question: how do I determine the path of such a user-specific temp
directory. Will it be a valid reference on Windows versions from 98 onwards?
Thanks,
Tom
- Next message: James B. Millard: "Re: Help please. Delphi Newbie"
- Previous message: Dodgy: "Re: How to create components that use other components"
- Next in thread: Dodgy: "Re: Temp user directory"
- Reply: Dodgy: "Re: Temp user directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|