473,395 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

c# program file association

I wanted to know how you would associate a file extenstion with a c#
program. For instance, I wanted to allow a user to double click a .org file,
and then have it open in my org program (which is an mdi app). Also, if the
org program is already open, i wanted the clicked file to open as another
mdi window (each file is it's own mdi window). Anyone have any links to
tutorials or quick explanations? I'm also using vs.net 2003 in case anyone
knows of any ide related shortcuts for the task.

Thanks!
Nov 13 '05 #1
1 9627
There is a great article on how to set file associations with Visual
Studio .NET Deployment at
http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vbcontheassociationseditor.asp

Cheers,
Christian T. [MSFT]
Visual Studio Update Team

- Please do not reply to this email directly. This email is for newsgroup
purposes only.
================================================== =======================
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which
they originated.
================================================== =======================

--------------------
Reply-To: "Jason Gleason" <ja***********@gensurvey.com>
From: "Jason Gleason" <ja***********@gensurvey.com>
Subject: c# program file association
Date: Wed, 9 Jul 2003 11:33:05 -0400
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <uY**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: ip50.gensurvey.com 216.54.187.50
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:167973
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I wanted to know how you would associate a file extenstion with a c#
program. For instance, I wanted to allow a user to double click a .org file, and then have it open in my org program (which is an mdi app). Also, if the org program is already open, i wanted the clicked file to open as another
mdi window (each file is it's own mdi window). Anyone have any links to
tutorials or quick explanations? I'm also using vs.net 2003 in case anyone
knows of any ide related shortcuts for the task.

Thanks!


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: steve | last post by:
Hi, I just upgraded my php but ran into a problem. Never seen this before. Somehow it seems I lost php file association. When I do a http://localhost/something.php I get a prompt for dowload...
2
by: Anders Eriksson | last post by:
Hello! I'm a beginner at PHP and I wonder how I would go about to read a textfile into an array(hash). The textfile looks like this: A/S=age/sex? A/S/L=age/sex/location? AA=alcoholics...
2
by: Mark | last post by:
I have a windows 2000 PC and it does not know what a hta file is. any ideas. Mark
2
by: Peter | last post by:
I have created a Setup project wich includes couple of text file and it also includes file association of .tsrx. After the application is installed if I happen to delete any one of the text...
1
by: Allen | last post by:
I have installed the Updater Application Block, and then I should Deploy the QuickStarts. " Install the QuickStarts After you install the Updater Application Block, you should install the...
6
by: Nak | last post by:
Hi there, I am implementing file association from within my application, association that occurs after installation. Anyway, I remember a while back seeing a key in the registry that was used...
10
by: Chris | last post by:
I have a PHP file upload feature that also gives the user the option to assign more than 1 project association to the file. The file's name, title, primary project, etc. is inserted into a...
6
by: Jerad Rose | last post by:
I recently installed Visual Studio 2003, after having already installed VS 2005. Unfortunately, it took over all of the file associations. There is an option in Visual Studio 2005 to restore...
1
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
I've deployed, successfully, several Clickonce applications. The problem I have is the negative reaction to my software when a user attempts to open a file and no association exists between the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.