Associating Files

Posted on 2003-03-16
Medium Priority
Last Modified: 2010-05-01
I have a question while we are on the topic.  How is it that you get you app to associate with the file type ... hmmmmm (for give me I'm a n00b).

For instance, when I open a given file type in explorer, how does my program know what exactly to do with that file?

Now I know how to work with FSO and all that.  I'm just having trouble with the association part.
Question by:lillockey
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

Expert Comment

ID: 8147235
Your program receive the filename in it's Command function.
Put that line in your program to read the Filename.
CmdLine = Command()
LVL 16

Accepted Solution

Richie_Simonetti earned 375 total points
ID: 8147266

Author Comment

ID: 8277216
Eh ... good enough for my purposes.  Thx

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 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