rss
twitter
facebook

Home

HTML 5- Facebook

http://cdn.livestream.com/grid/LSPlayer.swf?channel=facebookeducation&clip=pla_98824c1a-a2e1-4831-9b9e-c5cd23f5d8eb&autoplay=false
Read More

HTML 5 on Visual Studio 2010 and 2008

Some love and others hate, HTML 5 seems to be coming to share the waters.
It is possible to work with HTML 5 in Visual Studio 2010 and
Visual Studio 2008 for this follow the steps below:
1) The first thing to do is download a file package that is in this link, it have a file with the xml schema, files and records of the four windows.
2) Now we will copy or move the file "html_5.xsd" to "C: \ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \ Packages \ schemas \ html"



http://www.4shared.com/photo/crBo94ti/OnExplorer.html


3) Execute the registry file "VS-2010-x64.reg" or "VS-2010-x86.reg"according to your installed version 64 bits or 32 bits.

  4) Now we will validate these changes, open up VS 2010 and go to "Tools> Options> Text Editor HTML>> Validation ", and HTML5 validation profile must be available as shown in the picture below.







http://www.4shared.com/photo/v2NgC8ba/OnVisualStudio.html




5) Restart Visual Studio 2010 or 2008 and good work.

html5-vs2010.rar Install Step two to install
HTML5Setup.msi Step one to install

Code by http://rodrigodotnet.wordpress.com/2010/10/13/visual-studio-2010-com-suporte-para-html5/



Read More

Hacks Css

/* Firefox */
 @-moz-document url-prefix()
 {
.arrowlistmenu { margin-top:-10px }
 }

  /* Safari */
 @media screen and (-webkit-min-device-pixel-ratio:0)
 {
.arrowlistmenu { margin-top:-10px }
 }
Read More

Get Years From 1980

Send the RecordList Years below1980

public void MssGetYears(out RLYearsRecordList ssOutput) {
            ssOutput = new RLYearsRecordList(null);
            int currentYear = DateTime.Now.Year;

            for (int i = currentYear; i >= 1980; i--)
            {
                RCYearsRecord rcYear = new RCYearsRecord();
                rcYear.ssSTYears.ssYear = i.ToString();
                ssOutput.Append(rcYear);
            }
            // TODO: Write implementation for action
        }

Code By http://informatictips.blogspot.com/
Read More

Radom Colours

        public void MssRandomColour(out string ssColour)
        {
            ssColour = string.Empty;
            Random random = new Random();
            System.Threading.Thread.Sleep(250);
            char[] valid = { 'A', 'B', 'C', 'D', 'E', 'F', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0'};
            StringBuilder sb = new StringBuilder("");
            for(int i = 0; i < 6; i++)
            {
                sb.Append(valid[random.Next(valid.Length)]);
            }
            ssColour = "#" + sb.ToString();       

            // TODO: Write implementation for action
        }
Read More

ConvertToKbAndMb

public void MssConvertToKbAndMb(string ssbytes, out string ssKb, out string ssMb)
{
            ssKb = string.Empty;
            ssMb = string.Empty;

            // Convert bytes to megabytes.
            double megabytes1 = ConvertBytesToMegabytes(double.Parse(ssbytes));

            ssMb = Math.Round(megabytes1, 2).ToString() + " Mb";

            // Convert bytes to kilobytes.
            double kilobytes = ConvertBytesToKilobytes(double.Parse(ssbytes));

            // Write the result.
            ssKb = Math.Round(kilobytes).ToString() + " Kb";


            // TODO: Write implementation for action
        } // MssConvertToKbAndMb


        static double ConvertBytesToMegabytes(double bytes)
        {
            return (bytes / 1024f) / 1024f;
        }

        static double ConvertBytesToKilobytes(double bytes)
        {
            return bytes / 1024f;
        }
Read More
 
Powered by Blogger