vovan wrote:
> My VB6 application uses DLL developed in VB2005.
That's brave of you.
> It may be changed very often and everytime VB6 application unregisters
> an old version, replaces with a new one and registers a new version by
> using RegAsm.exe
Your program should be running as a "User".
To install anything (and regasm is "installing" COM types), you require
the incredible, super-human abilities of "Vista-Administrator-Man" ...
or "-Lady" ...
or "-Cat" ...
and let's face it; our feline friends stand about as much chance as the
rest of us to get anything running properly on this darn O/S.
> I'm doing it this way:
> Shell "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe " &
> """" & strAppPath & "\WorkorderXML.dll" & """"
Doesn't matter how you do it; it won't work for a mere Mortal.
> On Windows XP it works fine. On Vista the registration fails without any
> message.
It's probably trying to write the error somewhere, but doesn't have the
permissions to do so! ;-)
Regards,
Phill W.
|