msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NAV 2007 install breaks VB6 Word automation app

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation
Author Message
Richie C



Joined: 04 Oct 2007
Posts: 1

PostPosted: Thu Feb 08, 2007 4:41 pm    Post subject: NAV 2007 install breaks VB6 Word automation app Reply with quote

Hello,

I have a VB6 app that creates an instance of MS Word (Office XP) to create
documents. It has been working fine for several years. After installing
Norton Antivirus 2007, the app throws an error whenever I try to access a
property or method of the Word object. For instance, the actual object gets
created fine:

dim wdApp as Word.Application
Set wdApp = CreateObject("Word.Application")

(no problem yet)

However, as soon as I try to access a property or use a method of the wdApp
object, it throws error # 91 (Object variable or with block variable not
set). For example:

wdApp.visible = True

raises the error.

I've tried the following things, with no success:

> Reconfigure NAV to NOT scan Microsoft Office documents
> Reconfigure NAV to exclude .doc files
> I even completely uninstalled NAV

Any suggestions? Thanks

RC

Archived from group: microsoft>public>vb>com
Back to top
View user's profile Send private message
Richard T. Edwards



Joined: 04 Oct 2007
Posts: 3

PostPosted: Wed Mar 21, 2007 3:35 pm    Post subject: Re: NAV 2007 install breaks VB6 Word automation app Reply with quote

Oh, the good old Norton virus programs.

I removed mine for exactly this reason.



"Richie C" wrote in message $0$5750$4c368faf@roadrunner.com...
> Hello,
>
> I have a VB6 app that creates an instance of MS Word (Office XP) to create
> documents. It has been working fine for several years. After installing
> Norton Antivirus 2007, the app throws an error whenever I try to access a
> property or method of the Word object. For instance, the actual object
> gets created fine:
>
> dim wdApp as Word.Application
> Set wdApp = CreateObject("Word.Application")
>
> (no problem yet)
>
> However, as soon as I try to access a property or use a method of the
> wdApp object, it throws error # 91 (Object variable or with block variable
> not set). For example:
>
> wdApp.visible = True
>
> raises the error.
>
> I've tried the following things, with no success:
>
>> Reconfigure NAV to NOT scan Microsoft Office documents
>> Reconfigure NAV to exclude .doc files
>> I even completely uninstalled NAV
>
> Any suggestions? Thanks
>
> RC
>
>
>
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Word Automation Dim appWord as Object Set appWord = How am I able to use the following when appWord as an Object and wrdDocument as an Object. I had no problem when appWord as and wrdDocument as Word.Document and Set app

Need Help with Word Automation from VB6 I need to add a function to an existing VB6 app to print a mailing label on a standard Avery label. I'd like to use the Word mailing labels dialog to do the work. I'm working with Word 2003 SP1. And, I'm an absolute newbie to Word object

WORD automation Hi, I try to add/modify some style in Word 2002 and 2003 using VB, but I have such error : : Given Items does not exist. at Index) i don't have any number of code line whe

Word Automation Hi, I have this code it works fine in MS Access 2000, I am trying to make it work in VB 6, I am not getting an error, but the variables in the word document "{ADDRESS}" an so on are not being replaced with the data. this is the table data in the table Cod

automation of Word Using article Q220607 How to automate Word to perform Mail Merge from VB. I am using VB6 to automate Word 2003 Mail Merge. I get the following error: Run Time 5631 Word could not merge the main document with the datasource because data records were empty
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group