473,471 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

run a program from a server

6 New Member
hello, i badly need u guys, i want to as you about codes in which i will be able to run a program to another computer and launch it there too.
for example, i got server and pc1. assuming that the exe is on pc1 and the launch program is on server. when i click the command button in server, exe in pc1 launches in pc1 also.

is there any code for that? i tried shell, but when i do, it runs on the server. lol is there any way to make the program run on that pc1?
thanks in advance, im using vb6.
its for my project, so pls help :)
Jan 23 '13 #1
9 2255
Rabbit
12,516 Recognized Expert Moderator MVP
This is not a code writing service but if you post the code you've tried along with a description of the problem, we can help guide you to a solution.

As a hint, you can use WMI to remotely run programs on other Windows machines. Assuming you have remote admin access of course.
Jan 23 '13 #2
loloko29
6 New Member
hi, its the first time i have heard WMI, and i still don't have a code for that, what i am thinking is
Shell ("c:\users\blah blah")
but when i run it, it runs in my pc, not in the pc that i wanted it to run, can this shell function do what i want?
still thanks for the reply. :)
Jan 25 '13 #3
Rabbit
12,516 Recognized Expert Moderator MVP
You can't use the a shell command to do that. You might be able to run and automate a telnet session to do it but I believe telnet connections are blocked by default. Or you can read up on using WMI.
Jan 25 '13 #4
loloko29
6 New Member
can you give me an example code of WMI and what it can do, sorry, i cannot clearly understand what's on the net. lol
Jan 26 '13 #5
loloko29
6 New Member
also, i've seen some WMI codes, and as i can see, its only for getting the hardware specifications of a computer, and its not what i need.
Jan 26 '13 #6
Rabbit
12,516 Recognized Expert Moderator MVP
WMI is more than getting information. It allows for remote management of computers. Including what you're trying to do.
Jan 26 '13 #7
loloko29
6 New Member
can you link me to that site? i can't find a tutorial like website about WMI, its for VB6 right?
Jan 26 '13 #8
Benniit
54 New Member
If i understood your question well, u want a connection to a remote server so that u can run your program from another compuer, isn't it?
If so, if u are using sql server or access u need to write the connection or datalink properties to the systems registry. So, when u launch the program from your computer, it picks the connection values from your system and then connects to the remote server. Ben
Jan 26 '13 #9
loloko29
6 New Member
thanks for the effort of the two of you, but i got it now, through the use of winsock + shell. thanks anyway :)
Jan 26 '13 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
23
by: BlackHawke | last post by:
Hello! This is my second post. Ppl really helped me with the first. I hope there are answers for this one as well I own a game company (www.aepoxgames.net) releasing the beta for our first...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
4
by: linuxpld | last post by:
Hello I`m writing a program (server in future) in python. I would like to write it in such a way that I will be able to write gui in any language and connect to my python program and use...
18
by: UJ | last post by:
Folks, We provide custom content for our customers. Currently we put the files on our server and people have a program we provide that will download the files. These files are usually SWF, HTML or...
5
by: Peter Michaux | last post by:
Hi, I might be turning a corner today and seeing the light. I might still be confused :) If JavaScript is the language for the browser then why do servers use Ruby/Rails, Perl/Catalyst,...
5
by: Jens | last post by:
Hello, I have been looking for some C-code which listens on a user-defined port for incoming data traffic. When data is received, the data is written to a file. I found some C-code (server)...
0
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
I have a testing client program, the purpose is send a xml file to a server program, and the server return another xml message. So I wrote a testing server program the simple one and make sure the...
1
by: Adem24 | last post by:
How would one program a sandbox? Let's say the server and all clients have the same architecture, and environment (for example 32bit x86-Linux environment). The server shall offer sandbox...
0
by: bushramemon | last post by:
hello,,now i m working on multi-threaded client server socket program in which there is one server and multiple clients.........these both are just giving acknowledge to each other that server...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.