Wrox Programmer Forums
|
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2012, 02:26 PM
Registered User
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using DLL

Hi,

I am trying to create a dll in .net c# (windows 7) and want to use it in a virtual XP machine on VB6 application. I can use the dll in windows 7 another .net application. I can also see the dll (now tib) in the VB6 object browser with the methods. Also I can see the methods in the drop down when I am writing the code.

I am getting the runtime error 429 when running the VB6 app.please advise what I have to do to use it.

Thanks,
Saimanti
 
Old August 11th, 2012, 01:37 PM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

Probably the .NET DLL cannot be found. Did you install the DLL in the GAC?
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel
 
Old August 19th, 2012, 11:03 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Did you get a TLB file which can be added from the References. I have tried using a .NET DLL in VBA (not VB6.0); But it should be similar

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old August 20th, 2012, 09:07 AM
Registered User
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It worked. I just had to delete the older vertion from assembly and created a new one.

Thanks,
Saimanti





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to load DLL 'webengine.dll': The specified module could not be found??? Ron Howerton ASP.NET 2.0 Professional 2 September 2nd, 2009 01:09 PM
convert unmanaged dll to managed dll nitesh kumar Visual C++ 2005 0 August 4th, 2008 04:53 AM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
How to convert .NET dll to COM dll used by VB 6.0 gvprashanth .NET Framework 1.x 0 December 4th, 2006 05:05 AM
DLL & Excel - keep having to reset DLL reference! James Diamond Pro VB 6 2 May 25th, 2004 03:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.