ok try this. replace this code (at the end of the .doc file):
vb Code:
'set picture Dim myPicForm As New docViewerSubForm(newImage) myPicForm.ShowDialog()
with this:
vb Code:
Dim filename As String = My.Computer.FileSystem.GetTempFileName newImage.Save(filename, Drawing.Imaging.ImageFormat.Jpeg) Dim psi As New ProcessStartInfo("mspaint.exe", filename) Process.Start(psi)




Reply With Quote