Solved

Execute a custom file on double click of it's icon

Posted on 2002-06-04
6
184 Views
Last Modified: 2010-05-02
Hello all
  i have written a Vb program which creates a custom file(say hello.xyz) and also I have an application to execute this  file.
  Now in Internet explorer or windows explorer I am not able to execute the file on double click of it's icon.
  I have set the folder options in windows explorer
 Now presently ,if i double click on the icon,it will load the application and then   i have to open the file from the menu of my application and select the path and then execute .
  Please do help me
0
Comment
Question by:mohit_rao
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
You have to work in you application code to take the command line (ie the path of the file) into account to load that file. Did you do that already? (the function Command$ returns the command line parameters...)
How have you setup the folder options: did you say in the open method to use <apppath>\<yourapp>.exe "%1", so that the file clicked will be passed as command line parameter to the application?

CHeers
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 50 total points
Comment Utility
to create the association, have a look at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q185453
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
Any progress?
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
This question appears to be abandoned. A question regarding it will be left in the CleanUp
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Formula to Randomize Data Set for Time Series Visual 1 72
Access 2016 VB code 9 86
DIR issue 7 46
Add and format columns in vb6 7 20
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…
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.
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…
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…

744 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

17 Experts available now in Live!

Get 1:1 Help Now