0
 If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then
                Try
                    TempImage = Image.FromFile(ofd.FileName)

                    imagename = ofd.FileName
                    System.Diagnostics.Process.Start("filetest.exe", imagename)
                    System.Diagnostics.Process.Start("sobel2.exe", ofd.FileName)


                    PictureBox1.Image = TempImage

this is my code. sobel2.exe works file with the argument.
but filetest.exe hangs and gives win32 unhandles exception
if i give a proper filename within codes to imagename filetest.exe works fine..
i can't figure out why this is happening for filetest .. while sobel2 is working fine

1
Contributor
1
Reply
2
Views
4 Years
Discussion Span
Last Post by seeking_help
0

i have another question, after i am selecting one file and then executing the sobel2.exe..
next when i am selecting another file and executing sobel.exe.. the output doesnot change.
only when i stop debug and run it again then it gives the new output..
why is this happening?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.