But, On some other machine it throws up an error message saying "Run time error 1078" , "The file could not be found". When I try to debug this error it shows the following visual basic code
Code: Select all
Private Sub TmpDDE()
Dim t
Rem _DDE_Minimize
WordBasic.FileOpen "C:\DOCUME~1\arsk\LOCALS~1\Temp\tmp613.rtf"
t = WordBasic.IsDocumentDirty()
WordBasic.FilePrint 0
WordBasic.SetDocumentDirty t
WordBasic.DocClose
End Sub