Page 1 of 1
EventGhost in VisualBasic
Posted: Sun Dec 16, 2012 6:46 am
by hotdog
heyy there i have a question: is it possible to control EventGhost by VisualBasic? I need it to control my tv.
thanks
hotdog
Re: EventGhost in VisualBasic
Posted: Mon Dec 17, 2012 9:57 am
by Pako
Which kind of VB you have in mind?
Visual Basic (Visual Studio ...) OR VBScript (VBS) OR Visual Basic for Applications (VBA) ?
Pako
Re: EventGhost in VisualBasic
Posted: Fri Dec 21, 2012 1:33 pm
by EventGhost4ever
You have two possibilities of passing commands with any programming language to Eventghost: Either you pass your commands per command line call or you pass your commands per COM (Component Object Model).
It should be easy to call a programm per command line with VB. You can use these commands:
http://www.eventghost.org/docs/commandline.html.
The COM is more difficult, I have programmed an EventGhost interface in C#
viewtopic.php?f=10&t=3789&p=21939&hilit ... %23#p21939. This can be a good orientation for programming it in VB.
Re: EventGhost in VisualBasic
Posted: Fri Jan 04, 2013 7:43 pm
by etc6849
Awesome. Is the COM object accessible via vbscript?
Re: EventGhost in VisualBasic
Posted: Mon Jan 07, 2013 12:47 pm
by EventGhost4ever
The COM object is accessible via vbscript. In the internet, especially on the MSDN, are a lot of tutorials about the COM. But to use a command line command, which is called by the vbscript, is easier.
Re: EventGhost in VisualBasic
Posted: Thu Jan 10, 2013 12:59 am
by etc6849
Thanks! This is interesting.