Hi, as the title says i want to know how to connect my program in vb with an external program... for example i make a program in vb and i want to connect it with google chrome
thanks!
6 replies to this topic
#1
Posted 27 December 2011 - 02:29 PM
|
|
|
#2
Posted 27 December 2011 - 02:36 PM
It entirely depends on what you want to do. The program likely is not written to allow external control over it (i.e. an API for manipulating browser functioning) and you will have to manually use the Win32 API to manipulate the browser. If settings are involved, you could likely change those with an external program. It depends.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 27 December 2011 - 02:39 PM
Alexander said:
It entirely depends on what you want to do. The program likely is not written to allow external control over it (i.e. an API for manipulating browser functioning) and you will have to manually use the Win32 API to manipulate the browser. If settings are involved, you could likely change those with an external program. It depends.
What i really want to make is a program that controls your mouse and keyboard to play automatically a game (Im really trying to learn how) thats why im asking, so if there is any chance to link my program (made in visual basic) to use the game functions i would appreciate if you tell me how, or if there is any other program better than visual basic to do this.
Thank you again and as i said im trying to make it thats why im researching some information about this
#4
Posted 27 December 2011 - 03:03 PM
You would have to hook in to the Window with the Windows API, and perform various checks to do this. If your game requires predetermined clicking or typing, you could always use a macro program or scripting language (i.e. AutoIT, a popular choice) and it may even provide accurate timing. This will require a fair amount of work either way however, something such as AutoIT would greatly ease the functioning of the program.
Alexander.
Alexander.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 27 December 2011 - 03:09 PM
Alexander said:
You would have to hook in to the Window with the Windows API, and perform various checks to do this. If your game requires predetermined clicking or typing, you could always use a macro program or scripting language (i.e. AutoIT, a popular choice) and it may even provide accurate timing. This will require a fair amount of work either way however, something such as AutoIT would greatly ease the functioning of the program.
Alexander.
Alexander.
Thank you for your fast response.
#6
Posted 27 December 2011 - 03:31 PM
Last 2 questions, if i use AutoIT it inject packages to the client? do u have any tutorial for it?
Thanks for your fast response! :)
Thanks for your fast response! :)
#7
Posted 27 December 2011 - 04:27 PM
Jesusz0r said:
Last 2 questions, if i use AutoIT it inject packages to the client? do u have any tutorial for it?
Thanks for your fast response! :)
Thanks for your fast response! :)
It'll hook on to the process, it will not modify the original executable. As for tutorials I've not needed to do something with it in many many years, I am sure there are quite a few online.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users


Sign In
Create Account

Back to top









