Welcome to Forums
Sign in
|
Join
|
Help
|
Forums
in
VBA/API
Technical Forums
(Entire Site)
Search
Higher Education
Human Services
Healthcare
K-12 Schools
Arts & Cultural
Faith-Based
Foundations
Environmental
Animal Welfare
Associations
Fundraising
Constituent Relationship Management
Financial Management
Education Administration
Website Management
Direct Marketing
Ticketing
Consulting Services
Blackbaud Interactive
Training
Data Enrichment Services
Blackbaud OnDemand
Custom Report Solutions
Staffing Solutions
Maintenance
Disclaimer
Donor Acquisition
Prospect Research
Performance Benchmarking
Data Enrichment Services
Higher Education
Human Services
Healthcare
K-12 Schools
Arts & Cultural
Faith-Based
Foundations
Environmental
Video Interviews
Latest News
Knowledgebase
FAQs
Case Central
Downloads
Forums
Support Newsletters
User Guides
System Recommendations
Blackbaud Conferences
Industry Events
Regional Seminars
Web Seminars
User Groups
Who We Are
Contact Us
Careers
Press Room
Philanthropy
Nonprofit Resources
Partners
Investor Relations
Home
Blogs
Forums
Photos
Downloads
Forums
»
Technical Forums
»
VBA/API
»
VB Script Update Using API
VB Script Update Using API
Last post 01-22-2008 3:01 PM by
Joe Sullivan
. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
01-17-2008 6:29 PM
Darrell Petry
Posts
1
Organization: Aquarium of the Pacific
VB Script Update Using API
Reply
Contact
Is there a way to update the VB script via the RE API instead of directly though the RE VBA interface?
01-18-2008 4:30 AM
In reply to
David Zeidman
Posts
164
Organization: Zeidman Development
Products: The Raiser's Edge
VB Script Update Using API
Reply
Contact
I think that you will have to give some more details. From the way you word I interpret it like this. You would like to update the scripts that you currently have through Visual Studio and the RE API rather than going into the Raiser's Edge VBA interface. The quick answer is probably not. However I should be asking you why you want to do this. Again I can guess at a couple of reasons: 1. You do not want to edit the VBA environment directly on live so that it affects everybody straight away. - You can always set up a development environment (see the following -
http://www.re-decoded.com/2007/08/a-non-production-database/
) or alternatively use a VBA DLL instead (see the help files) 2. You want to use Visual Studio and the .NET environment for superior code editing etc. - While you can use .NET to create plugins and applications you cannot use it to write the event driven scripts that sit in the VBA environment (at least you cannot easily do it) Anyway enough of me trying to interpret let us know your intentions and we can better advise. David Zeidman Development
http://www.zeidman.info
Check out my RE API blog
http://re-decoded.com
David Zeidman
Zeidman Development
http://www.zeidman.info
Check out my RE API blog
http://www.re-decoded.com
01-22-2008 3:01 PM
In reply to
Joe Sullivan
Posts
16
Organization: Great Commission Ministries
VB Script Update Using API
Reply
Contact
There is really no difference in the API and VBA coding. You could probably cut and paste most of your code into VB.Net and it would function the same way. The difference is that you have to initialize the API (which essentially logs you into RE with a specified user) and when initializing RE objects get the session context from that api object. You will of course not be able to work off of RE events like the "on save." There's no way to avoid accessing those through the VBA. I know we are working on a way for those triggers to call our .net code but that is a little more involved. It really does depend on what you are trying to accomplish but as far as converting code really it's just initializing RE objects through the api object instead of the RE Application object.
Page 1 of 1 (3 items)