Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Communications (http://www.xtremevbtalk.com/-net-communications/)
-   -   VB to HP Unix to run Shell scripts (http://www.xtremevbtalk.com/-net-communications/326496-vb-hp-unix-run-shell-scripts.html)

RM33 10-11-2013 02:00 PM

VB to HP Unix to run Shell scripts
 
Our group has a bunch of unix shell scripts that need to be run.

The goal is the create an easy to use VB.Net (2010) GUI interface that sends commands to Unix to run shell scripts. And get a return that tells the end user that the script ran successfully or capture error messages when it did not. I also need to pass parameters to the Unix scripts from VB.

At present the end users can not handle HP Unix. They say it is to hard. Our group will not buy an off the shelf 3RD party solution if there is one. So that means we have to do it ourselves. So we need to create a VB App for the end users.

What do I need to do to get the above done. Is it using socket programming? Telnet? Are they the same? Can you point me to some tutorials/examples that can get me started? I have tried to google it myself but I have gotten somewhat confused on which way to go with this.

Thanking you in advanced

AtmaWeapon 10-11-2013 02:49 PM

Personally? I'd run a web server on that Unix box and write a web application that runs the shell scripts. At least then I wouldn't have to muck about with figuring out how to write a communications protocol for the VB -> Unix communication, then a server that can run in Unix and execute the scripts, then the client to communicate with that server. I'd just have to worry about writing an HTML/Javascript/whatever the backend is application. Probably Ruby.

I'm just as inexperienced with it, but it sounds really difficult and I'd have to learn new things anyway so why not take the simpler of the two approaches?

RM33 10-13-2013 01:31 PM

Thanks for the reply.

Were I work the standard is VB, Oracle, Crystal Reports and HP Unix. Anything else is going away from the "the truth"

I would need some type of solution that can kick off Unix scripts that from VB or some other way that sticks to the Windows world.

Thanks for the help but Ruby will not be allowed were I work.


All times are GMT -6. The time now is 08:26 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.