Posted on 2013-10-20
Medium Priority
Last Modified: 2013-10-28
Using Visual Studio 2008.  The user's PC is running Windows 7.

I have this code fragment in a data grid view cell double-click event.
System.Diagnostics.Process process = new System.Diagnostics.Process();
StringBuilder URI = new StringBuilder();
URI.Append(TTNo.Substring(1, TTNo.Length - 1));
process.StartInfo.FileName = URI.ToString();

Open in new window

A user just began getting the error below:
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.
Question by:waverazor
1 Comment
LVL 12

Accepted Solution

jmcmunn earned 1400 total points
ID: 39586769
This error is generally caused by the user not having a default web browser set on their machine.  Perhaps they previously used a browser that was recently uninstalled, or else the default browser got reset or something due to a software update.

If you have the user get into a web browser and set it as default, or else associate a default program to open web addresses (htm, html) then the error should go away.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question