?
Solved

Calling Unix command from Visual Basic Button Click

Posted on 2003-10-31
3
Medium Priority
?
248 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 1200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

864 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