I want to create a small form with a command button that logs a user out of Win98. I have User profiles in Win98 but anyone that clicks cancel now has access to the computer. What I want to do is put a small program in Startup that you have to click to clear, once clicked it logs you out. I've tried Sendkeys "%{f4}" and variations but it's not working. ((Alt F4) at the desktop does work) What am I doing wrong? Seems like a simple problem but so far nothing has worked.