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
P

Prosanta Kundu online

@Prosanta Kundu online
About
Posts
73
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with Running Classic ASP page in VS2005
    P Prosanta Kundu online

    See this [How to debug classic ASP pages in VS 2005]

    ASP.NET debugging help tutorial

  • How to ignore -ve value while sorting generic list in c#.
    P Prosanta Kundu online

    Write a class that implements IComparer.

    public class myComparer : IComparer
    {
    public Boolean Descending;
    #region IComparer Members

    public int Compare(object x, object y)
    {
        Double obj1   = (Double)x;
        if (obj1 < 0)  obj1 = -(obj1);
    
        Double obj2  = (Double)y;
        if (obj2 < 0)  obj2 = -(obj2);
    
        if (Descending )
        {
            if (obj1 < obj2 )
                return 1;
            if (obj1 > obj2)
                return -1;
        }
        else
        {
           if (obj1 > obj2 )
                return 1;
            if (obj1< obj2)
                return -1;
        }
        return 0;
    }
    
    #endregion
    

    }

    Pass a object of your custom class in ArrayList.sort method

    ArrayList arr = new ArrayList();
    arr.Add(0.3);
    arr.Add(0.2);
    arr.Add(-0.3);

    myComparer objComparer = new myComparer();
    objComparer.Descending = true;
    arr.Sort(objComparer);

    modified on Monday, August 30, 2010 5:31 AM

    ASP.NET csharp algorithms data-structures tutorial

  • alert message box return blank page
    P Prosanta Kundu online

    I have tried with your code and it is working fine. What exact problem you are facing? Try to put a breakpoint and debug it.

    ASP.NET csharp database tools help

  • How to read package object programatically in MS word 2007 (docx file) using c#
    P Prosanta Kundu online

    Check this [http://social.msdn.microsoft.com/Forums/en/vsto/thread/c751c3ae-235d-4327-a26b-74fc297263b6]

    C# csharp hardware help tutorial

  • ie 6/7 div seems to be clearing
    P Prosanta Kundu online

    Try this CSS

    .u_right{ float:right; }
    .u_left {width:auto;float:left}

    And HTML

    <div id="main_body_holder">
    <div id="main_body_left">
    <div class="search_pages">
    <div class="u_left">
    Pages:
    <strong>1</strong>
    </div>

    <div class="u_right">
    <a href="/link">My Things</a>

    <strong>My Stuff</strong>
    </div>

    modified on Monday, August 16, 2010 6:03 AM

    Web Development css help question

  • Purpose of using branding.css?
    P Prosanta Kundu online

    See this [http://www.webmasterworld.com/google_adsense/3698920.htm]

    Web Development css com json question

  • SiteMapPath: Don’t show the root level in breadcrumb
    P Prosanta Kundu online

    Place the following code in Global.asax:

    void Application_Start(object sender, EventArgs e)
    {
    //
    // Register a handler for SiteMap.SiteMapResolve events to hide the
    // root node from SiteMapPath controls.
    //
    SiteMap.SiteMapResolve += new SiteMapResolveEventHandler(HideRootNode);
    }

    static SiteMapNode HideRootNode(Object sender, SiteMapResolveEventArgs e)
    {
    //
    // Hide the root node from SiteMapPath controls by cloning the site
    // map from the current node up to the node below the root node and
    // setting that node's ParentNode property to null.
    //
    SiteMapNode node = SiteMap.CurrentNode.Clone();
    SiteMapNode current = node;
    SiteMapNode root = SiteMap.RootNode;

    if (current != root) // Just in case the current node \*is\* the root node!
    {
        while (node.ParentNode != root)
        {
            node.ParentNode = node.ParentNode.Clone();
            node = node.ParentNode;
        }
        node.ParentNode = null;
    }
    return current;
    

    }

    ASP.NET question

  • Execute the notepad data using querystring [modified]
    P Prosanta Kundu online

    shailrathore wrote:

    I am using querystring to read the notepad data. notepad contains follwing mailto:shail?CC=shail&Subject=test&Body=qtsts

    What does it means? You are reading nodepad data in querystring??

    shailrathore wrote:

    I dont want to use window.open script in notepade file, is there anyway we can open the outlook window using above 'mailto:' data. at the moment it only write the data. http:example.com?name=http:teamspace/sites/notepadefile.txt below is my script

    Your question is not clear. If I understand correctly that you wants to read the data from a text file and prepare the mail body, subject etc and send the email. Is it right?

    JavaScript com data-structures tools tutorial question

  • some IEEE projects in ASP.NET
    P Prosanta Kundu online

    See this [Rule 11]

    ASP.NET csharp asp-net

  • Excel Error :(
    P Prosanta Kundu online

    Don't cross post here. If anybody answers your previous question then you will be notified in your registered email.

    ASP.NET com help

  • Replace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application
    P Prosanta Kundu online

    See the example in VB Code, How to find a imageplaceholder in the document

    Selection.GoTo What:=wdGoToGraphic, Which:=wdGoToFirst, Count:=1, Name:=""
    Selection.Find.ClearFormatting
    With Selection.Find
    .Text = "ImagePlaceHolder1"
    .Replacement.Text = ""
    .Forward = True
    .Wrap = wdFindContinue
    .Format = False
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
    End With

    Also this [link] might help you.

    ASP.NET csharp help tutorial

  • SQL Reporting Services - Print Button not shown in Mozilla
    P Prosanta Kundu online

    I am using SQL Reporting services, it's working perfectly and shows a print button in IE, but not shown in Mozilla Firefox

    .NET (Core and Framework) database

  • Thread from code behind aspx
    P Prosanta Kundu online

    Check this 1. [Threading in ASP.NET] 2. [Multi-Threading in ASP.NET]

    ASP.NET

  • How to find all open browsers ?
    P Prosanta Kundu online

    You cannot find all the open browsers using javascript. You can use Navigator object for getting information about vistor's browser. Check this [http://www.w3schools.com/js/js_browser.asp]. Provide more information about your requirement.

    JavaScript javascript help tutorial question

  • listBox
    P Prosanta Kundu online

    Try this

    private void button1_Click(object sender, EventArgs e)
    {
    //Declare an instance of the open file dialog...
    OpenFileDialog dlg = new OpenFileDialog();

            dlg.ShowDialog();
    
            string fileName = dlg.FileName;
    
            lstBxList.Items.Add(fileName);
            lstBxList.SelectedIndex = -1;
            lstBxList.SelectedIndex = lstBxList.Items.Count - 1;
        }
    
    C# tutorial question

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    P Prosanta Kundu online

    Use late binding for the Find object. See this [http://support.microsoft.com/default.aspx?scid=kb;en-us;313104]

    ASP.NET help sysadmin windows-admin

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    P Prosanta Kundu online

    Try this

    Word.Find oFind = _aDoc.Application.Selection.Find;
    oFind.Execute(ref findText, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing);

    ASP.NET help sysadmin windows-admin

  • Expan/Collapse Table
    P Prosanta Kundu online

    See this [http://mosesofegypt.net/post/Building-a-grouping-Grid-with-GridView-and-ASPNET-AJAX-toolkit-CollapsiblePanel.aspx]

    .NET (Core and Framework) csharp data-structures

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    P Prosanta Kundu online

    What exception r u getting? Also format the code using <pre></pre> tag.

    ASP.NET help sysadmin windows-admin

  • How i Display FLASH image into Netscap Navigator
    P Prosanta Kundu online

    Check this [link]

    ASP.NET csharp asp-net com adobe help
  • Login

  • Don't have an account? Register

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