Solved

Creating new file extensions?

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

Accepted Solution

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now