1) couple of HTML files in which javascript is embeded…..
My Requirements
1) I want my whole website to be in exe format so that i can protect my javascript code.
2) or tell me how to open website inside the vb6 program …so that i can build a exe. And yeah i want the webpages to use the Internet Explorer but i want only the titlebar…..nothing else in the window frame.
3) if you know any method to get it done through java … then please give me the exact codes without any errors….i dont know coding that much …i just started coding.
Note: Please dont ask me to use html2exe converter …..i tried using that but some javascript and html frames dont work. if you know any other software which can do the job correctly then please let me know. And please give detailed explanations in your vb codes …..i am a newbie in vb just started learning 3 days ago…
The idea:
The whole idea is to make those webfiles act like a software. Like a standalone exe
Any help would be aprreciated….I have been searching all over the net for 2 weeks…..please help
Thanks Friends
Looking forward for your replies
Regards
-Shubanki
I’m sure what you’re asking could be achieved, but I’m also sure that nobody is going to write a complete solution for you just because you’re new to programming. That’s not how the world works.
It sounds like you want to write your software in HTML/JavaScript, but distribute it like a standalone program. This could theoretically be achieved with some kind of extracting program, where the executable would be bundled with all the HTML and JavaScript source code. The executable would read the files from within itself, save them temporarily elsewhere, and then invoke the system’s default browser to open an index file. Then the temp files could be cleaned up when the program exited.
This should be relatively simple to do with vb6, although I have not programmed in vb6 for quite some time.
That being said, however, this is, in every way, a bad idea. First, vb6 is an outdated technology and is no longer supported. Second, you’re adapting all of the shortcomings of a web application, and not taking advantage of any of the benefits, AND making your life harder by writing extra standalone code that won’t work in many places. So you’ve taken a web application and made it less portable, where web applications are supposed to excel at portability; and you’re still going to have to deal with the fact that it’s still a web application no matter which way you build it — your GUI will be harder to develop and be less rich than a desktop application, you’ll have to deal with supporting multiple browsers, it’ll be more painful to try and work with the machine the app is running on, AND you still won’t be protecting your JavaScript, since there’s no way to completely protect your JavaScript.
My suggestion to you is to learn VB.Net rather than VB6 and develop an actual desktop application, or (if your application is more comfortable on the web) just develop a web application, put it on the web, and let users load it with their web browsers.