>I have created a basic .EXE file that updates some registry entries.
>
>I declare some public functions to create/update the keys, and in the form_load event I iterate through some code to create/update the entries. At this point my task is complete.
>
>How do I get the window (form) to close at this point?
>
>Or am I using the right type of project for the task?
>
>Thanks in advance...
>Michael
Put your code in the Sub Main in a BAS module.
Change the startup object the Sub Main in the project properties.
You don't need a form at all.