Nitro, thank you very much.
that worked just fine, I'd like to ask another question if I may.

What would be the best way to incorporate this into my
application. what I want to do is when I install the
program from floppies I want the program to automatically
register itself into the registry using the code you
supplied. Is this done via the installation procedure or
elsewhere?

thanks again

MICK

[Edited by bucko on 06-30-2000 at 09:45 PM]