Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9190697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:31:19+00:00 2026-06-17T20:31:19+00:00

i am searching for weeks now, and eventually joined lots of forums because i

  • 0

i am searching for weeks now, and eventually joined lots of forums because i can’t seem to find a way in finding help for the code i want. don’t know the right term on how to search this.
here is what i want to achieve, new to VB6, i have discovered the shell function to run a specific program, but what i want is,
to run a program to a certain pc.
for example,
shell (“//pc-9pc//directory/sample.exe”)
when i run it, the exe file runs in my computer, what i want is for it to run in pc9.

is there a solution for this? is it under shell method?
pls help. i really need to create this for my project.
i’ve also seen winsock, but it seems that its only capable of chatting.
thanks cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:31:20+00:00Added an answer on June 17, 2026 at 8:31 pm

    UPDATE: Attached is a sample of Server/Client Winsock with capability of executing a program remotely (both source code and executable included in the file)

    http://dl.dropbox.com/u/14773478/SERVER_CLIENT.zip

    Shell will only execute a program on the local machine.

    If you need to execute a program remotely then you will need some sort of peer-to-peer programming to tell the other peer to (execute) a certain program. Winsock is a perfect example of how you would achieve that.

    Create a server version of Winsock and set it to start listening to a connection request over a certain port. Then create a client version on your local pc and set it to connect to the remote IP or hostname on the selected port number.

    After the connection is made, there is no limit to what you can do afterwards. You can program the server side socket to wait for messages like “Shell c:\program\file.exe” or something you define and customize to your needs. The server side then picks up the message and executes the program.

    To help you with your requirement, I have done something like that, using only WinSock controls. I advise you to research more on Sockets, try to set up a chat program first. If you succeeded in that, then you are ready to move on to executing programs remotely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been searching online for weeks now, but I can't find any answer or
I have been searching the net for some weeks now and can't find a
i've been searching and trying for weeks now to find a solution to my
I've been searching online for weeks now for a decent tutorial to help me
searching around trying to find a way to add index on suffix of a
I have been searching a bug for weeks now - and finally could locate
I am now searching for 2 weeks about this problem and seems that I
I've been searching for like 1 hour now an I can't remember. A few
I have been searching for literally weeks to try to find an answer, or
I'm a novice. I've searched Stackoverflow for weeks trying to find code for an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.