954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Using .exe files on web sites as on own computer

Hi everyone....
Could anyone tell me... I have a C++ program, source and exe. And I have a txt file that acts as a database. That program reads and operates with that database and is intended to be useable on my one site. Now... what I want to know is... how can I set things up so users visiting site, by running that program, can see same thing that I see when I run the program. I was planning to put both txt and exe on server and call exe them through hyperlink located on site. I'm new to this but I think this is not a solution. I have talked to some people and they said it would be best to integrate the program as part of that site, so no exes aren't used. Only thing that visitors have to do is to browse through the site as they were browsing through database...

Alibeg
Junior Poster in Training
81 posts since Aug 2008
Reputation Points: 11
Solved Threads: 11
 

An option could be to change your exe to a web service. Communicating with an executable from a web application and distributed application is not something you normally want to do and super complicates things.

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

I guess it would be best to write the same program in HTML or PHP as a part of site... Or to organise links in site to be used as menu buttons... I'm not sure which.

Alibeg
Junior Poster in Training
81 posts since Aug 2008
Reputation Points: 11
Solved Threads: 11
 

If you have functionality in the exe then go the webservice route

If you have display then use php or html, for that

Here's a sample of php calling C# web service
http://randompost.ca/random/php-calling-c-net-webservice/

For c++ it will be a little different, but thats the idea

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

thanks ppl!

Alibeg
Junior Poster in Training
81 posts since Aug 2008
Reputation Points: 11
Solved Threads: 11
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You