Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


How to make vbscript interact with custom exe?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,42550
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to make vbscript interact with custom exe?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 How to make vbscript interact with custom exe? - 1/28/2007 6:51:13 AM   
  bodyboarder20

 

Posts: 3
Score: 0
Joined: 1/28/2007
Status: offline
So I'm creating a console to house a bunch of vbscripts that we create to help with the administration of our network.

The console will be updatable for the addition of new scripts and customizable menus and such.

The one thing that I would like though, is for the vbscript to be able to easily interact with the console app.  Im probably going to create the app in C++ or C#.

I'd like for scripts to be able to send output statements and requests from the user to the app and have the app process these requests.

Any ideas on what is needed to make the app have this sort of interaction with the script?

Thanks!
 
 
Post #: 1
 
 RE: How to make vbscript interact with custom exe? - 1/28/2007 7:22:28 PM   
  TNO


Posts: 1400
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: online
Unless you create a dll with public API methods, you'll have to use the SendKeys method. I think VB.NET is the best language to create dll's with in regars to this application. My personal preference is to use windows script components and compiled JScript.

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to bodyboarder20)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to make vbscript interact with custom exe? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts