C++ Program

G

Guest

I have a C++ executable program at my website. How do I
link or create a webcomponent in order to make it run
from my website via browser rather than download a copy
of the program from my website for running it?
 
K

Kevin Spencer

The browser isn't ON your web site. How do you expect a browser to run
anything without downloading it?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
J

Jens Peter Karlsen[FP-MVP]

Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx?qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website. How do I link or create a
webcomponent in order to make it run from my website via browser rather
than download a copy of the program from my website for running it?
 
G

Guest

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via
whatever browser they have)by clicking on a hyperlink or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible to
create a HTML file as a webcomponent that invokes the C++
program? Or is there another alternative?
 
J

Jens Peter Karlsen[FP-MVP]

The alternative would be a Web Service.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 21:11
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: Re: C++ Program


No, I already have a website and a web host. I'm trying to use FrontPage
2003 to make this happen. The C++ program file has been uploaded to my
remote website server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via whatever
browser they have)by clicking on a hyperlink or something. I already
have a JAVA applet doing something similar at my website because I
execute the JAVA applet as a web component. However, I see no
functionality specifically for C++ executable files. Is it possible to
create a HTML file as a webcomponent that invokes the C++ program? Or is
there another alternative?
 
K

Kevin Spencer

A Java applet is a special kind of executable that can be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via
whatever browser they have)by clicking on a hyperlink or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible to
create a HTML file as a webcomponent that invokes the C++
program? Or is there another alternative?

-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx? qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website. How do I link or create a
webcomponent in order to make it run from my website via browser rather
than download a copy of the program from my website for running it?

.
 
G

Guest

Ok then, should I integrate a C++ program into a Java
applet and let the Java applet execute the C++ program?
Or should I convert the C++ source code into java source
code?

-----Original Message-----
A Java applet is a special kind of executable that can be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via
whatever browser they have)by clicking on a hyperlink or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible to
create a HTML file as a webcomponent that invokes the C++
program? Or is there another alternative?

-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx? qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website. How do
I
link or create a
webcomponent in order to make it run from my website
via
browser rather
than download a copy of the program from my website
for
running it?


.
 
J

Jens Peter Karlsen[FP-MVP]

The first is not possible.
If it can run as a Java Applet you can convert it to that. It will
depend on what it is meant to do.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 22:50
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: Re: C++ Program


Ok then, should I integrate a C++ program into a Java applet and let the
Java applet execute the C++ program?
Or should I convert the C++ source code into java source code?
 
M

MD Websunlimited

Hi,

Is the program a CGI program written in C++? If so, then you would place it in your cgi-bin directory and give it execute
permissions.
 
K

Kevin Spencer

It really depends on what exactly "the C++ program" IS. C++ is merely a
programming language. It doesn't tell us anything about what type of program
it is. Some apps are designed to work in browsers. Some are designed to run
over a TCP/IP network. Some are desktop apps. Some are services. Etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ok then, should I integrate a C++ program into a Java
applet and let the Java applet execute the C++ program?
Or should I convert the C++ source code into java source
code?

-----Original Message-----
A Java applet is a special kind of executable that can be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via
whatever browser they have)by clicking on a hyperlink or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible to
create a HTML file as a webcomponent that invokes the C++
program? Or is there another alternative?


-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx?
qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website. How do I
link or create a
webcomponent in order to make it run from my website via
browser rather
than download a copy of the program from my website for
running it?

.


.
 
R

Rick Budde

If your C++ program compiles into an executable file
(.exe file extension) then it must reside on the computer
on which you are wanting it to run ... as I understand
this thread, on the site visitor's PC.

Thus the exe program would have to be downloaded onto
that PC from the website. For security reasons, hosts
won't want exe files uploaded by you to their server. If
you can talk your host into accepting your exe file,
browers on visitor's PCs probably won't accept this
download.

Thus you are limited to writing your program in a
language that can be run on the server ... Java, CGI,
ASP, PHP whatever your host's server supports.

I hope this clears things up a bit for you.
-----Original Message-----
It really depends on what exactly "the C++ program" IS. C++ is merely a
programming language. It doesn't tell us anything about what type of program
it is. Some apps are designed to work in browsers. Some are designed to run
over a TCP/IP network. Some are desktop apps. Some are services. Etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ok then, should I integrate a C++ program into a Java
applet and let the Java applet execute the C++ program?
Or should I convert the C++ source code into java source
code?

-----Original Message-----
A Java applet is a special kind of executable that can be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages (via
whatever browser they have)by clicking on a
hyperlink
or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it
possible
to
create a HTML file as a webcomponent that invokes
the
C++
program? Or is there another alternative?


-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx?
qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website. How
do
I
link or create a
webcomponent in order to make it run from my
website
via
browser rather
than download a copy of the program from my website for
running it?

.



.


.
 
G

Guest

Thanks for clarification.
Yes, it is .exe application.

However, I understand many users may not accept the
download. This probably due to antivirus software and the
paranoia about ".exe" files. Well, anyway, NASA expressed
a very warm welcome to download this program via internet
last year.

