When using the Process class to open a file, if the file type is unknown, you will get the error code for the Win32Exception for ERROR_NO_ASSOCIATION. Solution is simple
ProcessStartInfo Test
=
New
ProcessStartInfo (); test.filename
=
"
WJH.wjh
"
Test.errordialog
=
True
;
//
it's him
Process.start (Test);
This will display the "Open with" dialog.