Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating new file extensions?

Posted on 2002-04-25
2
Medium Priority
?
127 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
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 400 total points
ID: 6968300
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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