I uploaded it to server without problem and I can even
download without problem to execute it. It is just that I
don't want to execute it this way. I'm considering CGI to
effect program execution, but I think the server probably
would not like the I/O logic of the application since a
timeout may occur due to runtime. I also would need to
learn something more about CGI. I do have a Java applet
version of the program, but I'd like to see the C++
version implement since I/O has a different
experience...also for historical reasons...eg. I did
mention NASA. Actually, the Java applet version was a
conversion with enhancements from the C++ version.

-----Original Message-----
If your C++ program compiles into an executable file
(.exe file extension) then it must reside on the computer
on which you are wanting it to run ... as I understand
this thread, on the site visitor's PC.

Thus the exe program would have to be downloaded onto
that PC from the website. For security reasons, hosts
won't want exe files uploaded by you to their server. If
you can talk your host into accepting your exe file,
browers on visitor's PCs probably won't accept this
download.

Thus you are limited to writing your program in a
language that can be run on the server ... Java, CGI,
ASP, PHP whatever your host's server supports.

I hope this clears things up a bit for you.
-----Original Message-----
It really depends on what exactly "the C++ program" IS. C++ is merely a
programming language. It doesn't tell us anything about what type of program
it is. Some apps are designed to work in browsers. Some are designed to run
over a TCP/IP network. Some are desktop apps. Some are services. Etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ok then, should I integrate a C++ program into a Java
applet and let the Java applet execute the C++ program?
Or should I convert the C++ source code into java source
code?


-----Original Message-----
A Java applet is a special kind of executable that can
be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages
(via
whatever browser they have)by clicking on a hyperlink
or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible
to
create a HTML file as a webcomponent that invokes the
C++
program? Or is there another alternative?


-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx?
qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website.
How
.
 
K

Kevin Spencer

You're not going to be able to do this. The executable is not designed as an
ISAPI or CGI executable.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Thanks for clarification.
Yes, it is .exe application.

However, I understand many users may not accept the
download. This probably due to antivirus software and the
paranoia about ".exe" files. Well, anyway, NASA expressed
a very warm welcome to download this program via internet
last year.

I uploaded it to server without problem and I can even
download without problem to execute it. It is just that I
don't want to execute it this way. I'm considering CGI to
effect program execution, but I think the server probably
would not like the I/O logic of the application since a
timeout may occur due to runtime. I also would need to
learn something more about CGI. I do have a Java applet
version of the program, but I'd like to see the C++
version implement since I/O has a different
experience...also for historical reasons...eg. I did
mention NASA. Actually, the Java applet version was a
conversion with enhancements from the C++ version.

-----Original Message-----
If your C++ program compiles into an executable file
(.exe file extension) then it must reside on the computer
on which you are wanting it to run ... as I understand
this thread, on the site visitor's PC.

Thus the exe program would have to be downloaded onto
that PC from the website. For security reasons, hosts
won't want exe files uploaded by you to their server. If
you can talk your host into accepting your exe file,
browers on visitor's PCs probably won't accept this
download.

Thus you are limited to writing your program in a
language that can be run on the server ... Java, CGI,
ASP, PHP whatever your host's server supports.

I hope this clears things up a bit for you.
-----Original Message-----
It really depends on what exactly "the C++ program" IS. C++ is merely a
programming language. It doesn't tell us anything about what type of program
it is. Some apps are designed to work in browsers. Some are designed to run
over a TCP/IP network. Some are desktop apps. Some are services. Etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ok then, should I integrate a C++ program into a Java
applet and let the Java applet execute the C++ program?
Or should I convert the C++ source code into java source
code?


-----Original Message-----
A Java applet is a special kind of executable that can
be run in a browser.
Not just any executable can.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

No, I already have a website and a web host. I'm trying
to use FrontPage 2003 to make this happen. The C++
program file has been uploaded to my remote website
server root directory via FTP. Now, I wish to have the
program execute when people visit one of my webpages
(via
whatever browser they have)by clicking on a hyperlink
or
something. I already have a JAVA applet doing something
similar at my website because I execute the JAVA applet
as a web component. However, I see no functionality
specifically for C++ executable files. Is it possible
to
create a HTML file as a webcomponent that invokes the
C++
program? Or is there another alternative?


-----Original Message-----
Do you mean a Web Service?
Here you can find info on building a Web Service:
http://search.microsoft.com/search/results.aspx?
qu=Web+Service&View=msdn
&st=b&c=0&s=1&swc=0

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: (e-mail address removed)
[mailto:[email protected]]
Posted At: 16. juli 2004 19:53
Posted To: microsoft.public.frontpage.programming
Conversation: C++ Program
Subject: C++ Program


I have a C++ executable program at my website.
How
do
I
link or create a
webcomponent in order to make it run from my website
via
browser rather
than download a copy of the program from my website
for
running it?

.



.



.
.
 
J

Jim Cheshire

Rick said:
If your C++ program compiles into an executable file
(.exe file extension) then it must reside on the computer
on which you are wanting it to run ... as I understand
this thread, on the site visitor's PC.

Not necessarily.

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top