Solved

Excel VB.net: VSTO vs .NET DLLs

Posted on 2013-02-05
5
440 Views
Last Modified: 2013-02-07
Hi

I develop VB.net Excel applications. I am currently on a project where an Excel spreadsheet containing thousands of lines of VBA has to be protected and moved over to VB.net. I want to used an Excel 2007 spreadsheet application while another developer says he wants to rather build a set of .net DLLs for it. What is the difference and what are the pros and cons
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 333 total points
ID: 38858382
using separate .net dlls allows you to modify them in the future without the need to rebuild the whole excel application.
if the dlls are the heart and soul of your application it's a very good idea.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 167 total points
ID: 38858891
DLLs would make it possible for you to reuse business and other common logic in other projects(for example winforms) if you need to.
0
 

Author Comment

by:murbro
ID: 38862863
Any cons concerning dlls
0
 
LVL 42

Assisted Solution

by:sedgwick
sedgwick earned 333 total points
ID: 38862939
the cons rises when u deal with different target platform (32/64 bit) or cross platform application.
in those cases its easy to have everything in a single executable and not dealing with marshaled data and being required to have 2 sets of dll's, 32bit and 64bit (although it hardlt ever happens).
overall, i can't think of a real reason not to use dlls.
another (big) advantage is unit testing.
when dealing with complicated business model, its easier to create test project which separately tests one or more dlls without running the whole application.
0
 

Author Closing Comment

by:murbro
ID: 38863053
Thanks very much for the help
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question