Computing.Net > Forums > Programming > HOW CAN I RUN UNIX COMMANDS in VB6?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

HOW CAN I RUN UNIX COMMANDS in VB6?

Reply to Message Icon

Name: puneetbedi
Date: April 30, 2006 at 01:27:54 Pacific
OS: WIN xp
CPU/Ram: PIII & 128
Product: INTEL
Comment:

HOW CAN I RUN UNIX COMMANDS in VB6?
i have started TELNET using APPACTIVATE
and Shell function
how can i login into the telnet using vb6 ?

call me on Puneet 9821308954
email me puneetpalbedi@gmail.com




Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: April 30, 2006 at 10:07:02 Pacific
Reply:

You cant run Unix commands under VB6. VB6 runs under Windows and knows nothing of Unix.

However, you can still run an Telenet applcation with VB6. Use the SendKeys function to send commands to the Telnet application once you have Telnet up and running. The commands you can send are determined by the host you wish to log onto.

for example, a lot of Telnet hosts will accept the string "login;username;password" as a single string and log you in with that.

Stuart


0

Response Number 2
Name: SamRock
Date: May 29, 2006 at 03:00:57 Pacific
Reply:

Hi,

I m sorry I disagree with StuartS!!

U can connect to UNIX from VB6 and run all commands too!!

The answer is Winsock. Its complicated to discuss here. You can check the below URL for loads of Winsock, Telnet examples:

http://www.vbip.com/winsock/index.asp

Samuel Roshan


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: HOW CAN I RUN UNIX COMMANDS in VB6?

How can i finish B(Bad Sector) at m www.computing.net/answers/programming/how-can-i-finish-bbad-sector-at-m/3100.html

Unix commands in Command prompt? www.computing.net/answers/programming/unix-commands-in-command-prompt/15282.html

Ms Access Password problem in VB6 www.computing.net/answers/programming/ms-access-password-problem-in-vb6/10975.html