VB .NET Get Text From Citrix App

I want to be able to get text from a textbox in a Citrix Application.  Is this possible? I have used Winspector Spy in the past and was able to do this from local applications.  I'm not sure how to approach this with Citrix Applications everyting comes up as a transparent windows client.  
LVL 16
disruptAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AcceleraSolutionsCommented:
Your VB.NET Application will need to be running inside of the Citrix Session and not from the local computer.  If you install the Winspector SPY inside of citrix and lauch it within your session (Provided your sessions are on the same server) it should be able to see the windows.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
disruptAuthor Commented:
Thank you is there an alternative solution as I won't be able to run it within the Citrix session.
0
disruptAuthor Commented:
I'm open to exploring other solutions at this point even with a diff prog language
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

AcceleraSolutionsCommented:
so although the window appears to be there, it is actually running on a server and not the users computer.  The user is just seeing what is essentially a screenshot of the application.  I don't believe you are going be able to see that window.  ICA does basic encryption and therefore you can't even read the actual contents of the packets.  Sorry.
0
bchoorCommented:
since Citrix client, is only a presentation layer - i.e. a video feed of some sorts - the client, running on the workstation, has no concept of controls/windows. There's no way to hook into the host application, since the workstation is essentially getting a stream of pictures from the citrix server. Whenever a mouse event or keyboard event occurs, the events are sent to the Citrix server, the server then computes the screen changes, and sends the diff back to the client, which in turns updates the relevant portions of the screen to reflect the prior input.

the only alternative, I can think of, would be to programatically take a screenshot of that area of the screen containing the textbox. Run an OCR on the resulting image containing the results of the textbox.

0
bchoorCommented:
in case you consider the OCR route, a free opensource .NET friendly library can be found here http://www.pixel-technology.com/freeware/tessnet2/ 

I'm sure there are other alternatives. Depending on the project you are working - you might also looking at those with an initial fee and no royalties.
0
disruptAuthor Commented:
OCR was my first instinct might have to go with that.  Thank you for all your suggestions much appreciated !!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.