[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Need to create a desktop link to WAB.exe - Find People Applet

Posted on 2004-09-20
4
Medium Priority
?
1,344 Views
Last Modified: 2007-12-19
I'm looking to create a desktop icon that will launch wab.exe then click the Find People Applet.


Thanks,
Ellis
0
Comment
Question by:luboff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 12

Assisted Solution

by:fulscher
fulscher earned 2000 total points
ID: 12107609
Ellis,

to launch the address book from code, you can use something like

        Dim ProcID As Integer
        ' Start the WAB application, and store the process id.
        ProcID = Shell("C:\Program Files\Outlook Express\WAB.EXE", AppWinStyle.NormalFocus)
        AppActivate(ProcID)
        System.Windows.Forms.SendKeys.SendWait("^F")

HTH, Jan
0
 

Author Comment

by:luboff
ID: 12116185
Jan,
     Your script crashed when I tried to run it, Line 1, Char 12 "As".... I copied the script above and pasted in notepad, changed to VBS.  I have absolutely no idea how to write VB so let me know if I did something to make it crash.  The desired result would be just seeing the "Find People" window... Another way to get to it is Start, Search, For People but I have no idea how to find or call that window.

0
 
LVL 12

Expert Comment

by:fulscher
ID: 12116513
luboff,

The code posted is VB.NET. Since you posted this in the .NET / VB.NET area, I assumed that you would use VB.NET. Btw - the sample works on my system.

I'll check how to do this in VBScript.

Jan


0
 
LVL 12

Accepted Solution

by:
fulscher earned 2000 total points
ID: 12117815
luboff,

here's a VBScript snippet which should do what you need.

   Set WshShell = WScript.CreateObject("WScript.Shell")
   Set oExec = WshShell.Exec("C:\Program Files\Outlook Express\WAB.EXE")
   WScript.Sleep 100
   WshShell.AppActivate "Address Book - Main Identity"
   WshShell.SendKeys "^F"

Paste into a text file and set the file extension to .VBS
Double-click the file to run it.

HTH, Jan
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question