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
M

Member 781610

@Member 781610
About
Posts
18
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dispose()
    M Member 781610

    Hi, Plz go thro the snippet below.

    class C : IDisposable
    {
    double d;
    public C()
    {
    d = 1.999;
    }
    public void UseLimitedResource()
    {
    Console.WriteLine("Using limited resource...");
    }

            void IDisposable.Dispose()
            {
                Console.WriteLine("Disposing limited resource.");
            }
    
            public void getvalue()
            {
                Console.WriteLine(d.ToString());
            }
        }
    

    class DeployResource
    {
    static void Main(string[] args)
    {
    C c;
    using (c = new C())
    {
    c.UseLimitedResource();

            }
            c.getvalue();
    
            Console.WriteLine("Now Outside using statement.");
    

    }

    Output : Using limited resource... Disposing limited resource. 1.999 Now Outside using statement. Now my question is does an object be called even after it is disposed ? i.e. after calling the dispose still i'm able to get the value 1.999. Can any one explain clearly ? :-O Thanx ;)

    Long Live

    C# question learning

  • calling a remote/localhost webservice from asp.net application
    M Member 781610

    Hi, how to call a webservice running in the local host using ajaxtoolkit AutoCompleteExtender. I tried adding reference to the asp.net application, but when tried to set ServicePath all i'm able see was disco, discomap and wsdl files only. I'm using ajaxtoolkit 2.0 and my IDE is VS 2005, framework 2.0 Can any one preach me on this. Thanks and Rgds, S

    Long Live

    ASP.NET visual-studio csharp asp-net wcf tutorial

  • maximum number of web applications in XP SP2
    M Member 781610

    Hi thanks for the reply. Its just a question asked to me in a recent interview. Since, i don't have any idea abt hoisting i'm unable to answer this question. S

    Long Live

    ASP.NET csharp java php asp-net sysadmin

  • maximum number of web applications in XP SP2
    M Member 781610

    How many app each of them can hoiseted viz., ASP.NET, PHP, JSP

    Long Live

    ASP.NET csharp java php asp-net sysadmin

  • maximum number of web applications in XP SP2
    M Member 781610

    I recently attended an interview. there they raised this question. Since i don't have any idea about hoisting i didnt answer this.

    Long Live

    ASP.NET csharp java php asp-net sysadmin

  • maximum number of web applications in XP SP2
    M Member 781610

    Hi, 1) Whats the maximum number of web applications to be hoisted in XP SP2 server. 2) Can u detail of the count of each application(asp.net, php, jsp etc). Plz correct me if the last question is wrong. Thanks, S

    Long Live

    ASP.NET csharp java php asp-net sysadmin

  • crystal report error
    M Member 781610

    Hi, I have a report that runs fine in crystal and windows but can't be displayed in web. The error message as follows "One or more fields could not be found in the result set. Use Verify Database to update the report. Error in File C:\Temp\ProformaVariance {AA4C529B-2790-489C-88F9-00F51695F436}.rpt: The rowset column could not be found. " :confused: I'm using Crystal report version 11.5.0.313 Can any one help me on this. Thanx in advance. Seenivasan

    Long Live

    C# help announcement database

  • Lapse in Window Service
    M Member 781610

    This is how i coded. lDueTime = 60000; lPeriod = 300000; TimerCallback timerDelegate = new TimerCallback(FileOperations); ThreadTimer = new Timer(timerDelegate, null, lDueTime, lPeriod); public void FileOperations() { // My code goes here }

    Long Live

    C# help

  • Lapse in Window Service
    M Member 781610

    Hi thanks for you reply. The service generates a file on a daily basis at a specified time range mentioned in the app config file. For this purpose the service will make a check the current time against the one in config file for every 5 mins. This part works fine. The problem is for example if it check by 12:34:33 pm the next check is performed exactly at 12:39:33 PM. But in course of time say a day or two the checking drifts from 12:34:33 PM to 12:34:34 PM. Like this with in a month the polling time chages to 12:35:XX PM. I wish to put a check on this. B'coz if the file generation time range is between 12:33:00 PM 12:36:00 PM in course of time the service may run without generating the file. Thanx and Rgds,

    Long Live

    C# help

  • Lapse in Window Service
    M Member 781610

    Hi, Recently I have launched a service and it is working fine. The problem now is it lapses a second for every 2 days. :sigh: Is there any workaround to solve this. Can any one advise me on this.

    Long Live

    C# help

  • C# Console app with Crystal report
    M Member 781610

    Hi, I finally had done that. Thanks a lot. Rgds, PLS

    Long Live

    C# csharp

  • C# Console app with Crystal report
    M Member 781610

    Hi, Is it possible to create a pdf document from crystal report from a windows console application( my intention is not to display the report in the application since its a console stuff but to generate and save as pdf file). Thanks and Rgds, PL.Seenivasan

    Long Live

    C# csharp

  • Using User-Defined controls
    M Member 781610

    Hi, Thanks Christian Graus.

    Long Live

    C#

  • how to get client id of textbox in gridview
    M Member 781610

    e.Row.Cells[Index].Controls[Index].ClientID.ToString() Remember the function should have "GridViewRowEventArgs e" as one of its arguments. onclick() event of the button pass the clientId as an argument to the function to execute.

    Long Live

    C# css help tutorial question

  • Using User-Defined controls
    M Member 781610

    Hi, Is it possible to create user-defined controls (.ascx file) and use them in windows applications. If so can anyone provide links, resources. Thanks and Rgds, PLS:suss:

    Long Live

    C#

  • how to write / read image data to /from xml file
    M Member 781610

    hi guyz, is it possible to write / read image data to /from xml file? I just've no idea. Could anyone provide me with code/resource/guidance. Thankx in advance, Long Live

    C# xml tutorial question learning

  • windows password
    M Member 781610

    hi :), i'm presently in a project where i want to use windows password for my users authentication. I don't know how. Could any one please provide me the resources. Thanx, Seenivasan Palaniappan ;) Long Live

    C / C++ / MFC security

  • is Constructor
    M Member 781610

    hai guys :) i'm a newbie to C#. My doubt is is 'InitializeComponent()' is somewhat similar to a constructor. Is there any special features with 'InitializeComponent()'. Could anyone share it with me plz. Thanks in advance Long Live :rose:

    C# csharp
  • Login

  • Don't have an account? Register

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