Need to run .exe game file inside web page - html

I have a .exe game in a folder (it's running without setup) and need to upload it to my hosting so it can view and run it inside my website WordPress page, is it possible?

No, it would be very stupid and unsafe to give browsers the control to run any binary executable via any webpage

Related

how to show stencil JS build on html without localhost?

How to show stencil JS build on html without localhost ?
It is running on local server but I want only running the html file.
enter image description here
I am guessing you may have tried using the files directly from your local machine. This wont work because it will be blocked by CORS issue. Stencil has a lot of requests to load files to your browser when you use the webcomponet.
Possible Solution.
If all scripts can be bundled in to a single javascript file then it will be possible to use this without hosting.

How to test HTML/CSS files from PC on mobile device

Here's the situation:
I have a folder on my PC containing a single HTML file, a CSS file, and an images folder. I've been testing it through the browser on my PC, but I wanted to run the same files off my Android to test on mobile. I zipped the entire folder, emailed it to myself, and then downloaded it and unzipped it on my Android. When I click on the HTML file I can open the page on the mobile browser, but it appears that the CSS file is not loading at all, despite all of the files still being in the same folder together on my phone. Is there an obvious problem I'm missing?
If the issue is coming from your phone and not the file, try to upload it on a free web host, like byethost, and open it directly trought internet.
You'll need to get your files into a web server.
If you don't have an external site you can use, you can still do it with a local web server. Depending on your OS, options for a local web server include IIS, Apache (via XAMPP on Windows), or even debug mode from an IDE like Visual Studio.
Next, get a tunnelling service like ngrok or localtunnel. When you run it, it will give you a temporary external website address that redirects to your local web server. You can then use your mobile device to test.

Download .msi to client and run automatically

Here's the requirement:
1. An uninstall .msi is packaged and placed in IIS server location.
2. The user would be presented with a html page or asp.net page with a link shown in the page.
3. Clicking link in the page, the .msi should be downloaded to the client machine and automatically run.
My main doubt is whether, we can download and automatically run the .msi.
Please share different approaches to implement this requirement.
Thanks in advance.
You cannot do that. Thats what you call 'malicious scripts' unfortunately. Only if he downloads it manually, and runs it, it will be installed.
As Christopher Painter has already pointed out you could use ClickOnce to achieve it, its one of the Deployment Strategy of the ClickOnce technology.
Install from the Web or a Network Share
Using this strategy, your application is deployed to a Web server or a
network file share. When an end user wants to install the application,
he or she clicks an icon on a Web page or double-clicks an icon on the
file share. The application is then downloaded, installed, and started
on the end user's computer. Items are added to the Start menu and the
Add/Remove Programs group in the Control Panel.

Configure flex sandbox for server local files

I developed a flex application that loads images from the fileSystem. You just specify the path to the image, then the app brings some data from local webservices, and then flex loads the image and shows them to the user in an specific way.
I tested it by running the application from FlashBuilder as a WebApplication... so far no problems at all. However when loading the swf from a webpage, on a deployment environment (I.E: JBoss as the web application server) it doesn't loads anything...
My guess is that since now the swf is on the web server context, it can't load files from the local filesystem (I.E: /Users/username/files/myFile.jpg)... is this correct?? If it is... then what should I do in order to load the files correctly?? Or should I upload the files on the server first and then set the file path to an URL pointing to my web server resources?
Thanks a lot.
Flex is able to interact with the users file system without the need for httpservice middle ware. Meaning, I go to your your webpage with your flex app, I am able to load images from my filesystem to view in the app. However, if you want to the user to view images from the server that hosts the swf then you will need httpservice calls to a php, jsp, perl scripts or the like to get the data from your server.

HTML uploading problem

i want to upload my first website (it is a simple html file) and when i write on the browser www.examplesite.com it just don't open the site, it opens a raw directory listing where i have to click the "index.html" (which is my site) to get redirected to the real site. How can i fix this? Thanks :)
Do you control the webserver? If so you need to tell the server (ie, Apache, IIS) to use index.html as the "Directory Index". If not ask your ISP to enable it.
Webservers can be configured to server different things as the "default" webpage if browsing to a folder - normally, your local, friendly, server administrator should be able to tell you what name(s) to use - index.html is common, but you could try "default.htm" if it's hosted on a Windows server.