Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Developing custom secure Excel add-ins

Hi all

I must develop custom Excel add-ins for clients. These need to be secure and
speed of execution is often a requirement. VBA is thus not always an option
to use. I want to create XLL files but I read somewhere this is not really
the way forward.

So, what development platform should I use to develop Excel add-ins?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Developing custom secure Excel add-ins

Create COM add-ins using Visual Basic.

http://msdn.microsoft.com/library/de.../comaddins.asp
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Bliksem" wrote in message
...
Hi all

I must develop custom Excel add-ins for clients. These need to be secure

and
speed of execution is often a requirement. VBA is thus not always an

option
to use. I want to create XLL files but I read somewhere this is not really
the way forward.

So, what development platform should I use to develop Excel add-ins?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Developing custom secure Excel add-ins

If you have the Developer's Edition of Excel, or Visual Basic 6,
you can write a COM Add-In, which is essentially a DLL file. If
you are using Excel 2003 and have Visual Studio 2003, you can
write a VSTO (Visual Studio For Office) project linked to your
workbook.



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bliksem" wrote in message
...
Hi all

I must develop custom Excel add-ins for clients. These need to
be secure and
speed of execution is often a requirement. VBA is thus not
always an option
to use. I want to create XLL files but I read somewhere this is
not really
the way forward.

So, what development platform should I use to develop Excel
add-ins?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Developing custom secure Excel add-ins

Thank you

"Chip Pearson" wrote:

If you have the Developer's Edition of Excel, or Visual Basic 6,
you can write a COM Add-In, which is essentially a DLL file. If
you are using Excel 2003 and have Visual Studio 2003, you can
write a VSTO (Visual Studio For Office) project linked to your
workbook.



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bliksem" wrote in message
...
Hi all

I must develop custom Excel add-ins for clients. These need to
be secure and
speed of execution is often a requirement. VBA is thus not
always an option
to use. I want to create XLL files but I read somewhere this is
not really
the way forward.

So, what development platform should I use to develop Excel
add-ins?

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Developing custom secure Excel add-ins

COM addins are not always faster that VBA addins, especially resolving
references to excel object(like ranges) can actually be *slower*. Do
not expect to see much improvement there. internal processing could be
faster though

That said COM Addins are far more secure.

XLL addins are only useful for creating custom *worksheet* functions
that need to be compatible with Excel 2000 and earlier(2002 and later
can have COM Addin worksheet functions). XLL worksheet functions *are*
fast however. Creating XLL's is an art in itself since they are basicly
modified DLL libraries usually written in C/C++.

DM Unseen



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Developing custom secure Excel add-ins

Thanks for the answer. So, if I understand you correctly, if I want to
develop worksheet functions and speed is an issue, I should create XLLs, even
for Excel 2002/2003?

However, if speed is not an issue, COM add-ins are better?

"DM Unseen" wrote:

COM addins are not always faster that VBA addins, especially resolving
references to excel object(like ranges) can actually be *slower*. Do
not expect to see much improvement there. internal processing could be
faster though

That said COM Addins are far more secure.

XLL addins are only useful for creating custom *worksheet* functions
that need to be compatible with Excel 2000 and earlier(2002 and later
can have COM Addin worksheet functions). XLL worksheet functions *are*
fast however. Creating XLL's is an art in itself since they are basicly
modified DLL libraries usually written in C/C++.

DM Unseen


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Developing custom secure Excel add-ins

Thanks for the answer. So, if I understand you correctly, if I want to
develop worksheet functions and speed is an issue, I should create XLLs, even
for Excel 2002/2003?


yes( although maybe asking someone to develop them for you would be a
better option, this knowledge is rapidly fading from the XL community
:(

However, if speed is not an issue, COM add-ins are better?


Yes

Dm unseen

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Developing custom secure Excel add-ins

OK. So, if developing XLLs are fading from the radar screen, and speed is an
issue, what development platform should one use to create worksheet function
add-ins?

Thanks


"DM Unseen" wrote:

Thanks for the answer. So, if I understand you correctly, if I want to
develop worksheet functions and speed is an issue, I should create XLLs, even
for Excel 2002/2003?


yes( although maybe asking someone to develop them for you would be a
better option, this knowledge is rapidly fading from the XL community
:(

However, if speed is not an issue, COM add-ins are better?


Yes

Dm unseen


  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Developing custom secure Excel add-ins

If XLL is no option, COM will do, as will VBA for that matter.

I would suggest start prototyping with VBA and look how fast it is. COM
will not do a lot better unless some internal calculations can be
optimized. This depends on the type of calcuation. VBA can be protected
from endusers, just not from XL pro's;).
To prevent code misuse you can scramble your VBA code, this will really
deter code stealers! Porting from VBA to VB COM addins is not that
difficult, so you can always do this when it is required.

DM Unseen

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Developing custom secure Excel add-ins

On a slightly related topic, I'm new to .NET and want to expose some C++
classes for use within VBA in Excel. What is the best way to accomplish this
(COM, for example)?

"DM Unseen" wrote:

If XLL is no option, COM will do, as will VBA for that matter.

I would suggest start prototyping with VBA and look how fast it is. COM
will not do a lot better unless some internal calculations can be
optimized. This depends on the type of calcuation. VBA can be protected
from endusers, just not from XL pro's;).
To prevent code misuse you can scramble your VBA code, this will really
deter code stealers! Porting from VBA to VB COM addins is not that
difficult, so you can always do this when it is required.

DM Unseen




  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Developing custom secure Excel add-ins

if you have pure C++ classes you need to create a Type library that
exposes your C++ library as a COM/Automation library.

..NET classes can be used within VB(A) by generating a COM wrapper for
them. This can be generated withen VS.NET.

DM Unseen

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - how to se Secure FTP Ve.Bala Excel Discussion (Misc queries) 1 July 25th 09 09:56 PM
Developing custom chart add-in Ram Shriram Charts and Charting in Excel 2 July 4th 05 05:14 PM
How do i secure my excel with a password? Ola Excel Discussion (Misc queries) 1 February 20th 05 12:34 PM
Developing TEXT scrambler kind of FUNCTIONS in Excel Hari Prasadh Excel Programming 8 January 21st 05 08:30 AM
Excel spreadsheet/template for developing a retail price calculation breeze Excel Programming 5 July 29th 04 08:19 PM


All times are GMT +1. The time now is 02:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"