Originally posted by rocket
Go to Project>>Project Properties>>General>>Startup Object and set to Sub Main

Have you stepped though the code to see if in fact the .previnstance is false?
yes- but it was because I was trying to run 2 copies (2 exe's) of the same program.

Now I'll have to try this again- the right way :-)