Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Call VBA subroutine from ASP
I am currently using an Access 2000 database as the back end of an ASP
website that is under development.  I have some vba code that generates a
Word document from within Access and saves it in a folder that makes it
available for download over the website.  Can I execute this code from ASP?

Further, I am planning to split the Access database, once it is complete, by
migrating the back end to SQL Server.  Once the website connection is to SQL
Server, will I still be able to execute the vba code located in the Access
front end?

Thanks in advance.



Report this thread to moderator Post Follow-up to this message
Old Post
WC Justice
09-27-04 08:55 PM


Re: Call VBA subroutine from ASP
WC Justice wrote:
> I am currently using an Access 2000 database as the back end of an ASP
> website that is under development.  I have some vba code that
> generates a Word document from within Access and saves it in a folder
> that makes it available for download over the website.  Can I execute
> this code from ASP?

No. Access is required to be involved when running VBA code in Access
modules. While Access can be Automated, MS recommends that Automation of
Office programs in server code should be avoided:
http://support.microsoft.com/defaul...B;en-us;q257757

You will probably need to start planning for this now. Your best course of
action is to port your VBA code to vbscript, or to a VB dll.

>
> Further, I am planning to split the Access database, once it is
> complete, by migrating the back end to SQL Server.  Once the website
> connection is to SQL Server, will I still be able to execute the vba
> code located in the Access front end?
>
See above

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Barrows [MVP]
09-27-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:31 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.