|
-
May 28th, 2000, 02:25 PM
#1
Thread Starter
Lively Member
Anyone know how to gain access to classes in a template that has been added to the references in the current project?
One can get access to the modules but not the classes.
(Word97)
-
May 29th, 2000, 10:12 AM
#2
Hyperactive Member
-
May 29th, 2000, 12:55 PM
#3
What do you mean gain access? If you don't have word on your computer then you don't have the word class to gain access to. Do you mean use/reference in your project?
Public appWord as New Application.Word
If you have someelse's code and it references a class that you don't have on your machine then it says it is missing. You have to get the files that make that class (dlls or whatever).
Please clarify your question.
-
May 30th, 2000, 05:14 PM
#4
Thread Starter
Lively Member
I'm working from withing Word97. (pure VBA)
I've made one template with some modules and some classes.
Now I'm working on another template that have references to the 1st template.
Now the problem:
I can get access to the subs and functions of the modules in the 1st template, but I can't use its classes. The classes don't show up. It doesn't show up in the object-viewer. It's like it's not there.
(If you make classes in an activex dll in vb and make a reference to it from the word-template, you can see the classes.)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|