Just put up a test application. When trying to execute that app in another
computer I get the following error :
>File or assembly name wmppia, or one of its >dependencies, was not found.
Should I register the PIA in any computer where I want to run an application
that includes de WMP control ? Or else what are the steps that I should
follow in order to make it work properly ?
Bests,
Sergio
I set up my installer to "Register" the COM component, and place it in the
Global Assembly Cache (GAC). But it still didn't work. Now this may seem
obvious but I realized I needed Window Media Player 9 & Direct X 9
installed. Once I had those 2 items installed (along with the Framework),
everything worked ok.
But for testing you can manually register & install wmpia.dll on the target
machine:
1. On the target machine use 'regasm.exe'. This comes with your Framework
and can be found (usually at):
C:\Windows\Microsoft.Net\Framework\1.1.4xxx\regasm.exe.
2. at a command line, type: regasm C:\Program
Files\LocationOfApplication\wmppia.dll
3. Now we need to install wmppia in the GAC. Search your Visual Studio (I
hope you are using it) directories for gacutil.exe. Then at a comman line
type: gacutil /i C:\Program Files\LocationOfApplication\wmppia.dll
4. Go check the GAC (C:\Windows\Assembly\GAC), and see if it's there.
Your app should run now. But if you ever uninstall the program, it will
leave the wmppia.dll on the system.. So when done, you should probubly
unregister the component and remove it from the GAC. I don't know if you
install over this later if it would cause problems.
If you need help with setting up the installer, drop me an email and I'll
send you a more detailed outline of how to do it.
Good luck
"sergi" <se...@tmtfactory.com> wrote in message
news:ewPMIHtr...@TK2MSFTNGP10.phx.gbl...
"Jim" <tranzp...@yahoo.com> wrote in message
news:uNW28A8r...@TK2MSFTNGP09.phx.gbl...