Solved

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

Posted on 2002-06-04
6
186 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]
ID: 7053301
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 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7053582
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
ID: 7053745
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7128822
Any progress?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7297403
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
ID: 7373239
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to make an ADE file by code? 11 85
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 52
Problem to With line 4 57
VB 6 error 5 in windows 10 but not in XP 7 56
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

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