Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old September 7th, 2008, 04:25 AM
John O'Flaherty
Guest
 
Posts: n/a
Default Invoking a program on a networked machine

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
  #2  
Old September 7th, 2008, 01:45 PM
bhicks11 via AccessMonster.com
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

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:
Quote:
>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

  #3  
Old September 7th, 2008, 06:05 PM
John O'Flaherty
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

On Sun, 07 Sep 2008 12:37:06 GMT, "bhicks11 via AccessMonster.com"
<u44327@uwewrote:
Quote:
>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
  #4  
Old September 7th, 2008, 07:35 PM
bhicks11 via AccessMonster.com
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

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:
Quote:
Quote:
>>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

  #5  
Old September 8th, 2008, 01:35 AM
John O'Flaherty
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

On Sun, 07 Sep 2008 18:33:55 GMT, "bhicks11 via AccessMonster.com"
<u44327@uwewrote:
Quote:
>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
  #6  
Old September 8th, 2008, 10:35 PM
John O'Flaherty
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

On Sun, 07 Sep 2008 19:34:22 -0500, John O'Flaherty
<quiasmox@yeeha.comwrote:
Quote:
>On Sun, 07 Sep 2008 18:33:55 GMT, "bhicks11 via AccessMonster.com"
><u44327@uwewrote:
>
Quote:
>>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
  #7  
Old September 9th, 2008, 01:55 AM
bhicks11 via AccessMonster.com
Guest
 
Posts: n/a
Default Re: Invoking a program on a networked machine

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:
Quote:
Quote:
Quote:
>>>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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles