Here's is literally what I did:

1. Opened Studio
2. Created a new solution
3. Added a reference to uiautomationcore.dll

At that point, I saved it, zipped it up, and gave you a link. Anything else in 
there is project overhead that's automagically created by Studio.

Aaron

-- 
Aaron Smith 
Web Development * App Development * Product Support Specialist
Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * www.aisquared.com

To insure that you receive proper support, please include all past 
correspondence (where applicable), and any relevant information pertinent to 
your situation when submitting a problem report to the Ai Squared Technical 
Support Team.

> -----Original Message-----
> From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com]
> Sent: Tuesday, June 30, 2015 9:42 AM
> To: Aaron Smith; Window-Eyes Scripting List
> Cc: Chip Orange
> Subject: Re: uia and uia automation references
> 
> hmmm, so I see uiautomation client in the gac, is that all I need?  I noticed
> you have other references in your example, so this was my original question.
> 
> Aaron Smith via Scripting <scripting@lists.window-eyes.com> wrote:
> 
> > Hi, Chip.
> >
> > There are two ways:
> >
> > 1. Using Visual Studio, add a reference to the uiautomationcore.dll file
> located in your system directory. Visual Studio will automatically create the
> interop dll, stick in your project, and reference it.
> >
> > 2. Use the TlbImp utility that ships with the .NET library to create the
> interop DLL by hand. You'll then need to add it to your project, and reference
> it.
> >
> > Regardless of which method you use, once it's referenced, add a using line,
> like this:
> >
> > using UIAutomationClient;
> >
> > Then you can create a client object by doing:
> >
> > IUIAutomation client = new IUIAutomation();
> >
> > Once you have a client, Bob's your uncle.
> >
> > Aaron
> >
> > --
> > Aaron Smith
> > Web Development * App Development * Product Support Specialist Ai
> > Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
> > 260-489-3671 * www.aisquared.com
> >
> > To insure that you receive proper support, please include all past
> correspondence (where applicable), and any relevant information pertinent
> to your situation when submitting a problem report to the Ai Squared
> Technical Support Team.
> >
> > > -----Original Message-----
> > > From: Chip Orange [mailto:chip.ora...@gmail.com]
> > > Sent: Monday, June 29, 2015 7:48 PM
> > > To: Aaron Smith; 'Window-Eyes Scripting List'
> > > Subject: RE: uia and uia automation references
> > >
> > > Aaron,
> > >
> > > I am trying to follow your answers to learn to do this, but I don't
> > > understand your response here.  Is this some VS will do for you
> > > automatically, or, must you do it manually using the utility you mention?
> > >
> > > Thanks,
> > >
> > > Chip
> > >
> > >
> > > -----Original Message-----
> > > From: Scripting
> > > [mailto:scripting-bounces+chip.orange=gmail....@lists.window-eyes.co
> > > m] On Behalf Of Aaron Smith via Scripting
> > > Sent: Monday, June 29, 2015 4:42 PM
> > > To: cov...@ccs.covici.com
> > > Cc: Window-Eyes Scripting List
> > > Subject: RE: uia and uia automation references
> > >
> > > Right. Studio creates an interop from the uiautomationcore.dll, adds
> > > that to your project, and references it. You can do that manually
> > > using the TlbImp utility that ships with the .NET SDK. Convert the
> > > DLL manually, add that to your project, and reference it.
> > >
> > > Aaron
> > >
> > > --
> > > Aaron Smith
> > > Web Development * App Development * Product Support Specialist Ai
> > > Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
> > > 260-489-3671 * www.aisquared.com
> > >
> > > To insure that you receive proper support, please include all past
> > > correspondence (where applicable), and any relevant information
> > > pertinent to your situation when submitting a problem report to the
> > > Ai Squared Technical Support Team.
> > >
> > > > -----Original Message-----
> > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com]
> > > > Sent: Monday, June 29, 2015 4:32 PM
> > > > To: Aaron Smith
> > > > Cc: Window-Eyes Scripting List
> > > > Subject: Re: uia and uia automation references
> > > >
> > > > Well, in the project just created, you have two ui*.dll files,
> > > > neither of
> > > which is
> > > > the uiautomationcore.dll, the uiautomationclient.dll, I have and
> > > > can also obtain by searching assemblies, the other one
> > > > crossnesshooklib.dll I do
> > > not
> > > > have on my system at all.
> > > >
> > > > Aaron Smith <asm...@aisquared.com> wrote:
> > > >
> > > > > I just tried it, and it worked fine for me. I created a new
> > > > > solution,
> > > went to
> > > > Project -> Add Reference, chose Browse, pointed the File Open
> > > > dialog to c:\windows\system32\uiautomationcore.dll, hit ok, and
> > > > UIAutomationClient was added as a reference. I saved it so that
> > > > you could
> > > try it out:
> > > > >
> > > > >
> > > >
> > >
> http://getwindoweyes.com/App_Central/Developers/SDK/WindowsFormsA
> > > > pplic
> > > > > ation1.zip
> > > > >
> > > > > Aaron
> > > > >
> > > > > --
> > > > > Aaron Smith
> > > > > Web Development * App Development * Product Support Specialist
> > > > > Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
> > > > > 260-489-3671 * www.aisquared.com
> > > > >
> > > > > To insure that you receive proper support, please include all
> > > > > past
> > > > correspondence (where applicable), and any relevant information
> > > > pertinent to your situation when submitting a problem report to
> > > > the Ai Squared Technical Support Team.
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com]
> > > > > > Sent: Monday, June 29, 2015 2:38 PM
> > > > > > To: Aaron Smith
> > > > > > Cc: Window-Eyes Scripting List
> > > > > > Subject: Re: uia and uia automation references
> > > > > >
> > > > > > vs would not let me do that -- it said it was not a valid dll
> > > > > > for that operation or some such -- I went to c:\windows\system32 .
> > > > > >
> > > > > > Aaron Smith <asm...@aisquared.com> wrote:
> > > > > >
> > > > > > > Sorry, I missed that you were looking for UIA. You can
> > > > > > > reference
> > > > > > UIAutomationCore.dll for UIA objects. You can find that in
> > > > > > your
> > > > > > system32/syswow64 directories.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Aaron
> > > > > > >
> > > > > > > --
> > > > > > > Aaron Smith
> > > > > > > Web Development * App Development * Product Support
> > > > > > > Specialist Ai Squared * 725 Airport North Office Park, Fort
> > > > > > > Wayne, IN 46825
> > > > > > > 260-489-3671 * www.aisquared.com
> > > > > > >
> > > > > > > To insure that you receive proper support, please include
> > > > > > > all past
> > > > > > correspondence (where applicable), and any relevant
> > > > > > information pertinent to your situation when submitting a
> > > > > > problem report to the Ai Squared Technical Support Team.
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com]
> > > > > > > > Sent: Monday, June 29, 2015 1:29 PM
> > > > > > > > To: Aaron Smith
> > > > > > > > Cc: Window-Eyes Scripting List
> > > > > > > > Subject: Re: uia and uia automation references
> > > > > > > >
> > > > > > > > hmmm, I have  downloaded we90sdk.zip and in there is
> > > > > > > > windoweyesinterop.dll, and I find all kinds of libraries
> > > > > > > > in there, but not the ui automation ones.  The references
> > > > > > > > don't look anything like the ones in the example.  Did I
> > > > > > > > download the
> > > wrog
> > > > library?
> > > > > > > >
> > > > > > > >
> > > > > > > > Aaron Smith <asm...@aisquared.com> wrote:
> > > > > > > >
> > > > > > > > > Hello,
> > > > > > > > >
> > > > > > > > > You'll want to grab the latest SDK from
> > > > > > > > www.gwmicro.com/App_Central/Developers. It contains the
> > > > Window-
> > > > > > Eyes
> > > > > > > > Interop DLL you can reference.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > > Aaron
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Aaron Smith
> > > > > > > > > Web Development * App Development * Product Support
> > > > > > > > > Specialist Ai Squared * 725 Airport North Office Park,
> > > > > > > > > Fort Wayne, IN
> > > > > > > > > 46825
> > > > > > > > > 260-489-3671 * www.aisquared.com
> > > > > > > > >
> > > > > > > > > To insure that you receive proper support, please
> > > > > > > > > include all past
> > > > > > > > correspondence (where applicable), and any relevant
> > > > > > > > information pertinent to your situation when submitting a
> > > > > > > > problem report to the Ai Squared Technical Support Team.
> > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Scripting [mailto:scripting-
> > > > > > > > > > bounces+asmith=aisquared....@lists.window-eyes.com]
> On
> > > > > > > > > > bounces+Behalf
> > > > > > Of
> > > > > > > > via
> > > > > > > > > > Scripting
> > > > > > > > > > Sent: Monday, June 29, 2015 10:06 AM
> > > > > > > > > > To: scripting@lists.window-eyes.com
> > > > > > > > > > Subject: uia and uia automation references
> > > > > > > > > >
> > > > > > > > > > Hi.  I am trying to start a .net project and I want to
> > > > > > > > > > use the references like you have in your sample
> > > > > > > > > > project, but I can't find a dll for some of  the ui
> > > > > > > > > > ones that you have -- can you tell me what you used in
> > > > > > > > > > the add reference dialog to
> > > get
> > > > them?
> > > > > > > > > >
> > > > > > > > > > Thanks.
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Your life is like a penny.  You're going to lose it.
> > > > > > > > > > The
> > > question is:
> > > > > > > > > > How do
> > > > > > > > > > you spend it?
> > > > > > > > > >
> > > > > > > > > >          John Covici
> > > > > > > > > >          cov...@ccs.covici.com
> > > > > > > > > >
> _______________________________________________
> > > > > > > > > > Any views or opinions presented in this email are
> > > > > > > > > > solely those of the author and do not necessarily
> > > > > > > > > > represent those of
> > > Ai
> > > > Squared.
> > > > > > > > > >
> > > > > > > > > > For membership options, visit http://lists.window-
> > > > > > > > > > eyes.com/options.cgi/scripting-window-
> > > > > > > > > > eyes.com/asmith%40aisquared.com.
> > > > > > > > > > For subscription options, visit http://lists.window-
> > > > > > > > > > eyes.com/listinfo.cgi/scripting-window-eyes.com
> > > > > > > > > > List archives can be found at http://lists.window-
> > > > > > > > > > eyes.com/private.cgi/scripting-window-eyes.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Your life is like a penny.  You're going to lose it.  The
> > > > > > > > question
> > > is:
> > > > > > > > How do
> > > > > > > > you spend it?
> > > > > > > >
> > > > > > > >          John Covici
> > > > > > > >          cov...@ccs.covici.com
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Your life is like a penny.  You're going to lose it.  The question 
> > > > > > is:
> > > > > > How do
> > > > > > you spend it?
> > > > > >
> > > > > >          John Covici
> > > > > >          cov...@ccs.covici.com
> > > > >
> > > > >
> > > >
> > > > --
> > > > Your life is like a penny.  You're going to lose it.  The question is:
> > > > How do
> > > > you spend it?
> > > >
> > > >          John Covici
> > > >          cov...@ccs.covici.com
> > >
> > >
> > > _______________________________________________
> > > Any views or opinions presented in this email are solely those of
> > > the author and do not necessarily represent those of Ai Squared.
> > >
> > > For membership options, visit
> > > http://lists.window-eyes.com/options.cgi/scripting-window-
> > > eyes.com/chip.oran
> > > ge%40gmail.com.
> > > For subscription options, visit
> > > http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
> > > List archives can be found at
> > > http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
> > >
> >
> >
> > _______________________________________________
> > Any views or opinions presented in this email are solely those of the author
> and do not necessarily represent those of Ai Squared.
> >
> > For membership options, visit http://lists.window-
> eyes.com/options.cgi/scripting-window-eyes.com/covici%40ccs.covici.com.
> > For subscription options, visit
> > http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
> > List archives can be found at
> > http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
> 
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>          John Covici
>          cov...@ccs.covici.com


_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to