We help IT Professionals succeed at work.
Get Started

Get active window on Windows Mobile 6.5

Last Modified: 2013-12-27
I've created a application to scan barcodes on a Datalogic Elf Mobile Scanner.
Using vb.net 2008 pro

When I scan a barcode allways the same function is called. From that function I want to know which form is active or also good is to know which input control is active at the time of scanning.

The application has two input forms where they scan from, both forms are possibly opened but only one is active.

Depending on which is active I can do some logic on it.
if form A is active put scanned barcode string into form1.txtinputbox1.text
if form B is active put scanned barcode string into form2.txtinputbox1.text
Watch Question
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE