• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

getting information from another application

Hi,

There's an application that users logon too. (isx)
they press numlock key twice on the keyboard and a window login asking for an ID.
ID is numerical with four digits.

To logout of the application they press numlock key once.

How can VB catch the ID?

-presently I used sendkeys, so they login to the vb program then it logs then into the isx application.
there's alot of possible bugs.
-any new idea or approach, I want to catch the ID without the users loging on to the vb program.

Thanks,
Lynnton
0
lynnton
Asked:
lynnton
  • 5
  • 5
  • 3
  • +1
1 Solution
 
DrWarezzCommented:
Keylogging is illegal activity.. We're not allowed to help with such activity..

[r.D]
0
 
lynntonAuthor Commented:
DrWarezz,

Ironic isn't it? your name..  :-)

hmm I think it does sound like a key logger, but in this case it's not an illegal activity, because it's a project, I wanted to make it more efficient.  

It's realtime adherence program I wrote and now users are by passing the system. If I could let them login to the actual application itself (isx) then get the information from that, then it will eradicate all the present bugs I have now.

It DOESN'T need to be a key logger, do I have any alternative?

Thanks,
Lynnton
0
 
DrWarezzCommented:
>"Ironic isn't it? your name..  :-)"
hehe.. :P

>"It DOESN'T need to be a key logger, do I have any alternative?"
Hmm.. Probably not..

Personally, I don't program in VB.. So; is VB a low-enough level language to be able to add a Hook on the keyboard? (Like you can in C++) ?

gL,
[r.D]
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
tomvergoteCommented:
to make it clean you would have to modify the isx app (or dig through it's api or non documented dll functions) to get to a method which returns what you are after
0
 
lynntonAuthor Commented:
tomvergote,

Yes, that is the correct approach, can you give deeper guidance on what I i
m looking for? and how to successfull apply this approach?

Thanks,
Lynnton

0
 
tomvergoteCommented:
we don't know what the isx app is, if you can modify it, what it's written in etc
but you would have to look into interprocess communications in the languages you are working in (for example if both are in c# you could look into remoting or entrepreise services), if it's in vb you would have to go through DCOM (iirc)
http://www.mvps.org/vb/hardcore/html/interprocesscommunication.htm
http://support.microsoft.com/kb/q95900/
etc
0
 
lynntonAuthor Commented:
tomvergote,

how to determine if the isx application is written on what language?
so that I could tell you and from that we could arrive at a clean conclusion.

Thanks,
Lynnton
0
 
tomvergoteCommented:
you can't really if the isx app is 3rd party and you don't have the source
0
 
tomvergoteCommented:
you could try to contact the 3'rd party's support, but i don't think they will want to help you
0
 
lynntonAuthor Commented:
tomvergote,

Can I use DDE or DCOM to test if it's compatible with those two?
How can we accomplish this? ( I have a gut feeling it's capable of DDE)


Thanks,
Lynnton
0
 
tomvergoteCommented:
You could try programming them and see what and if they give errors.
I don't really know, i would try to search the whitepapers or try to contact support (or a dev on their newsgroups if you are lucky)
0
 
lynntonAuthor Commented:
tomvergote,

This means there's no universal language for DDE and DCOM?
like okay, isx app is compatible with DDE, connect to DDE and use the properties to gain information???

Thanks,
Lynnton
0
 
DrWarezzCommented:
Author, what does this isx app actually do? Perhaps you could code a duplicate in VB (for example), but so that there are no ways to bypass it.. (well, when dealing with security, ALWAYS remember this: 'There is not such thing as a secure system. All systems can be hacked, and there are no exceptions to this rule ... What you as a programmer can do is make it harder for an attacker to break into your systems, and easier for you to restore them if they have been compromised.').

Good luck with it,
[r.D]
0
 
sapbucketCommented:
What is wrong with your current solution?

If you cannot muck around with the isx program (ie someone else wrote it and you don't have the source) then using VB front-end is not bad.

Using send-keys works great too.

Where do the bugs come from? Also (little joke here) why do you care about security if all you are using is a 4 digit password? LOL I could break into that in 5 minutes.

Maybe this will help:
http://groups.yahoo.com/group/perlguitest/
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now