Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

akhilonly007

@akhilonly007
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • weird issue in simple class declaration
    A akhilonly007

    Hi all, I am trying to make a auto blinking div but while trying to achieve using setTimeout its saying " this.off is not a function" in on method I tried two variations. Please help !!!

    var Light = function(color) {
    this.color = color;
    };

    Light.prototype = {
    ref:null,
    defColor:'black',
    on:function(){
    if(this.ref != null){
    this.ref.css('background-color',this.color);
    window.setTimeout(function(){this.off()}, 5000);
    //window.setTimeout(this.off, 5000);
    }
    },
    off:function(){
    if(this.ref != null){
    this.ref.css('background-color',this.defColor);
    window.setTimeout(function(){this.on()}, 5000);
    //window.setTimeout(this.on, 5000);
    }
    }
    };

    var l1;

    $(document).ready(function(){
    l1 = new Light('red');
    l1.ref=$('#mydiv');
    l1.on();
    });

    akhilonly007@gmail.com

    JavaScript help css com

  • display the items in a combobox
    A akhilonly007

    hey ShivarajKumar it is possible what you are looking for just look at this link for the same http://www.vbforums.com/showthread.php?p=3480955

    akhilonly007@gmail.com

    C#

  • Garbage Collection in C#.
    A akhilonly007

    ok thanks for guiding me from now onwards i will not repeat such mistakes :-)

    akhilonly007@gmail.com

    C#

  • Garbage Collection in C#.
    A akhilonly007

    hey Colin Angus Mackay :-( sorry if i hv written incomplete ans, as others on this forum me too poor in writing english but try to give ans as u hv given i.e point to point

    akhilonly007@gmail.com

    C#

  • Garbage Collection in C#.
    A akhilonly007

    hey Ashwani Dhiman what in your case when you create an object in first line and used in last line it does not matter that you are using the object or not in your code, the thing is the memory which is used by the object is referenced by any variable or not i.e accessible or not by your code when memory location is dangling garbage collector will recollect those hope this will help u :-)

    akhilonly007@gmail.com

    modified on Monday, April 6, 2009 6:31 AM

    C#

  • Digital clock for windows appliction
    A akhilonly007

    hey Ch.Gayatri Subudhi just put a timer and label in ur windows form name them as tmrTime and lblTime in form's load event set

    tmrTime.Interval=1000;
    tmrTime.Enabled=true;

    following is timer's tick event and here we update time in label

    public void TmrTimeTick(object sender, EventArgs e)
    {
    lblTime.Text = DateAndTime.Now.ToLongTimeString();
    }

    akhilonly007@gmail.com

    C#

  • Leap Year Problem...
    A akhilonly007

    hey sah496 this will give u days in month according to month no u have passed to <pre> public int DaysInMonth(int nMonth) { int nDays = 0; switch (nMonth) { case 1: case 3: case 5: case 7: case 8: case 10: case 12: nDays = 31; break; case 4: case 6: case 9: case 11: nDays = 30; break; case 2: int nDay=1; int nYear=GetYear(); DateTime oDate; oDate=Convert.ToDateTime(nDay.ToString()+ "-" + nMonth.ToString() + "-" + nYear.ToString() ,"dd-mm-yyyy"); if (DateTime.IsLeapYear(nYear)) { nDays = 29; } else { nDays = 28; } break; } return nDays; } public int GetYear() { // read year and return }

    akhilonly007@gmail.com

    modified on Monday, April 6, 2009 5:07 AM

    C#

  • how to connect mysql DB ?
    A akhilonly007

    hey Specifically VB and MySQL, there is a very good set of articles there that deal with just that. You should also have a look at here: http://www.vbforums.com/showthread.php?t=469872 It deals specifically with connecting to a SQL Database, but the concepts are exactly the same of MySQL. you may download mysql connector for .net too from following link http://dev.mysql.com/downloads/connector/net/5.2.html Hope that helps!!

    akhilonly007@gmail.com

    Visual Basic
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups