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