Notices



Reply
 
LinkBack Thread Tools Display Modes

Old 05-12-2008, 08:45 AM   #1 (permalink)
Junior Member

Join Date: Feb 2008
Location: Waterloo, Ontario, Canada
Posts: 24
Downloads: 5
Uploads: 0
Rep Power: 0 nhenriqu is on a distinguished road

Question VBA vs VBA (VB .Net) dlls - best practices for deployment

We are looking for suggestions or best practices regarding the deployment of custom solutions for RE in the form of VBA or dlls created from VBA and/or VB .Net. We have a number of customizations that we are developing both in RE ( VBA ) and outside of RE ( API using VB .Net) for RE 7.83+. We have approx. 125-150 workstations and use GPO for centralized deployment.

Code developed for the runtime VBA envrionment can be easily be deployed, but there are many cases in which 'similar logic or functions' are used in our externally custom applications (i.e. run outside of RE) and we are considering a 'shared code' approach through complied dll's (in VBA or VB. Net).
The challenge with dll's is of course deployment ... and I wondered if anyone had anything suggestions, experience or thoughts regarding best practices or advice that we may consider.
Thx
Nigel
__________________
Nigel Henriques
Assoc. Director of Systems
Office of Development Services
University of Waterloo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 05-12-2008, 09:19 AM   #2 (permalink)
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 421
Downloads: 6
Uploads: 0
Rep Power: 3 DavidZ is on a distinguished road

This is a good question and one that I went some way addressing in a blog post: RE-Decoded » Blog Archive » VBA: Inside or Out? . However I didn't really cover much in the way of deployment.

I would add this. If you create a VS2005 install project you can put your dll there and customise the deployment. You then create an msi install file that can be distributed throughout your organisation either through group policy. This is how I deploy all my new plugins or VBA modules whether they are VBA, VB6 or VB.NET and it works really well.

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 05-14-2008, 10:03 AM   #3 (permalink)
Junior Member

Join Date: Feb 2008
Location: Waterloo, Ontario, Canada
Posts: 24
Downloads: 5
Uploads: 0
Rep Power: 0 nhenriqu is on a distinguished road

Thanks David,
This confirms my thought that we can develop our "shared" code in VB .Net (VS 2005/08) add the COM layer and make them accessible to RE, etc. We looked at development in VBA as the alternative, but the VS 2005/08 IDE is much stronger for debugging, etc. and there are obvious differences in the language. So this does simplify things a bit.

I concur creating a 'well behaving' msi install package pushed out via GPO should solve the deployment issue, but had wondered if you had run into any issues if the control level (i.e. Power User, Standard User, etc) of the users to which the install applies. Here we have the majority of users as plain Standard XP users (not Power or Admin). Thoughts ?
Thx Nigel
__________________
Nigel Henriques
Assoc. Director of Systems
Office of Development Services
University of Waterloo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
deployment, dlls, net, practices, vba


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump



All times are GMT -6. The time now is 06:54 PM.

Miscellaneous


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79