|
-
Oct 18th, 2000, 06:36 AM
#1
Thread Starter
Member
I am trying to open word in windows 2000 vb enterprise edition, i added the ref and the lines
In Declarations :
Option Explicit
Dim ObjWord as Word.Application
And in Code:
Set objWord = New Word.Application 'the error
Everytime it hits the Set line, i get a ActiveX error, "Cant create object", however, word loads in the process window? Whats wrong here?.. I tried rewriting the code in many other forms, such as Set Obj = CreateObject("Word.Application")
and Word.Application.9, however, none of these sollutions are helping the problem.
-
Oct 18th, 2000, 07:01 AM
#2
Addicted Member
Catch you later,
Jeroen Hoekemeijer
Code:
If 1 = 2 Then MajorError
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
|