473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Deployment Problems


I deployed my project and made a file association, let say that the
extension is .xyz Up to here all works fine. The problems i have are :

1. In the file types editor a verb named "open" is associated with the
action "Open". How can I write the verb "open" in the main program? Can you
please give me an example of an "open" verb.

2. How can I locate the path of the executable file that is invoked when a
file with the extension xyz (the extension of my program) is doubled
clicked?
Nov 15 '05 #1
2 1373
Hello,

1. As far as I remember, you don't have to implement this verb in any
explicit way. What the shell actually does is launching your application
executable passing the opened file as a command line argument. Therefore,
what you should do is checking whether some arguments have been passed in
the command line and open the specified file if necessary.

2. I am not sure what do you mean here. As the file type association is
usually created upon setup, it is the setup routine's task to determine the
installation folder and tune the file association accordingly. When your
application is launched through the file association, you don't usually need
to know where the executable has been started from.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Kyriakos Stavrou" <el*****@mail.ntua.gr> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...

I deployed my project and made a file association, let say that the
extension is .xyz Up to here all works fine. The problems i have are :

1. In the file types editor a verb named "open" is associated with the
action "Open". How can I write the verb "open" in the main program? Can you please give me an example of an "open" verb.

2. How can I locate the path of the executable file that is invoked when a
file with the extension xyz (the extension of my program) is doubled
clicked?


Nov 15 '05 #2
Thanks very match Dmitriy . It works just fine when reading the
Environment.CommandLine string

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:Oh**************@TK2MSFTNGP09.phx.gbl...
Hello,

1. As far as I remember, you don't have to implement this verb in any
explicit way. What the shell actually does is launching your application
executable passing the opened file as a command line argument. Therefore,
what you should do is checking whether some arguments have been passed in
the command line and open the specified file if necessary.

2. I am not sure what do you mean here. As the file type association is
usually created upon setup, it is the setup routine's task to determine the installation folder and tune the file association accordingly. When your
application is launched through the file association, you don't usually need to know where the executable has been started from.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Kyriakos Stavrou" <el*****@mail.ntua.gr> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...

I deployed my project and made a file association, let say that the
extension is .xyz Up to here all works fine. The problems i have are :

1. In the file types editor a verb named "open" is associated with the
action "Open". How can I write the verb "open" in the main program? Can

you
please give me an example of an "open" verb.

2. How can I locate the path of the executable file that is invoked when a file with the extension xyz (the extension of my program) is doubled
clicked?

Nov 15 '05 #3

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

Similar topics

1
by: DB developer | last post by:
Hello friends I am trying to create a deployment project to distribute my VB.NET application with MSDE database. I am using VS.NET with MSDE 2000 deployment toolkit (release candidate) to achieve...
2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
2
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e....
3
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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,...
0
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...

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.