Solved

Creating new file extensions?

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DIR issue 7 54
VBA/SQL - Connect to SQL server and pull data 4 111
Adding to a VBA? 6 70
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 52
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

809 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