I have developed LMS based application, and looking for scorm player integration and moodle integrated with scorm. So im trying integrate moodle with ASP.Net
I have found the solution for moodle integration with .net,
This package is used for viewing the scorm based materials in asp.net application via moodle,
create moodle web application in iis/apache
Create new windows control library
add following component as refference
microsoft.mshtml & microsoft internet controls
rename user page name as scormplayer.cs and add following code in code behin
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Threading; using System.Security; using System.Security.Permissions; using System.Reflection; using mshtml; using SHDocVw;
public partial class SCORMPlayer : UserControl { public SCORMPlayer() { InitializeComponent(); }
#region Private data member declaration
private string _courseName;
public string CourseName { get { return _courseName; } set { _courseName = value; } } private string _courseShortName;
public string CourseShortName { get { return _courseShortName; } set { _courseShortName = value; } } private string _loginID;
public string LoginID { get { return _loginID; } set { _loginID = value; } } private string _password;
public string Password { get { return _password; } set { _password = value; } } private string _categoryID;
public string CategoryID { get { return _categoryID; } set { _categoryID = value; } } private string _newUserName;
public string NewUserName { get { return _newUserName; } set { _newUserName = value; } } private string _newPassword;
public string NewPassword { get { return _newPassword; } set { _newPassword = value; } } private string _firstName;
public string FirstName { get { return _firstName; } set { _firstName = value; } } private string _lastName;
public string LastName { get { return _lastName; } set { _lastName = value; } } private string _emailID;
public string EmailID { get { return _emailID; } set { _emailID = value; } } private string _city;
public string City { get { return _city; } set { _city = value; } } private string _country;
public string Country { get { return _country; } set { _country = value; } } private string _enrollID;
public string EnrollID { get { return _enrollID; } set { _enrollID = value; } } private string _remoteDomainURL;
public string RemoteDomainURL { get { return _remoteDomainURL; } set { _remoteDomainURL = value; } }
private string _description;
public string Description { get { return _description; } set { _description = value; } } private string _sessionKey;
public string SessionKey { get { return _sessionKey; } set { _sessionKey = value; } } private int _UserType;
public int UserType { get { return _UserType; } set { _UserType = value; } } private string _sequenceID;
public string SequenceID { get { return _sequenceID; } set { _sequenceID = value; } }
appWin = (IntPtr)ie.HWND; SetParent(appWin, ptr); // Remove border and whatnot SetWindowLong(appWin, GWL_STYLE, WS_VISIBLE); // Move the window to overlay it on this window MoveWindow(appWin, 0, 0, this.Width, this.Height, true);
// Delay for it to get the message System.Threading.Thread.Sleep(1000); // Clear internal handle appWin = IntPtr.Zero; Logout(); //LogoutandClose(); base.OnHandleDestroyed(e);
}
}
Web Config Changes: adding this line to <appSettings> section:
<add key="SCROMDomainUrl" value="moodle web application url" /> <add key="ASUserId" value="moodle site administrator userid"/> <add key="ASPassword" value="moodle site administrator password"/>
Hi,I'm also facing your scenario of integrating asp.Net with Moodle.I'm not much experienced in asp.net and no much idea abt moodle.Can you plz guide me how shd i do the integration from basic stepwise.I'm placed on a project where I've to use DotNNetNuke(ASP.net)
with Moodle(PHP) where clients should be able to access moodle content in Asp.net.
s4lin4u
Member
710 Points
169 Posts
Moodle integration with asp.net
Jul 30, 2011 03:36 PM|LINK
Hi,
Anybody can help me how to integrate the moodle web application with ASP.Net
Thanks in Advanced,
tehremo
Star
10540 Points
1704 Posts
Re: Moodle integration with asp.net
Jul 31, 2011 11:29 AM|LINK
Moodle is a PHP application. What can of integration are you looking to do?
s4lin4u
Member
710 Points
169 Posts
Re: Moodle integration with asp.net
Aug 01, 2011 07:53 AM|LINK
Hi,
I have developed LMS based application, and looking for scorm player integration and moodle integrated with scorm. So im trying integrate moodle with ASP.Net
s4lin4u
Member
710 Points
169 Posts
Re: Moodle integration with asp.net
Sep 08, 2011 07:28 AM|LINK
Hi,
I have found the solution for moodle integration with .net,
This package is used for viewing the scorm based materials in asp.net application via moodle,
create moodle web application in iis/apache
Create new windows control library
add following component as refference
microsoft.mshtml & microsoft internet controls
rename user page name as scormplayer.cs and add following code in code behin
Web Config Changes:
adding this line to <appSettings> section:
<add key="SCROMDomainUrl" value="moodle web application url" />
<add key="ASUserId" value="moodle site administrator userid"/>
<add key="ASPassword" value="moodle site administrator password"/>
Where needed, add the control itself:code behinbefore that pls take care of login into moodle as student userGood Luck!srividhyavat...
Member
92 Points
281 Posts
Re: Moodle integration with asp.net
Oct 27, 2011 02:40 PM|LINK
Hi,I'm also facing your scenario of integrating asp.Net with Moodle.I'm not much experienced in asp.net and no much idea abt moodle.Can you plz guide me how shd i do the integration from basic stepwise.I'm placed on a project where I've to use DotNNetNuke(ASP.net) with Moodle(PHP) where clients should be able to access moodle content in Asp.net.