?
Solved

Calling Unix command from Visual Basic Button Click

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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