| Author |
Message |
octopi

|
Posted: Mon Apr 19, 2010 12:30 pm Post subject: Re: RE:Is It Possible to make a Web Browser with Turing? |
|
|
ScaryRat @ Sun Apr 18, 2010 7:42 pm wrote:
Yes it is my own choice, and also yes I only plan to create basic features.
Can you please tell me how to use turing to view webpages, then I'll do the rest. Thank you
This project is way over your head, don't attempt to do this for a final project....you'll regret it.
If you want to learn/explore do that for fun in your free time, not when you have an important deadline. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
SNIPERDUDE

|
Posted: Mon Apr 19, 2010 1:08 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| This thread has a great list of project ideas you can use for your final that would be a lot less aggravating to attempt. |
|
|
|
|
 |
USEC_OFFICER

|
Posted: Mon Apr 19, 2010 3:00 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| All of those ideas are good for a final project, and more importantly, you can actually do them in your life-time. (The reason we can't show you how to view web pages is that we don't know. You have to build it from scratch. Which will be hard.) |
|
|
|
|
 |
DtY

|
Posted: Mon Apr 19, 2010 5:00 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
You could probably get a DLL that would embed a Trident frame (IE) into a window, that you could tell to load pages. Wouldn't make too much of a project though, unless you did some more complicated stuff, maybe multiple windows and bookmarks.
I know there was one written for GameMaker (at least, there was when I last used GameMaker), the same DLL should work, but you might need to figure out the proper calls, and you would need to get the window ID (or whatever they have to identify windows on windows), which Turing might not reveal. |
|
|
|
|
 |
ProgrammingFun

|
Posted: Mon Apr 19, 2010 5:10 pm Post subject: Re: Is It Possible to make a Web Browser with Turing? |
|
|
WinID can be determined in this way:
| Turing: |
var winID : int
winID := Window.Open ("position:center;center")
|
|
|
|
|
|
 |
DtY

|
Posted: Mon Apr 19, 2010 5:12 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| Does that give you a proper window ID though, or just something Turing uses internally to keep track of its own windows? |
|
|
|
|
 |
TheGuardian001
|
Posted: Mon Apr 19, 2010 5:20 pm Post subject: Re: Is It Possible to make a Web Browser with Turing? |
|
|
Internal only.
Turing can't, as far as I know, access dll files anyway... So simply embedding an IE frame isn't really an option. |
|
|
|
|
 |
andrew.
|
Posted: Mon Apr 19, 2010 7:43 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| I remember a while ago, I made a program which got the html files from a website, and then parsed it based on the tags. It was a very, very basic web browser that only did text. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
ProgrammingFun

|
Posted: Mon Apr 19, 2010 7:59 pm Post subject: Re: RE:Is It Possible to make a Web Browser with Turing? |
|
|
andrew. @ Mon Apr 19, 2010 7:43 pm wrote: I remember a while ago, I made a program which got the html files from a website, and then parsed it based on the tags. It was a very, very basic web browser that only did text.
Would you mind posting the program and/or the source code?
I'm just interested ...
Nothing urgent tho... |
|
|
|
|
 |
andrew.
|
Posted: Mon Apr 19, 2010 9:05 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| I have to see if I can find it. It's been a really really long time. |
|
|
|
|
 |
SNIPERDUDE

|
Posted: Tue Apr 20, 2010 12:10 am Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| That does sound intriguing. |
|
|
|
|
 |
USEC_OFFICER

|
Posted: Tue Apr 20, 2010 1:44 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
| How hard was it to create it? |
|
|
|
|
 |
andrew.
|
Posted: Tue Apr 20, 2010 4:59 pm Post subject: RE:Is It Possible to make a Web Browser with Turing? |
|
|
It wasn't that hard. But it really only got the HTML files. I would post it, but I can't find it on my computer . It must've got deleted when I got my new computer. |
|
|
|
|
 |
|