|
-
Apr 19th, 2009, 12:00 PM
#1
Thread Starter
New Member
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!
Last edited by flashcus; Apr 19th, 2009 at 03:31 PM.
-
Apr 19th, 2009, 03:32 PM
#2
Frenzied Member
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?
-
Apr 20th, 2009, 11:17 AM
#3
Thread Starter
New Member
Re: Microsoft Office Launcher
 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?
Last edited by flashcus; Apr 20th, 2009 at 11:22 AM.
-
Apr 20th, 2009, 03:21 PM
#4
Frenzied Member
Re: Microsoft Office Launcher
I would start a new thread titled re Key Press.
Glad to of helped
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|