G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)
Hello,
I am running the following line of code within a non-web C#
application.
System.Diagnostics.Process.Start ("rundll32.exe
C:\\windows\\system32\\shimgvw.dll,ImageView_Fullscreen " + fileName);
where fileName = C:\Reports\D\2005-07-14\ActualTimesPage0001.emf
I receive the following error:
System.ComponentModel.Win32Exception: The system cannot find the file
specified
at
System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo
startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
I have registered shimgvw.dll as prior postings have suggested using
"regsvr32 shimgvw.dll." I have also verified as prior postings have
suggested the registry setting for the emffile folder command is
rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
I do not receive an error when I run the command on the command line.
Your help will greatly be appreciated.
Thank you,
Hello,
I am running the following line of code within a non-web C#
application.
System.Diagnostics.Process.Start ("rundll32.exe
C:\\windows\\system32\\shimgvw.dll,ImageView_Fullscreen " + fileName);
where fileName = C:\Reports\D\2005-07-14\ActualTimesPage0001.emf
I receive the following error:
System.ComponentModel.Win32Exception: The system cannot find the file
specified
at
System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo
startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
I have registered shimgvw.dll as prior postings have suggested using
"regsvr32 shimgvw.dll." I have also verified as prior postings have
suggested the registry setting for the emffile folder command is
rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
I do not receive an error when I run the command on the command line.
Your help will greatly be appreciated.
Thank you,