|
-
Oct 29th, 1999, 09:38 AM
#1
Thread Starter
New Member
Hi,
I'm Mikyung Kim from South Korea.
I'm a programmer using VB6.0, and I got very big problem in my project.
I need to transfer a file made on client(PC, Win98) to the Unix Server.
But, that's not big one. I used the inet control with TCP protocol.
Then, I have to print that file through specific printer server.
However I couldn't execute 'lp' command on FTP connection.
How can I execute unix shell command using VB6.0 ?
Please, help me~ ! Thank you ...
-
Oct 29th, 1999, 11:43 AM
#2
Lively Member
hi
I don't know how u can exactly achive that... but have one suggestion.. u can create a shell in vb and after that you can send command to that shell. commands are there in MSDN. if u need anymore help pls feel free to ask.
Thank Manish
-
Oct 29th, 1999, 12:24 PM
#3
Thread Starter
New Member
Thanks for your reply..
Do you mean there's a command in VB to execute unix shell command ?
May I get more detail information?
I don't know what to do exactly.
Thanks.
[This message has been edited by mikyunga (edited 10-30-1999).]
-
Oct 29th, 1999, 03:31 PM
#4
Lively Member
hi
No there is no command for unix shell in Vb what i am trying to say is, that u can chear a shell under MSVDM and thruwhich u can commect to unix....and like u can execute command in that window u can also send commands to that window.
the command is SHELL.
Thanx Manish
-
Oct 29th, 1999, 09:17 PM
#5
Member
Hey- This may not be what you want, but...
You can try to connect to the computer w/ the winsock control on port 23(telnet) and login then you can execute whatever commands you need.
Hope this helped...
Thnx For Your Time,
CarlosTheJackal
-
Nov 1st, 1999, 02:05 AM
#6
Delphi 5 is what you want. Code apps in windows and compile them into unix/linix app.
-
Oct 1st, 2000, 05:56 AM
#7
Lively Member
just use the telnet control to connect, wait for the login and password prompts.. then issue 'lp' with the appropriate parameters as if you had logged in yourself.
Daniel Rose
VB 5.0 Enterprise.
irc:irc2.dynam.ac
If TheCodeInTheSig() Is Not Lame() Then IDontKnowWhatIs()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|