473,569 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Touch Deployment and passing parameters

I need to write a program, exe, that's called from a third party
application. This third party application allows me to configure the name
of the application to be called. When it executes it calls my program
passing it two parameters, absolute file names that contain data I'm to
process.

I configure it to call my program with this string:

http://ServerName/ShareName/Myapp.exe?

In my tests this works fine except when the parameters contain a '\' which
is in the absolute file names. I'm using the following code to get the full
URL used to call my program and parsing it for the parameters should be easy
if I can get to that point.

Dim domain As AppDomain = AppDomain.Curre ntDomain

Dim obj As Object = domain.GetData( "APP_LAUNCH_URL ")

Any help or insights are greatly appreciated. Thanks in advance.

Regards,

Jim
Nov 20 '05 #1
1 1447
See this article on MSDN by Chris Sells :
http://msdn.microsoft.com/library/de...ms05152003.asp

---
Regards,

Roy Osherove
www.iserializable.com

On Wed, 5 Nov 2003 10:06:23 -0600, "Jim Phelan" <JP@nowhere.com >
wrote:
I need to write a program, exe, that's called from a third party
application. This third party application allows me to configure the name
of the application to be called. When it executes it calls my program
passing it two parameters, absolute file names that contain data I'm to
process.

I configure it to call my program with this string:

http://ServerName/ShareName/Myapp.exe?

In my tests this works fine except when the parameters contain a '\' which
is in the absolute file names. I'm using the following code to get the full
URL used to call my program and parsing it for the parameters should be easy
if I can get to that point.

Dim domain As AppDomain = AppDomain.Curre ntDomain

Dim obj As Object = domain.GetData( "APP_LAUNCH_URL ")

Any help or insights are greatly appreciated. Thanks in advance.

Regards,

Jim


Nov 20 '05 #2

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

Similar topics

2
1936
by: Robert May | last post by:
I have an application that processes text strings using information in a file. I want to deploy this app using no-touch deployment. The config files and everything else are deployed just fine, but the CGT file (compiled Grammar Table) is not, and the program crashes when it attempts to read this file. Is there any way to have this file...
3
2160
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in no-touch-deployment. Could anyone give me directions to documentation piece (or article) that explains how to implement app .config file reading in...
4
2114
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 "no-touch deployment"/"smart clients" but nothing that explains the entire technology, how to implement it effectively or the various aspects involved...
1
1753
by: Bruce W...1 | last post by:
Can "No touch deployment" applications run in IE, like a Java Applet, or are they strictly Windows desktop applications? Thanks for your help.
4
3509
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
0
3035
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
0
1601
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net windows form front-end and a middle tier that's also in VB.Net. The two talk to each other via .Net Remoting. If we just run the windows form exe...
1
3786
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 .NET Framework 2.0, no touch deployment does not work in a reliable manner. See following table. |.net 1.1 |.net 2.0(while keeping 1.1)...
0
1232
by: Spam Catcher | last post by:
Hi all, Are there any 3rd party one touch deployment tools? For example, if I want to move a one touch deployment between servers, I need to do a whole bunch of setting changes (change XML, resign a couple files, etc. etc.). Are there any tools out there that cater to building a "distributable" one touch deployment?
0
7703
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...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
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. ...
1
7681
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...
0
7983
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...
0
6290
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...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.