Trying to convert a web site to an executable file - html

I am trying to create a portfolio disc to sell my photos and to protect my work. I want to put my web site that i created into one exe so that my photos can't be stolen as an extra precaution. I know to use the webBrowser.navigate command with the internet controls but how do I add the web site directory to the exe to make it run in one file? I don't want to install it on the user's computer. Just operate the site's directory from the home page all through 1 exe file. I know its possible to do. I have seen apps like HTMLexe that will convert them for you but the free apps i have found won't allow the javascript and css files to run. Some won't even do it without buying the full premimum version of the software. How can I code this myself?

Related

Google Sites HTML export keeps redirecting to live site

I was trying to export a Google Site I made for a project. I used wget to spider through every page and to download the html files and linked content. When I try to open "index.html" in Chrome, it does open the local HTML file, but it redirects me to the live version immediately after.
Is there anyway I could modify the HTML code so that it won't head straight to the actual website? I just want to have a local copy of it for reference, and I don't want to store it on Drive.
As the HTML file is too big to type out, I have provided it on Pastebin here.
.
You need a better question. No website works offline, or they do if you download all the files to your user’s computer so the user can view it offline. But at some point they had to visit it online to get it.
Or you save it as an html site and hand it to them on a USB drive. That’s offline to that extent. But then it’s not really a website, its an html file.
Or otherwise, if you need a website for your school which can be used by anyone through internet / intranet, you have two options -
1. Create and host a website in an online server
. a. You have to buy space and deploy a server yourself.
. b. They will a run website in their webserver for you. You just need to give money
2. Deploy a webserver in the school's any one machine and get it in other machines.
Rephrase the question for a better answer.

Abobe Air/Flex 4.6 Remote File Viewer

I have a Air/Flex desktop application and I'm trying to create a component within the app that can view files on the web server is is already connected to. It just needs to access one particular folder that will contain PDFs, Images & Word documents. I also want the ability to click on the files and having them open in their default desktop applications.
Is this possible and how would I go about doing this?
It's possible but not with your Flex/AIR app alone. It cannot view files/directories on server by itself but it can communicate with your server via webservices, AMF, or any other back end based service. Typically the back end reads the folder and send this information to your app. Your app can open those files in corresponding app but only if those files are available on disk so your app will have to download them prior to opening them.
Every Application has different needs but I myself usually save anything to a desktop or you can use the App storage container as well. As I use only the desktop I download what is needed OR been asked for, and the visitor has the choice of keeping it or if not needed it gets automatically deleted! this way you can use whatever PDFs, Word, Images etc. use read and write (re-write) as well as creating PDFs on the fly with Images, text etc, and that way a visitor also can print directly at his or her own leisure. regards aktell

How to Browse Server files using Flex4

I need to show the server uploaded files in flex 4.5 for a web application to manage the uploaded files like upload, delete and open for preview.
Can anyone help me How to list the sever side files in Flex action script3.0?
You can't just let Flash player browse your server files. But you could create a workaround.
Make a script on the server which will give you the list of files located at the path you're looking for. Through basic POST you can ask for a list of files for a directory. Then you can display it in your flash side. But remember every actual action that happens to your files MUST happen on the serverside. Also BEWARE such things, because it's really easy to look up network requests that are made in browser, so you may end up with all of your files deleted one day. So make sure you implement some security stuff.

What directory do I put my Spotify apps in on Vista?

I'm trying to develop apps for Spotify using their API. I started using this guide of theirs but got stuck quickly when it said to put my files in "My Documents/Spotify". Vista uses the folder Documents instead of My Documents (and if you try to create My Documents inside your user folder, it merges the contents into Documents), so I'm having trouble getting Spotify to find my apps.
I created folder "hurrdurrdurr" inside C:\Users\myusername\Documents\Spotify\, and put the HTML and JSON files described here inside of C:\Users\myusername\Documents\Spotify\hurrdurrdurr\, but "spotify:app:hurrdurrdurr" gave me a "metadataFailed" message with "Error:appNotFound". Any ideas where I should be putting my app files?
And yes, all of the following things have happened:
I have made my account a developer account
The "Develop" tab has appeared in Spotify
I have tried restarting Spotify after putting the app in the directory
Also, I'm using Spotify version 0.8.3.222.{build ID that I'm too lazy to copy}. I can't find a download link for any preview build, but this is the latest version as far as I can tell. Anyone
The directory should be correct, in my case it is C:\Users\buchetics\Documents\Spotify. Something is probably wrong with your app. Check out the example/tutorial here:
https://github.com/mager/spotify-apps-tutorial
I just cloned the repository and it works with the same Spotify version you are using.
After having a similar problem with getting the Spotify tutorial to load into Spotify on my Windows machine, I figured out what the issue was-- it's very simple. I'm not going to claim this will resolve every issue but a lot of people who are using Windows based machines seem to be running into this issue.
1.Once you download the Spotify tutorial from github, extract it to the folder you've created-- as stated on the github site the folder should be "Spotify".
You can place the "Spotify" folder where ever you please as long as it's on the C: drive (Desktop, My Documents, etc).
Open the "Spotify" folder; then open the "apps-tutorial-master" folder-- within this folder is a folder with a similar name "apps-tutorial-master", cut all the files from within this folder and move them up to the parent of this folder and paste them.
"Spotify"->"apps-tutorial-master"->"apps-tutorial-master"->"THE FILES WE NEED TO MOVE UP ONE DIRECTORY";
The new directory structure should look like:
"Spotfy"->"apps-tutorial-master"->"THE FILES WE MOVED UP ONE DIRECTORY;
Once you've cut and paste the files up one directory you should then be able to get Spotify to load the tutorials. The redundancy in the folder structure comes from the extraction/unzipping by the windows utility.
I hope this helps those who are using a Windows machine.

How to make a web based file uploader which monitors a local folder

I have a java swing based UI which I use to monitor a filesystem folder. Anytime a new file is added to the folder, i upload it onto my web server.
I'd like to drop the java interface and go for a web app with a simple file uploader UI where the user can see the files being upoaded and which were uploaded.
The workflow;
User open browser. Opens the web app page. Browses and selects the local filesystem folder which needs to be monitored. Over the hours as the new files are added to the local folder, they are shown in the web interface and get uploaded onto the server.
My question is what all technologies can i use to implement this. I already have the HTMl based web Ui ready. I now need to monitor(/sync?) a selected local folder. what all do i need to do that. I remember there was something created by google which allowed a background process to monitor folders.
regards
To my knowledge I do not think its possible from the browser because of security concerns. You'll need to rely on client software. You could provide your Java app as a software, similar to Dropbox.