473,785 Members | 2,612 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File association question

Hello ,

After installing the application, if I right click on the file
associated with the application and select the option "Play", it only
opens the application, but does not play the file. The files plays
perfectly fine when I open the file from the application itself.
What properties do I set in the File Types editor of the Setup
project? Currently, the File Types editor has the argument "
/prefetch:7 /Play "%L"" against the action "Play ". Do I need
additional code in the windows application to accomplish this?
Thanks very much,
TS

Jun 22 '06 #1
2 1045
techspirit wrote:
Hello ,

After installing the application, if I right click on the file
associated with the application and select the option "Play", it only
opens the application, but does not play the file. The files plays
perfectly fine when I open the file from the application itself.
What properties do I set in the File Types editor of the Setup
project? Currently, the File Types editor has the argument "
/prefetch:7 /Play "%L"" against the action "Play ". Do I need
additional code in the windows application to accomplish this?
Thanks very much,
TS


The application has to be setup to handle command line parameters. It's
nothing in your file association.
Jun 22 '06 #2

Chris wrote:
techspirit wrote:
Hello ,

After installing the application, if I right click on the file
associated with the application and select the option "Play", it only
opens the application, but does not play the file. The files plays
perfectly fine when I open the file from the application itself.
What properties do I set in the File Types editor of the Setup
project? Currently, the File Types editor has the argument "
/prefetch:7 /Play "%L"" against the action "Play ". Do I need
additional code in the windows application to accomplish this?
Thanks very much,
TS

The application has to be setup to handle command line parameters. It's
nothing in your file association.
Thanks, Chris, for the lead that you gave. I shall continue working on
that.

Jul 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4435
by: Allen | last post by:
I have installed the Updater Application Block, and then I should Deploy the QuickStarts. " Install the QuickStarts After you install the Updater Application Block, you should install the QuickStart applications by using the Deploy QuickStarts option on the QuickStarts submenu. This creates the Web folders required by the QuickStart samples. You can remove the QuickStarts from your computer by using the Uninstall QuickStarts option on...
6
1766
by: Nak | last post by:
Hi there, I am implementing file association from within my application, association that occurs after installation. Anyway, I remember a while back seeing a key in the registry that was used to store the previous registered application to an extension, but I can't for the life of me find out what the exact key was called, I *think* it was "Previous" or something like this. Anyway, what it means is that my application could restore the...
28
20673
by: Tim Daneliuk | last post by:
I have a program wherein I want one behavior when a file is set as executable and a different behavior if it is not. Is there a simple way to determine whether a given named file is executable that does not resort to all the lowlevel ugliness of os.stat() AND that is portable across Win32 and *nix? Thanks, ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: ...
0
1160
by: pek | last post by:
First Question: OK, I know how to make a simple file association with the registry. What I can't figure out is how do I fetch multiple files. So far I managed to add to the context menu an "Add to my app" menu item and associated it with some video formats. Now, if I select 1 video format and click the "Add to my app" my app opens correctly and adds the name in the list. What I can't do is select more than 1 .avi files and do the same...
1
1891
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
I've deployed, successfully, several Clickonce applications. The problem I have is the negative reaction to my software when a user attempts to open a file and no association exists between the file and the application. Now I understand the technical’s of why it currently isn't possible to do this 'out of the box' with Clickonce, and I don't like the con's associated with creating the association programmatically. But my reality is:...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10155
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8978
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7502
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.