Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2004

Tip: Looking for answers? Try searching our database.

How do I make a PIA for VBA?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Porter - 11 Aug 2004 08:34 GMT
Is there a step-by-step description for makeing VBA and VBRUN PIAs anywhere?
Documentation suggests that only the publisher of the original DLLs can
produce PIAs, and this is born out by my attempts.  However, I have seen on
various Web sites, people suggesting that they have succeeded in producing
such.

Here's what I did.

> tlbimp /primary "c:\windows\system32\msvbvm60.dll" /out:Interop.VBA.dll
/keycontainer:<keyContainer>  /sysarray
> regasm Interop.VBA.dll

All seems fine (even to the point that if I repeat this, I get an warning
telling me that a PIA is already registered for VBA).

And then do the following:

> tlbimp /primary "c:\directory\eric.dll" /out:Interop.Eric.dll
/Keycontainer:<keyContainer> /sysarray

I get the following error:

TlbImp error: System.ApplicationException - Assembly 'Interop.VBA' which is
registered as the primary interop assembly for type library 'Interop.VBA' is
not actually a primary interop assembly.

Regards
Eric
rfmount - 21 Sep 2004 16:07 GMT
Eric, did you obain any more information about this?  Will MS provide a PIA
for VBA?

> Is there a step-by-step description for makeing VBA and VBRUN PIAs anywhere?
> Documentation suggests that only the publisher of the original DLLs can
[quoted text clipped - 24 lines]
> Regards
> Eric

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.