Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Problems with Word2000 and Vista

Reply
Thread Tools Display Modes

Problems with Word2000 and Vista

 
 
SteM
Guest
Posts: n/a

 
      08-27-2009
Hi all,
since i installled Vista I started to have problems running Word2000 from
VBA Access.
In any case I noted a difference between Winword2000 and other Office
programs:
on the normal launch Word shows a window for 'user account control', Cancel,
Allow (or something like that, mine is not in english).
Running Excel, powerpoint and other, not.

I need to run Word2000 from a vba macro in Access2000: no problem with XP or
Win2000.
If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i have
the error:
Function call or argument not valid
or
Automation Error
To execute the requested operation is needed a higher rights.

If i change for 'calc' or 'notepad' there are no problems.

If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able to
run it but hen i need to get the variable to control the program:
if I call GetObject(,"Word.Application") I get l'error 13.

What happens ???
How can i solve?
Any idea?

--
SteM


 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      08-27-2009
Perhaps someone set it's compatability options to Always Run As An
Administrator on winword.exe's compatability tab on its property sheet.

--
..
--
"SteM" <> wrote in message
news:...
> Hi all,
> since i installled Vista I started to have problems running Word2000 from
> VBA Access.
> In any case I noted a difference between Winword2000 and other Office
> programs:
> on the normal launch Word shows a window for 'user account control',
> Cancel,
> Allow (or something like that, mine is not in english).
> Running Excel, powerpoint and other, not.
>
> I need to run Word2000 from a vba macro in Access2000: no problem with XP
> or
> Win2000.
> If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i have
> the error:
> Function call or argument not valid
> or
> Automation Error
> To execute the requested operation is needed a higher rights.
>
> If i change for 'calc' or 'notepad' there are no problems.
>
> If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able to
> run it but hen i need to get the variable to control the program:
> if I call GetObject(,"Word.Application") I get l'error 13.
>
> What happens ???
> How can i solve?
> Any idea?
>
> --
> SteM
>
>


 
Reply With Quote
 
SteM
Guest
Posts: n/a

 
      08-27-2009
Yes
There was the checkbox checked !!
Now I have no more problems on lauch Winword by Shell(...) but the other
problems on automation are still there ...

Thanks !



<.> ha scritto nel messaggio news:uSVOb$...
> Perhaps someone set it's compatability options to Always Run As An
> Administrator on winword.exe's compatability tab on its property sheet.
>
> --
> .
> --
> "SteM" <> wrote in message
> news:...
> > Hi all,
> > since i installled Vista I started to have problems running Word2000

from
> > VBA Access.
> > In any case I noted a difference between Winword2000 and other Office
> > programs:
> > on the normal launch Word shows a window for 'user account control',
> > Cancel,
> > Allow (or something like that, mine is not in english).
> > Running Excel, powerpoint and other, not.
> >
> > I need to run Word2000 from a vba macro in Access2000: no problem with

XP
> > or
> > Win2000.
> > If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i

have
> > the error:
> > Function call or argument not valid
> > or
> > Automation Error
> > To execute the requested operation is needed a higher rights.
> >
> > If i change for 'calc' or 'notepad' there are no problems.
> >
> > If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able

to
> > run it but hen i need to get the variable to control the program:
> > if I call GetObject(,"Word.Application") I get l'error 13.
> >
> > What happens ???
> > How can i solve?
> > Any idea?
> >
> > --
> > SteM
> >
> >

>



 
Reply With Quote
 
Guest
Posts: n/a

 
      08-27-2009
Try typing

winword /reg

and also

In Word 2000 choose Repair Word from the Help menu
--
..
--
"SteM" <> wrote in message
news:...
> Yes
> There was the checkbox checked !!
> Now I have no more problems on lauch Winword by Shell(...) but the other
> problems on automation are still there ...
>
> Thanks !
>
>
>
> <.> ha scritto nel messaggio news:uSVOb$...
>> Perhaps someone set it's compatability options to Always Run As An
>> Administrator on winword.exe's compatability tab on its property sheet.
>>
>> --
>> .
>> --
>> "SteM" <> wrote in message
>> news:...
>> > Hi all,
>> > since i installled Vista I started to have problems running Word2000

