473,606 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Start a Program from an ASP Page?

Hello,

Is there a way to start a program on the client computer from an asp page?
I.E. The user clicks a button, and word starts up. (of course if they have
word on their comp.)
Thanks,

Chuck
Nov 19 '05 #1
5 1262
If the link downloads a .doc file and the user allows this (via configuration
or prompt), then sure.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,

Is there a way to start a program on the client computer from an asp
page? I.E. The user clicks a button, and word starts up. (of course
if they have word on their comp.)

Thanks,

Chuck


Nov 19 '05 #2
Standard browser security settings prohibit this behavior.
One way around it would be to send the user a blank .DOC file, which it will
open in Word after the user accepts the prompt.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Charles A. Lackman" <Ch*****@Create ItSoftware.net> wrote in message
news:OW******** ******@TK2MSFTN GP15.phx.gbl...
Hello,

Is there a way to start a program on the client computer from an asp page?
I.E. The user clicks a button, and word starts up. (of course if they
have
word on their comp.)
Thanks,

Chuck

Nov 19 '05 #3
Thanks,

What I am trying to accomplish is the following:

I have an application that allows the user to draw a picture. What I am
looking for is, once the client download the program and installs it, when
they visit my web site and click on a button, that the program executes if
it is installed.

Simular to resident ActiveX controls used on other web sites like
PCPitstop.com

If I am not thinking right on this matter, how should I be thinking?

Thanks,

Chuck
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:47******** **************@ msnews.microsof t.com...
If the link downloads a .doc file and the user allows this (via
configuration
or prompt), then sure.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,

Is there a way to start a program on the client computer from an asp
page? I.E. The user clicks a button, and word starts up. (of course
if they have word on their comp.)

Thanks,

Chuck



Nov 19 '05 #4
With an activex control you could do this, because activex controls have
more privileges than standard javascript.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Charles A. Lackman" <Ch*****@Create ItSoftware.net> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Thanks,

What I am trying to accomplish is the following:

I have an application that allows the user to draw a picture. What I am
looking for is, once the client download the program and installs it, when
they visit my web site and click on a button, that the program executes if
it is installed.

Simular to resident ActiveX controls used on other web sites like
PCPitstop.com

If I am not thinking right on this matter, how should I be thinking?

Thanks,

Chuck
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:47******** **************@ msnews.microsof t.com...
If the link downloads a .doc file and the user allows this (via
configuration
or prompt), then sure.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,

Is there a way to start a program on the client computer from an asp
page? I.E. The user clicks a button, and word starts up. (of course
if they have word on their comp.)

Thanks,

Chuck


Nov 19 '05 #5
I have a vb6 control that allows for a person to scribble on an area on a
web page.

Most of the time the control does not work on peoples computers becuase of
their security setting.

Is there a way to make a button on the page that they can click that will
download the control and make it work whenever they go to the web page (so I
won't get all these security problems)?

I know how to put the button on the page and how to make it download, but I
am not sure if this will solve the problem and what file to have them
download and how it would get installed.

I have a cab file that contains the following files. If this is what is
needed how do you install it?

Msvbvm60.dll
MyControl.inf
MyControl.ocx

I am trying to find a work around to make this always work.

Thanks,

Chuck

"Charles A. Lackman" <Ch*****@Create ItSoftware.net> wrote in message
news:OW******** ******@TK2MSFTN GP15.phx.gbl...
Hello,

Is there a way to start a program on the client computer from an asp page?
I.E. The user clicks a button, and word starts up. (of course if they have
word on their comp.)
Thanks,

Chuck

Nov 19 '05 #6

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

Similar topics

75
9838
by: Beni | last post by:
I have been programming in C for about a year now. It sounds silly, but I never took the time to question why a C(or C++ or Java) program execution begins only at the main(). Is it a convention or is there some deeper underlying reason?
12
4089
by: GTi | last post by:
I have small program that always must be running when a user is logged on. Since users can close this program I must create a program that always check if this program is running. So I created a program in C# (my first!!) and it works with one major problem. This program detects when the desktop program is not running and starts it again. All works as expected BUT The desktop program is running as a SYSTEM user. That is not what I...
4
3568
by: Jesse Cates via DotNetMonster.com | last post by:
I am trying to launch a command-line program that came with a program called Live Stats. This command-line program is used to automate configuration of Live Stats. In order to test this, I am just calling the program with no arguments, which just returns some "how to use" text, and requires no user input. The problem is that once I do a .start on the process, the program just hangs indefinitely. I can see it running in the process list on...
5
13412
by: SiD` | last post by:
when starting a windows service writte in vb.net, a messagebox appears: cannot start service from the command line or a debugger. A windows service must first be installed using installutil.exe and then startede with the serverexpl, windows services or the NET START command. tryed also installing with installutil: it says there is no install packs. how can I make my service work in design mode and in normal runtime mode?
1
1927
by: Frank | last post by:
Hi, I use the standard example to start a program: Private Sub StartWithArguments() ' Declare and instantiate a new process component. Dim myproc As System.Diagnostics.Process myproc = New System.Diagnostics.Process ' Do not receive an event when the process exits. myproc.EnableRaisingEvents = False ' Start Internet Explorer, passing in a Web page.
2
2556
by: Jan Paul van de Berg | last post by:
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my site. The tracking code must be sent to the client when the user clicks the download button. At the same time, the download must start. The download button links to this page: - Possibility 1, server side redirect to executable...
16
2518
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client uses IE to talk with a server. The user on the client (IE) sees an ASP net page containing a TextBox. He can write some text in this text box and push a submit button.
4
21713
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a webserver to see if service A needs to be updated. What service B does if it sees their is an update for service A is to download a new copy of the service A executable, stop service A, replace the executable with the new copy, and start service B...
4
8450
by: =?Utf-8?B?YmlsbA==?= | last post by:
i'm using VS2005, VB.NET windows forms application when I try to open a web page using process.start, i get an error: "application not found" I'm using this syntax: System.Diagnostics.Process.Start("http://www.microsoft.com/") It works if I do it like this (thank you HKW), but what if the user doesn't use IE, but uses some other browser?
0
8009
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
8432
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
8428
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
8078
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
6753
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
5962
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
5456
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3964
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1548
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.