Results 1 to 4 of 4

Thread: Microsoft Office Launcher

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2009
    Posts
    5

    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.

  2. #2
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    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?

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2009
    Posts
    5

    Re: Microsoft Office Launcher

    Quote Originally Posted by toecutter View Post
    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.

  4. #4
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    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
  •  



Click Here to Expand Forum to Full Width