> from
>> > VBA Access.
>> > In any case I noted a difference between Winword2000 and other Office
>> > programs:
>> > on the normal launch Word shows a window for 'user account control',
>> > Cancel,
>> > Allow (or something like that, mine is not in english).
>> > Running Excel, powerpoint and other, not.
>> >
>> > I need to run Word2000 from a vba macro in Access2000: no problem with

> XP
>> > or
>> > Win2000.
>> > If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i

> have
>> > the error:
>> > Function call or argument not valid
>> > or
>> > Automation Error
>> > To execute the requested operation is needed a higher rights.
>> >
>> > If i change for 'calc' or 'notepad' there are no problems.
>> >
>> > If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able

> to
>> > run it but hen i need to get the variable to control the program:
>> > if I call GetObject(,"Word.Application") I get l'error 13.
>> >
>> > What happens ???
>> > How can i solve?
>> > Any idea?
>> >
>> > --
>> > SteM
>> >
>> >

>>

>
>


 
Reply With Quote
 
Guest
Posts: n/a

 
      08-27-2009
Try typing

winword /reg

and also

In Word 2000 choose Repair Word from the Help menu
--
..
--
"SteM" <> wrote in message
news:...
> Yes
> There was the checkbox checked !!
> Now I have no more problems on lauch Winword by Shell(...) but the other
> problems on automation are still there ...
>
> Thanks !
>
>
>
> <.> ha scritto nel messaggio news:uSVOb$...
>> Perhaps someone set it's compatability options to Always Run As An
>> Administrator on winword.exe's compatability tab on its property sheet.
>>
>> --
>> .
>> --
>> "SteM" <> wrote in message
>> news:...
>> > Hi all,
>> > since i installled Vista I started to have problems running Word2000

> from
>> > VBA Access.
>> > In any case I noted a difference between Winword2000 and other Office
>> > programs:
>> > on the normal launch Word shows a window for 'user account control',
>> > Cancel,
>> > Allow (or something like that, mine is not in english).
>> > Running Excel, powerpoint and other, not.
>> >
>> > I need to run Word2000 from a vba macro in Access2000: no problem with

> XP
>> > or
>> > Win2000.
>> > If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i

> have
>> > the error:
>> > Function call or argument not valid
>> > or
>> > Automation Error
>> > To execute the requested operation is needed a higher rights.
>> >
>> > If i change for 'calc' or 'notepad' there are no problems.
>> >
>> > If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able

> to
>> > run it but hen i need to get the variable to control the program:
>> > if I call GetObject(,"Word.Application") I get l'error 13.
>> >
>> > What happens ???
>> > How can i solve?
>> > Any idea?
>> >
>> > --
>> > SteM
>> >
>> >

>>

>
>


 
Reply With Quote
 
Guest
Posts: n/a

 
      08-27-2009
When using automation winword is started with the following command line
winword /a
which starts word without addins or customisations.

--
..
--
<.> wrote in message news:...
> Try typing
>
> winword /reg
>
> and also
>
> In Word 2000 choose Repair Word from the Help menu
> --
> .
> --
> "SteM" <> wrote in message
> news:...
>> Yes
>> There was the checkbox checked !!
>> Now I have no more problems on lauch Winword by Shell(...) but the other
>> problems on automation are still there ...
>>
>> Thanks !
>>
>>
>>
>> <.> ha scritto nel messaggio
>> news:uSVOb$...
>>> Perhaps someone set it's compatability options to Always Run As An
>>> Administrator on winword.exe's compatability tab on its property sheet.
>>>
>>> --
>>> .
>>> --
>>> "SteM" <> wrote in message
>>> news:...
>>> > Hi all,
>>> > since i installled Vista I started to have problems running Word2000

