Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32Exception

Status
Not open for further replies.

cs2009

Programmer
Aug 10, 2009
50
0
0
US
Using Visual Studio 2008.

I have this code fragment in a data grid view cell double-click event.
Code:
System.Diagnostics.Process process = new System.Diagnostics.Process();
StringBuilder URI = new StringBuilder();
URI.Append("[URL unfurl="true"]http://www.fedex.com/Tracking?tracknumbers=");[/URL]
URI.Append(TTNo.Substring(1, TTNo.Length - 1));
URI.Append("&cntry_code=us&language=english&clienttype=ivother&");
process.StartInfo.FileName = URI.ToString();
process.Start();

A user just began getting this error:

System.ComponentModel.Win32Exception: No application with the specified file for this operation at System.Diagnostics.Process.StartWithShellExecute(ProcessStartInfoStartInfo) at System.Diagnostics.Process.Start() at myapp.dgvTracking_CellDoubleClick(Object sender, DataGridViewCellArgs e)

This has worked for several years without a problem. The user is not aware of any updates to his system.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top