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?
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
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:
Summary: Hi, Is there any way of executing Unix commands in "cmd"? I would have liked to have used the "find" or "findstr" command but it does not exist on my system. Also what is the DOS alternative for "awk"...
Summary: here is a problem in opening Visual basic6 form using Ms Access2000 for Database. I open my Access file in exclusive mode and then set a password on it.Now when i run my Vb6 application it shows my an...