>> from
>>> > VBA Access.
>>> > In any case I noted a difference between Winword2000 and other Office
>>> > programs:
>>> > on the normal launch Word shows a window for 'user account control',
>>> > Cancel,
>>> > Allow (or something like that, mine is not in english).
>>> > Running Excel, powerpoint and other, not.
>>> >
>>> > I need to run Word2000 from a vba macro in Access2000: no problem with

>> XP
>>> > or
>>> > Win2000.
>>> > If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')' i

>> have
>>> > the error:
>>> > Function call or argument not valid
>>> > or
>>> > Automation Error
>>> > To execute the requested operation is needed a higher rights.
>>> >
>>> > If i change for 'calc' or 'notepad' there are no problems.
>>> >
>>> > If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is able

>> to
>>> > run it but hen i need to get the variable to control the program:
>>> > if I call GetObject(,"Word.Application") I get l'error 13.
>>> >
>>> > What happens ???
>>> > How can i solve?
>>> > Any idea?
>>> >
>>> > --
>>> > SteM
>>> >
>>> >
>>>

>>
>>

>


 
Reply With Quote
 
SteM
Guest
Posts: n/a

 
      08-27-2009
Thanks,
i run them but without success.

I noted that, even if they return error, both CreateObject() and new
Word.Application run an invisibile Word instance !!
I see them between the processes !
But CreateObject() returns error13, new returns error 430.

???




<.> ha scritto nel messaggio news:...
> When using automation winword is started with the following command line
> winword /a
> which starts word without addins or customisations.
>
> --
> .
> --
> <.> wrote in message news:...
> > Try typing
> >
> > winword /reg
> >
> > and also
> >
> > In Word 2000 choose Repair Word from the Help menu
> > --
> > .
> > --
> > "SteM" <> wrote in message
> > news:...
> >> Yes
> >> There was the checkbox checked !!
> >> Now I have no more problems on lauch Winword by Shell(...) but the

other
> >> problems on automation are still there ...
> >>
> >> Thanks !
> >>
> >>
> >>
> >> <.> ha scritto nel messaggio
> >> news:uSVOb$...
> >>> Perhaps someone set it's compatability options to Always Run As An
> >>> Administrator on winword.exe's compatability tab on its property

sheet.
> >>>
> >>> --
> >>> .
> >>> --
> >>> "SteM" <> wrote in message
> >>> news:...
> >>> > Hi all,
> >>> > since i installled Vista I started to have problems running Word2000
> >> from
> >>> > VBA Access.
> >>> > In any case I noted a difference between Winword2000 and other

Office
> >>> > programs:
> >>> > on the normal launch Word shows a window for 'user account control',
> >>> > Cancel,
> >>> > Allow (or something like that, mine is not in english).
> >>> > Running Excel, powerpoint and other, not.
> >>> >
> >>> > I need to run Word2000 from a vba macro in Access2000: no problem

with
> >> XP
> >>> > or
> >>> > Win2000.
> >>> > If i call a 'new Word.Application' or 'Shell("c:\...\winword.exe')'

i
> >> have
> >>> > the error:
> >>> > Function call or argument not valid
> >>> > or
> >>> > Automation Error
> >>> > To execute the requested operation is needed a higher rights.
> >>> >
> >>> > If i change for 'calc' or 'notepad' there are no problems.
> >>> >
> >>> > If I put Word in other folder (ex. c:\tmp\winword.exe) Shell() is

able
> >> to
> >>> > run it but hen i need to get the variable to control the program:
> >>> > if I call GetObject(,"Word.Application") I get l'error 13.
> >>> >
> >>> > What happens ???
> >>> > How can i solve?
> >>> > Any idea?
> >>> >
> >>> > --
> >>> > SteM
> >>> >
> >>> >
> >>>
> >>
> >>

> >

>



 
Reply With Quote
 
 
 
Reply

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




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59