you could take a screenshot of the program and print it out.. that would allow you read the captions on labels etc, without the program being open.. to take a screenshot, press the PrtScrn button
Thanks but thats not what i want,
what i wanted to do was to read infomation from another .exe program using some kind of api call or opening it in binary
but i dont think you can get text box values or labels by opening a file in binary.
Thanks but thats not what i want,
what i wanted to do was to read infomation from another .exe program using some kind of api call or opening it in binary
but i dont think you can get text box values or labels by opening a file in binary.
Sorry I am not much help but I think you and I have the same problem and I have not received an answer that is helpful thus far... I want to call one project while I am in another project without including the code or the form in my current project. I have tried saving it as an exe file but it doesn't help. The Shell() function is helpful although it calls the file but includes all the buttons and form....
I think you'll find your answer exactly when avinash_sahay will succeed to get a form object from a window handle, for any VB 6.0 application: http://www.codeguru.com/forum/showth...12808#poststop
Somehow, I think the problems are related to the same issue, since you want the caption of your controls from the exe file. Moreover, you don't even want to run this exe, but to read the file and by "disassembling" it or something, to find what would become the caption at run-time of these controls.
Hmm, good luck
Thanks,
Its under the same catagory but not insactly what i want
the program i want to get info from doesn't open at all, it might open in binary or binary access read, i have this program it opens a another program with common dialog and when you click this button called read it fill these txtboxes and otion buttons ect with info thats inside the file we just opened , lets you change whats in the text boxes and save it so the program ypu opened is basicly recompiled.
It is possible because i have this program that does it, unfortantly theres no source code for it.
There are source codes ive downloaded that say they do this and look identical to this program but non of them work.
If you find anything other than whats already been posted about getting form controls PLEASE TELL ME!
thanks
Maybe would be better to share with us what program & source you have. Let us see for ourselves what is this software doing, because I think you're not explaining correctly what it does.
Why do you want to make your own version, if you already have this software?
I've carefully read the source you've posted. After browsing a file, gets assigned to F variable. The file pointer is set to position 0x1828 (in hex, the number of records from the beginning of the file, first being record 0). S will become the string found at that position, because the while loop ends when NULL char is encountered. If S is the char "1", some checkbox gets checked, else unchecked (supposely the meaning being that icq is used... by what... have no idea). Same weird thing from location 0x1A01, to (un)check another box showing if a password needs to be checked on a server (this is what I understand from the comments and object names). Next location: 0x1A03 to register a user (this is c_r_a_p already). And so on, and on, and on...
Finally, the file gets closed and the statusbar shows "Settings read."
There's nothing here showing that it's about an exe file, not saying about a VB project compiled output exe, nor about it's caption or textbox or other controls!
I think I've just waisted time here... again.
Good luck with this stuff (I see it as garbage).
Bye bye
Its for a R.A.T Remote Administrative Tool
its a program you use to access some elses computer over the internet
the server is the program you put on the computer you want to hack and it has all these commands programmed into, ie the things it can do
the sourcecode is called Edit server its used to read and change the server program so you can change it whatever way you like, the password is used to ensure that only you can hack their computer, the icq is a notify it sends a pager message to your uin telling you that the person you wanted to hack is online and also sends their ip address.
So thats what Edit Server does, and its all i'm missing
call it crap all you want, i think its a great program if it would just ****in work
it could also be a new way of protecting personnal data.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.