Solved

Creating new file extensions?

Posted on 2002-04-25
2
124 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 …
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.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month2 days, 18 hours left to enroll

621 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