6 Months Free & No Setup Fees ASP.NET Hosting!
Skip Navigation Links
C# Corner Home
Forum Home
Latest 50
Unanswered
Win Prizes
All Time Leaders
Jump to CategoryExpand Jump to Category
Login 
    Welcome Guest!
 Search Forum For :  
X
 Login
Please login to submit a new post, reply and edit exiting posts, see user profiles, and access more features. If you are not a registered member, Register here.
User Id / Email:
Password:  
Forgot Password | Forgot UserName
   Home » C# Language » HELP!!!
       
Author Reply
Manh Thao
posted 8 posts
since Aug 05, 2009 
from Viet Nam

HELP!!!

  Posted on: 20 Feb 2012       
How to open excel file with the program when the user selected program to open excel?

I have a software to process data in excel file (*.xls, *.xlsx). My software loaded excel file to process by selecting the path to excel file.

For convenience than I intend to add choices for user by user can right-click into excel file and choose my program to open (Open with ... "My software name").

So users can choose my program as default or not default to open excel file!

I don't know how to do it! Look forward to your guidance!

Khuc Manh Thao

Developer at NhaBeTech JSC - Nha Be Corporation - Viet Nam

Sam Hobbs
posted  6490 posts
since  Sep 07, 2009 
from  Los Angeles, California, USA

 Re: HELP!!!
  Posted on: 21 Feb 2012        0  
Are you asking how the user would choose what program to use or are you asking how to write your program so that the user can choose your program?
Thinking is a feeling; pleasant for some and unpleasant for others.
Manh Thao
posted  8 posts
since  Aug 05, 2009 
from  Viet Nam

 Re: HELP!!!
  Posted on: 21 Feb 2012        0  
I'm writing software to handle data from excel file.

The problem
I encountered when packing to install the program how to add the icon' program in the context menu ( user must use right click into excel file to select the icon of the program) and program will read excel file (similar to the operation of winrar unzip files) and also when unistall the program's icon in context menu will be removed.


THANKS!!!

Khuc Manh Thao

Developer at NhaBeTech JSC - Nha Be Corporation - Viet Nam

Sam Hobbs
posted  6490 posts
since  Sep 07, 2009 
from  Los Angeles, California, USA

 Re: HELP!!!
  Posted on: 22 Feb 2012        0  
What context menu?
Thinking is a feeling; pleasant for some and unpleasant for others.
Manh Thao
posted  8 posts
since  Aug 05, 2009 
from  Viet Nam

 Re: HELP!!!
  Posted on: 22 Feb 2012        0  


As shown above, when I right click the zip file, a menu will appear and also winrar program icon in the menu that appears.
My program
process excel file, my problem is how to right click on my excel file then program icon will appear (when installing the program) and will be deleted after unistall
.

Khuc Manh Thao

Developer at NhaBeTech JSC - Nha Be Corporation - Viet Nam

Sam Hobbs
posted  6490 posts
since  Sep 07, 2009 
from  Los Angeles, California, USA

 Re: HELP!!!
  Posted on: 22 Feb 2012        0  
A good setup program will do most of the work for you. The following are some relevant articles and forum threads but probably all you need to do is to look at the documentation of your setup program and do what it says. There are probably some articles in this web site that will help but I did not look.
Thinking is a feeling; pleasant for some and unpleasant for others.
       
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Team Foundation Server Hosting
 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Site Map  |  Advertise with us
Current Version: 5.2011.3.12
 © 1999 - 2012  Mindcracker LLC. All Rights Reserved