Solved

Creating new file extensions?

Posted on 2002-04-25
2
118 Views
Last Modified: 2010-05-02
I am writing an application, one of whose functions is to save the contents of a listbox to file. I have created a new file type in explorer to easily identify these. I would like this new file type to be installed into a client p.c. when they run the application installation. How would I go about doing this.

Many Thanks,
             Dust.
 
0
Comment
Question by:dustybryn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 6968029
In fact, you need several registry keys to be merged to the client's installation:
HKEY_CLASSES_ROOT\.<yourextention>
  <default value>=YourApplication.File

HKEY_CLASSES_ROOT\YourApplication.File
  shell
    open
       command
          <default value>=yourapp.exe

You should look at your registry for similar entries...

CHeers


 
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 6968300
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

738 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