Tutorial System using VB.NET

This is a discussion on "Tutorial System using VB.NET" within the ASP.NET Forum section. This forum, and the thread "Tutorial System using VB.NET are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 29th, 2004, 07:40
New Member
Join Date: Jul 2004
Location: Malaysia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Tutorial System using VB.NET

I'm student and doing assignment for Intelligent Tutorial System where focusing on programming such as C. I need to do a html web page where people can write coding at the page and a server for that page will compile the code and give output such as has an error or not. However i'm stuck and do not know how to do it.i'm planning to using VB.NET application.Those anyone can help me?

  #2 (permalink)  
Old Jul 29th, 2004, 11:15
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
I am not sure on executin an app within .net on a server, but pretty sure this can be done as it was possible in classic asp with the use of a component.

As the C compiler is commandline, I can see no reason why this could not be executed. You will need to output your code from the asp page to a file, execute the commandline compiler (directed at the outputted file), and then return the result to a string, etc. I am pretty sure you can compile in a test mode or do a test compile? Problems arrise when using various switches for the compiler and also the compile order when one compiled code relys on another piece of compiled code, headers, libs, etc.

Not to sure on the security issues here, but would imagine there could be some dangerous results, even with a test compile, such as the compiler crashing!

I would imagine this is very possible, but probably not advisable. I dont think you would find an ISP prepared to host it, unless you did this yourself.

Hope this is some sort of help..
  #3 (permalink)  
Old Jul 29th, 2004, 21:19
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Just found this, might be of help?

http://www.comeaucomputing.com/tryitout/
  #4 (permalink)  
Old Aug 4th, 2004, 03:17
New Member
Join Date: Jul 2004
Location: Malaysia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
oooh ok....thanks...
another suggestion frm my lecturer was if possible he ask me to put the compiler into the webpage itself. i know it's might heavy for user to load the page with the compiler,however that one is just his suggestion.Is it possible to do that? and if possible, anyone can tell me any site that provide the guideline to do that?
  #5 (permalink)  
Old Aug 4th, 2004, 08:16
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Is your lecturer just guessing about what can be done?
  #6 (permalink)  
Old Aug 4th, 2004, 10:05
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I wouldn't want to put the compiler onto the webpage itself...

Not only are you giving them more to download, you're also expecting more to work on completly different systems and browsers and what not? It's easier to keep the compiler on the server as that way you know it always works and you don't have compatability problems.

And Smokie, I expect he's just putting ideas into their heads...
  #7 (permalink)  
Old Aug 19th, 2004, 03:53
New Member
Join Date: Jul 2004
Location: Malaysia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I got a few steps to do that system.Below are the steps:
1) Ask the user to submit their code
- Either via a text box or via an upload
2) Invoke the compiler via the WScript.Shell
3) Have FSO (FileSystemObject) parsing the output directory and move the files in the appropriate folder(s) of the site so that the user can access/download them.
4) Create links to point to the files.

The steps are possible to do in ASP. Is it possible to do in ASP.NET?
  #8 (permalink)  
Old Aug 19th, 2004, 08:38
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Yes most definately. Anything that can be done in ASP can be done in ASP.NET, but faster !!
Closed Thread

Tags
tutorial, system, using, vbnet

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Category/Tutorial System Help Aaron1988 PHP Forum 9 Jan 26th, 2008 14:29
Looking for a 3D tutorial thresherpirate Starting Out 2 Jul 2nd, 2007 11:56
need a pop up tutorial Joolsd186 JavaScript Forum 5 Aug 16th, 2006 17:00


All times are GMT. The time now is 00:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43