hello,
i work on a private enterprise intranet. we now have a business need
for opening other desktop applications, from my web app's click events.
(my application is not entirely complete, so when user's click some of
the absent-functionality, we need the desktop app to fire up). some of
these apps are started via the command-line.
is this possible? i imagine so, even if it meant working w/ ActiveX
controls or whatnot.
can anyone point me in the proper direction?
thanks,
matt 8 1289
Hi Matt,
With the proper permissions, a Web page can run an application using
Process.Start(myFavoritesPath)
Process.Start("execpgm.exe", "param") http://msdn2.microsoft.com/en-us/library/53ezey2s.aspx
Beware that a program that launches a GUI is going to get you into trouble
because there's nobody around to provide user input such as text and clicks.
If your Winapp exposes an object model via COM, you'd be better to call
those methods programmatically.
Ken
Microsoft MVP [ASP.NET]
<ma**@mailinator.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
hello,
i work on a private enterprise intranet. we now have a business need
for opening other desktop applications, from my web app's click events.
(my application is not entirely complete, so when user's click some of
the absent-functionality, we need the desktop app to fire up). some of
these apps are started via the command-line.
is this possible? i imagine so, even if it meant working w/ ActiveX
controls or whatnot.
can anyone point me in the proper direction?
thanks,
matt
excellent.
as for the user and clicking, it should be fine. the web app is mostly
finished, but where it isnt we want to open up the proper standalone
apps. so say they click on a link for an unfinished webpage, the link's
click code-behind will open the corresponding desktop app.
thanks,
matt
Ken Cox [Microsoft MVP] wrote:
Hi Matt,
With the proper permissions, a Web page can run an application using
Process.Start(myFavoritesPath)
Process.Start("execpgm.exe", "param")
http://msdn2.microsoft.com/en-us/library/53ezey2s.aspx
Beware that a program that launches a GUI is going to get you into trouble
because there's nobody around to provide user input such as text and clicks.
If your Winapp exposes an object model via COM, you'd be better to call
those methods programmatically.
Ken
Microsoft MVP [ASP.NET]
<ma**@mailinator.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
hello,
i work on a private enterprise intranet. we now have a business need
for opening other desktop applications, from my web app's click events.
(my application is not entirely complete, so when user's click some of
the absent-functionality, we need the desktop app to fire up). some of
these apps are started via the command-line.
is this possible? i imagine so, even if it meant working w/ ActiveX
controls or whatnot.
can anyone point me in the proper direction?
thanks,
matt
Hi Matt,
I was referring to running a desktop app only on the Web server, not the
client.
You'll have a ton of problems trying to open a Windows app on each user's
desktop from a browser link - if that's what you meant.
Ken
Microsoft MVP [ASP.NET]
<ma**@mailinator.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
excellent.
as for the user and clicking, it should be fine. the web app is mostly
finished, but where it isnt we want to open up the proper standalone
apps. so say they click on a link for an unfinished webpage, the link's
click code-behind will open the corresponding desktop app.
thanks,
matt
Ken Cox [Microsoft MVP] wrote:
>Hi Matt,
With the proper permissions, a Web page can run an application using
Process.Start(myFavoritesPath) Process.Start("execpgm.exe", "param")
http://msdn2.microsoft.com/en-us/library/53ezey2s.aspx
Beware that a program that launches a GUI is going to get you into trouble because there's nobody around to provide user input such as text and clicks.
If your Winapp exposes an object model via COM, you'd be better to call those methods programmatically.
Ken Microsoft MVP [ASP.NET]
<ma**@mailinator.comwrote in message news:11**********************@75g2000cwc.googlegr oups.com...
hello,
i work on a private enterprise intranet. we now have a business need
for opening other desktop applications, from my web app's click events.
(my application is not entirely complete, so when user's click some of
the absent-functionality, we need the desktop app to fire up). some of
these apps are started via the command-line.
is this possible? i imagine so, even if it meant working w/ ActiveX
controls or whatnot.
can anyone point me in the proper direction?
thanks,
matt
Ken Cox [Microsoft MVP] wrote:
You'll have a ton of problems trying to open a Windows app on each user's
desktop from a browser link - if that's what you meant.
it is. what sort of problems are there? i know where each desktop app
lives on the file structure of every client machine; these are
scripted-installs on unflexible office machines.
isnt this what activeX is for -- to run local (client) programs? i cant
imagine it being that difficult...
do you know which libraries will help me accomplish this?
thanks,
matt
Hi Matt,
Yes, ActiveX will do that, but users need to handle the warning dialogue
boxes that IE throws up.
If you're working in the .NET world, you'd want to explore ClickOnce too.
Ken
Microsoft MVP [ASP.NET]
<ma**@mailinator.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>
Ken Cox [Microsoft MVP] wrote:
>You'll have a ton of problems trying to open a Windows app on each user's desktop from a browser link - if that's what you meant.
it is. what sort of problems are there? i know where each desktop app
lives on the file structure of every client machine; these are
scripted-installs on unflexible office machines.
isnt this what activeX is for -- to run local (client) programs? i cant
imagine it being that difficult...
do you know which libraries will help me accomplish this?
thanks,
matt
Ken Cox [Microsoft MVP] wrote:
Yes, ActiveX will do that, but users need to handle the warning dialogue
boxes that IE throws up.
not a problem. in fact, i realized that the most lo-tech solution would
do the same: <a href="file://PATH">. w/ that i can load up the other
apps.. works so far in my limited tests. just gotta figure out if i can
add command-line switches w/ that.
If you're working in the .NET world, you'd want to explore ClickOnce too.
i looked up ClickOnce, but it appears to be a type of .NET 2.0
application -- self-contained desktop winapps? on the surface i dont
see how that will help me get ASP.NET 1.1 pages to fire up client
desktop apps..?
thanks,
matt
i looked up ClickOnce, but it appears to be a type of .NET 2.0
application -- self-contained desktop winapps? on the surface i dont
see how that will help me get ASP.NET 1.1 pages to fire up client
desktop apps..?
You can push the latest versions of apps out to them. Probably not worth it
in your case.
Ken Cox [Microsoft MVP] wrote:
i looked up ClickOnce, but it appears to be a type of .NET 2.0
application -- self-contained desktop winapps? on the surface i dont
see how that will help me get ASP.NET 1.1 pages to fire up client
desktop apps..?
You can push the latest versions of apps out to them. Probably not worth it
in your case.
yeah i still dont follow there. the applications are legacy and already
exist, re-writing them in .NET isnt an option at the moment (otherwise,
i wouldnt need the links to fire them up!).
thanks,
matt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: dw |
last post by:
Hello all, I'm having a dickens of a time calling a stored procedure on a
connection. Every time I do, it generates an error "Arguments are of the
wrong type, are out of acceptable range, or are in...
|
by: Arti Potnis |
last post by:
Hi,
I am trying to execute the DB2 load utility from a C program.
lPid = fork();
execl(csExePath, csExeName,csCmd, NULL);
the contents of the parameter variables are as follows:-
|
by: Andrew Banks |
last post by:
I've got the following code as part of a C# web form but am having problems
calling a command. I create a dataset and put some data on the screen. This
works fine. (relevant sample below)
...
|
by: Mervin Williams |
last post by:
I have several tables involved in my application, but the two in question
here are the company and address tables. The company table has
business_address_id and mailing_address_id columns, which...
|
by: Manuel Arroba |
last post by:
asp.net oledb command parameter error calling an as400 program
Hi...
I have an as400 program that I can call it directly and it works:
variable= "xxxx"
sql = "CALL METSIGOP.SIGOPRC ('" +...
|
by: Geler |
last post by:
A theoretical question: Sorry if its a beginner question.
Here is a quote from the MSDN explaning the C/C++ calling convention.. It
demonstrates that the calling function is responsible to clean...
|
by: Andreas Reiff |
last post by:
Hey!
I have a managed c++ app (actually, the app is mixed managed/unmanaged, but
this happens in the managed part) that dynamically generates some program in
c# (with CSharpCodeProvider).
The...
|
by: Muhammad Intikhab Qaiser |
last post by:
Hi
I have following code and problem in calling the oracle stored procedure "DEPTREE_FILL"
Here is the Code:
Command.Connection = connection;
...
|
by: Chris Carlen |
last post by:
Hi:
Having completed enough serial driver code for a TMS320F2812
microcontroller to talk to a terminal, I am now trying different
approaches to command interpretation.
I have a very simple...
|
by: Sagar |
last post by:
Hi.
I am working on a project to migrate a web application from 1.1 to 2.0
Within in the DAL of the application, there is a call to below
function that builds a command object for later use.
...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |