Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 16th, 2005, 09:10 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 hugh@kmcnetwork.com SQL Server 2000 1 December 23rd, 2003 10:36 AM



All times are GMT -4. The time now is 09:55 PM.


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