E
Educo Gent
I use the following code for a button on a Access2002 form:
Private Sub Knop62_Click()
Dim strVollcommando As String
strVollcommando = "c:\program files\microsoft
office\office10\winword.exe c:\test\test.doc"
Call Shell(strVollcommando, 1)
End Sub
With Access2000, there is no problem (I know, the path for Word2000 is
....\office\... and not ..\office10\...). In Access2002, it doesn't work.
There seems to be a 'rights'-problem. The rights for the map 'c:\test' and
for the file 'test.doc' are: all rights to everyone. The file system is NTFS
on a WindowsXP PC.
Can anyone help me?
End Sub
Private Sub Knop62_Click()
Dim strVollcommando As String
strVollcommando = "c:\program files\microsoft
office\office10\winword.exe c:\test\test.doc"
Call Shell(strVollcommando, 1)
End Sub
With Access2000, there is no problem (I know, the path for Word2000 is
....\office\... and not ..\office10\...). In Access2002, it doesn't work.
There seems to be a 'rights'-problem. The rights for the map 'c:\test' and
for the file 'test.doc' are: all rights to everyone. The file system is NTFS
on a WindowsXP PC.
Can anyone help me?
End Sub