By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,806 Members | 1,490 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,806 IT Pros & Developers. It's quick & easy.

Invoking a program on a networked machine

P: n/a
Hello.
I have an ms acess database that I use to track my mp3 files. I have
included code that lets me select and play files by invoking an mp3
player (Winamp). This is done by using visual basic command "shell
c:\winamp\winamp.exe blah-blah.mp3". It works nicely.
I can use this database from a laptop, either by copying the .mdb
file to the laptop or by clicking a shortcut that points to the .mdb
file on the main machine. The file play feature doesn't work from the
laptop. I have incorporated the correct network reference to find the
file, e.g., \\mainmachine\c\blah-blah.mp3, and the lookup works, even
getting the full .mp3 filename by a directory lookup on the main
machine.
What doesn't work is invoking the player on the main machine from the
laptop: shell("\\mainmachine\c\winamp\winamp.exe")
Is this an impossible thing to do, or is there a way for me to start
a program on a networked machine from my laptop?
Thanks for any suggestions.
--
John
Sep 7 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
A laptop is a PC - no difference to the network. What else if different from
the other PC? Maybe winamp needs to be configured/installed on the laptop
before it will work?

Bonnie
http://www.dataplus-svc.com

John O'Flaherty wrote:
>Hello.
I have an ms acess database that I use to track my mp3 files. I have
included code that lets me select and play files by invoking an mp3
player (Winamp). This is done by using visual basic command "shell
c:\winamp\winamp.exe blah-blah.mp3". It works nicely.
I can use this database from a laptop, either by copying the .mdb
file to the laptop or by clicking a shortcut that points to the .mdb
file on the main machine. The file play feature doesn't work from the
laptop. I have incorporated the correct network reference to find the
file, e.g., \\mainmachine\c\blah-blah.mp3, and the lookup works, even
getting the full .mp3 filename by a directory lookup on the main
machine.
What doesn't work is invoking the player on the main machine from the
laptop: shell("\\mainmachine\c\winamp\winamp.exe")
Is this an impossible thing to do, or is there a way for me to start
a program on a networked machine from my laptop?
Thanks for any suggestions.
--
Message posted via http://www.accessmonster.com

Sep 7 '08 #2

P: n/a
On Sun, 07 Sep 2008 12:37:06 GMT, "bhicks11 via AccessMonster.com"
<u44327@uwewrote:
>A laptop is a PC - no difference to the network. What else if different from
the other PC? Maybe winamp needs to be configured/installed on the laptop
before it will work?
Running it on the laptop isn't what I need. The basic problem is that
I want to play the files through the quality sound card on my desktop,
which is hard-wired to my hi-fi system and speakers, while using the
laptop as a wireless remote from my couch. I've been trying to think
of some kind of monitor program that could be left running on the
desktop, capable of starting winamp there, which I could signal from
the laptop, but it would be lots simpler if there was something built
into windows to shell a program remotely.
--
John
Sep 7 '08 #3

P: n/a
Sounds like a "Remote Desktop Connection" and it is built into Windows. You
would need to post to a Windows forum for help on setting it up.

Bonnie
http://www.dataplus-svc.com

John O'Flaherty wrote:
>>A laptop is a PC - no difference to the network. What else if different from
the other PC? Maybe winamp needs to be configured/installed on the laptop
before it will work?

Running it on the laptop isn't what I need. The basic problem is that
I want to play the files through the quality sound card on my desktop,
which is hard-wired to my hi-fi system and speakers, while using the
laptop as a wireless remote from my couch. I've been trying to think
of some kind of monitor program that could be left running on the
desktop, capable of starting winamp there, which I could signal from
the laptop, but it would be lots simpler if there was something built
into windows to shell a program remotely.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200809/1

Sep 7 '08 #4

P: n/a
On Sun, 07 Sep 2008 18:33:55 GMT, "bhicks11 via AccessMonster.com"
<u44327@uwewrote:
>Sounds like a "Remote Desktop Connection" and it is built into Windows. You
would need to post to a Windows forum for help on setting it up.

Thanks for the idea. I'll look into it.
--
John
Sep 8 '08 #5

P: n/a
On Sun, 07 Sep 2008 19:34:22 -0500, John O'Flaherty
<qu******@yeeha.comwrote:
>On Sun, 07 Sep 2008 18:33:55 GMT, "bhicks11 via AccessMonster.com"
<u44327@uwewrote:
>>Sounds like a "Remote Desktop Connection" and it is built into Windows. You
would need to post to a Windows forum for help on setting it up.


Thanks for the idea. I'll look into it.
That "Remote Desktop Connection" seems to be a way to take over a
computer entirely, locking out any use from the main computer while
it's effective. I ran into something simpler by googling, and it looks
as if it will work...
http://www.codeproject.com/KB/system/remoteexec.aspx
in case anyone else might need it.

--
John
Sep 8 '08 #6

P: n/a
Thanks John - I wasn't aware of that little number. I'll keep it in mind for
surely it will serve a purpose sometime.

Bonnie
http://www.dataplus-svc.com

John O'Flaherty wrote:
>>>Sounds like a "Remote Desktop Connection" and it is built into Windows. You
would need to post to a Windows forum for help on setting it up.

Thanks for the idea. I'll look into it.

That "Remote Desktop Connection" seems to be a way to take over a
computer entirely, locking out any use from the main computer while
it's effective. I ran into something simpler by googling, and it looks
as if it will work...
http://www.codeproject.com/KB/system/remoteexec.aspx
in case anyone else might need it.
--
Message posted via http://www.accessmonster.com

Sep 9 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.