14
Flash ActionScript to detect the site
site1=”http://yourdomain.com“;
site2=”http://www.yourdomain.com“;
if ((_url.substr(0,site1.length)!=site1)&&(_url.subst r(0,site2.length)!=site2)) {
code here to stop or change the movies play.
}
site1=”http://yourdomain.com“;
site2=”http://www.yourdomain.com“;
if ((_url.substr(0,site1.length)!=site1)&&(_url.subst r(0,site2.length)!=site2)) {
code here to stop or change the movies play.
}
string time1 = DateTime.Parse(”1:30 PM”).ToString(”t”);
string time2 = DateTime.Now.ToString(”t”);
if (DateTime.Compare(DateTime.Parse(time1), DateTime.Parse(time2)) < 0)
{
Response.Write(”time1 is less than time2″);
}
else
{
Response.Write(”time1 is greater than time2″);
}
Automatically granted permission to connect to SQL Server, and they are not automatically granted administrative privileges.
Resolution: Grant rights to the administrator. Follow these steps:
Step 1: Go to Start > All Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Surface Area Configuration.
Step 2: Click on ‘Add New Administrator’.
Step 3: In the ‘SQL Server User Provisioning on [...]