Microsoft Office Launcher
I was bored and started to build a launcher for MS office. It has 5 buttons and each button launches a program, then my launcher closes.
Each button has this code:
Code:
Me.Close()
Shell("C:\Program Files\Microsoft Office\Office12\WINWORD.exe")
This works fine, but Word loads so fast that by the time the program has closed, word is in the background and i have to click on the taskbar to get it up. This kind of defeats the object of it. I'm trying to be lazy here!!!
Also, each button has an image on, but i want you to be able to press a key for each button. Is that possible? Ultimately Laziness?
Thanks!
Re: Microsoft Office Launcher
i use process.start to open a excel workbook without having click the taskbar.
Have you tried putting me.close() after the shell?
Re: Microsoft Office Launcher
Quote:
Originally Posted by
toecutter
i use process.start to open a excel workbook without having click the taskbar.
Have you tried putting me.close() after the shell?
Yeh, i started with it that way round, and i figured the other way round would work better...
EDIT:Process.Start worked perfectly, thanks! Guess i was living in the past (VB6). Now how about the key press thing? Is there a listener or something i can have?
Re: Microsoft Office Launcher
I would start a new thread titled re Key Press.
Glad to of helped