Solved

Calling Unix command from Visual Basic Button Click

Posted on 2003-10-31
3
244 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

733 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