Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2005, 09:10 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Could not open macro storage.

Hi everyone,

I am creating a .dll using visual basic 6. I am creating a word object inside the dll. here is how it looks like

-------------------------------------
Dim wrd As Word.Application
Set wrd = CreateObject("Word.Application")
wrd.Documents.Open file_name, False, True

getWordContent = wrd.ActiveDocument.Content.Text

-------------------------------------

After compiling the dll, i use it in a vb app and it works fine and I can grab the data from the word file.

Now when I use the same dll in an ASP page it gives me error "Could not open macro storage.". I cannot use the word object in an ASP page as I dont have flexibility to use all the methods in ASP.

If someone can suggest how can i return the value back from the .dll using asp page that would be great. I went thru some reference on the web and it appears to be some permission kinda issue. If someone can explain it how to solve this, I would appreciate this.

- SAT






Similar Threads
Thread Thread Starter Forum Replies Last Post
calling to xlam macro from macro inside xlsb SteveB Excel VBA 0 June 30th, 2008 06:43 PM
Unable to open Excel with macro guptasourav ASP.NET 1.x and 2.0 Application Design 0 January 18th, 2007 01:52 AM
Could not open macro storage tigerkit Beginning VB 6 7 September 20th, 2006 02:56 PM
Document Storage [email protected] SQL Server 2000 1 December 23rd, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.