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
> >>> >
> >>> >
> >>>
> >>
> >>
> >
>