Solved

Calling Unix command from Visual Basic Button Click

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

778 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