G
Guest
Hi everyone, i am using createProcess() to open a pocket word document in my
application. I can't seem to open the document. whenever i try to open the
pocket word document i get an error "Unable to open the document. The
document does not exist." below is a snippet of my codes
Private Sub OpenDoc()
Dim pi As New ProcessInfo
CreateProcess("pword.exe", "\My Documents\MyDoc.pwd", IntPtr.Zero,
IntPtr.Zero, 0, 0, IntPtr.Zero, IntPtr.Zero, New [Byte](128) {}, pi)
End Sub
The pocket word document that i want to open is in the My Documents folder.
Any idea how do i resolve this error? Thanks!
application. I can't seem to open the document. whenever i try to open the
pocket word document i get an error "Unable to open the document. The
document does not exist." below is a snippet of my codes
Private Sub OpenDoc()
Dim pi As New ProcessInfo
CreateProcess("pword.exe", "\My Documents\MyDoc.pwd", IntPtr.Zero,
IntPtr.Zero, 0, 0, IntPtr.Zero, IntPtr.Zero, New [Byte](128) {}, pi)
End Sub
The pocket word document that i want to open is in the My Documents folder.
Any idea how do i resolve this error? Thanks!