Solved

Calling Unix command from Visual Basic Button Click

Posted on 2003-10-31
3
245 Views
Last Modified: 2013-11-25
Hi all

help 4 calling a unix command in a server from Visual Basic Client

I have been developing softwate using informix on SCO UNIX platform. After compilation informix produces *.4ge program. It will work like as any unix command. and if i am running *.4ge program from server, it produces some reports. That I can display in windows client by using ftp.

From server I can get reports to windows client using ftp.

Now I am designing some gui in Visual Basic. and my question is how can i run that unix command when the user click a button from windows client to show the report in the windows client itself ?.

tanks in advance

gafoor
0
Comment
Question by:gafoor_mukkam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 300 total points
ID: 9657177
SCO Unix has an rexec daemon running on port 512 for remotely executing commands. Check out this example:

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=14618&lngWId=1
0
 

Author Comment

by:gafoor_mukkam
ID: 9663095
Thanx vinnyd.....:)

i will check and get u back soon

gafoor mukkam
0
 

Author Comment

by:gafoor_mukkam
ID: 9740980
hi vinnyd79

thank u so much, that worked gr8

i was bit late to test the code with my application. but now i am awarding u the maximum.

rgrds
gafppr
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question