Click here to Skip to main content
15,906,333 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create BLL(Business Logic Layer) & DAL(Data Access Layer) in VS2008 using C#, compile it to dll. Then I can use the classes in the dll by add it to the VBAProject.

Can someone help me? tell me how to do or give me some reference, thanks!
Posted

1 solution

This[^] article shows you how to do this very thing.
 
Share this answer
 
Comments
Abdul Quader Mamun 13-Aug-12 11:32am    
easy Answer!
[no name] 13-Aug-12 17:23pm    
I will take easy! :-) Thanks.
Sergey Alexandrovich Kryukov 13-Aug-12 17:19pm    
5ed.
--SA
[no name] 13-Aug-12 17:23pm    
Thanks Sergey
virusx1984 13-Aug-12 19:18pm    
I create the dll as the article, and it run the correct result. But I can't see the Members of class in Object Browser of VBE of Excel. I just can see the SimpleCalc Library and the Calc class. The SetNumberOne method , SetNumberTwo method and the Add method are both not show, any solution?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900