Thursday, March 06, 2008 6:02 AM
i am getting below error while upgrading from vb6 code to vb.net.
If CreateMSPProject = False Then
m_DumpFileName = oOpenPS.oDump.Create(ilocation:="PS_cMSPFactory.CreateMSPProject", iappendfilename1:=oOpenPS.oParameter.GetParam("ActionLogFileName", oOpenPS.InstallDirectory & "\Log\ActionLog.txt")) '----- End If
the error i am getting is
Reference required to assembly 'Interop.VBA, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' containing the type 'VBA.ErrObject'. Add one to your project.
Tuesday, March 11, 2008 11:08 AM
It indicates the oOpenPS object created in VBA is not available in VB.NET.
Please try adding reference to the Interop.VBA.dll to your project.
Project menu -> Add Reference -> Browser tab
The COM interop DLL is generated by Visual Studio.
VBA reference for C# and VB.NET
Hope someone gives you better responses.
Wednesday, January 26, 2011 1:25 PM:D fantastic work!!! thank you martin