16,015,945 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ravindranath.net (Top 15 by date)
Ravindranath.net
13-Nov-15 12:35pm
View
It is not the property that is null.. it is the XmlType object it self... so that didn't work.
Ravindranath.net
13-Nov-15 10:52am
View
otherthan xml?
Ravindranath.net
12-Nov-15 13:51pm
View
With the SqlBulkCopy, we can only insert data into one table at a time. My requirement is that, I would like to bulk insert the data into multiple tables at the same time. Meaning, I would like to insert multiple rows into Student and Professors tables at the same time.
Ravindranath.net
12-Nov-15 8:26am
View
the user comes to our application from a different application which is not a .Net application, and we don't authenticate user other than validation his windows user id against the transaction info they pass. How Can I generate the token in that case?
Ravindranath.net
19-Jul-13 11:49am
View
I am really in a big trouble... this is how i am allocating the memory to character pointer...
temp = (char *)calloc(8, sizeof(char));
and this is how i am assinging the value to temp... with todays date..
sprintf(temp,"%02d%02d%04d",month,day,year);
In the above.. if it i increase it from 8 to 9.. then the sprintf will work fine with out any issues but it is breaking the application in other place becasue i am copying the value of temp to some other variable that has length only 8...i increased that one aslo to nine... but it has so mnay links like that.. is there any other way that i can assign the value to temp without increase the lenght to 9.... i really appreciate your help.. i am a C# developer but unluckly working onthis project.
Ravindranath.net
18-Jul-13 13:59pm
View
I read that sprintf usually takes an educated guess as to the new buffer size,i mean the memory size? isn't true?
Ravindranath.net
15-Apr-13 14:35pm
View
Thanks a lot... it worked for me.
Ravindranath.net
11-Apr-13 11:33am
View
I even tried this but still having the issue,,
System.Web.Mail.MailAttachment attachment;
attachment = new MailAttachment(frmScrShotUpload.PostedFile.FileName, MailEncoding.Base64);
mmErrMail.Attachments.Add(attachment);
Would you please help me? i am really in big trouble
Ravindranath.net
22-Jan-13 15:56pm
View
Thanks!! that helps.
Ravindranath.net
9-Jul-12 12:01pm
View
My bad.I am sorry, Can you please let me know what is the best tool to find out client side memory leak, we are using javascript in my applation.
Ravindranath.net
5-Jul-12 18:36pm
View
Please check this link reason and solution of the error:
http://support.microsoft.com/kb/312629/EN-US/
Ravindranath.net
28-Jun-12 14:37pm
View
Do you think those unused directives occupy the memory?
Ravindranath.net
25-Jun-12 11:30am
View
We use windows authentication in our applcation, we aren't handling the session_end event when user closes the browser. My applcation is a letter generation app, we are running the endurance test for 8 hours, we are closing the browser after creating each letter and opening the new ie window for creating new letters,My Question is, if session didn't get expire as soon as we close the browser, how abt the objects are they get unreferenced as soon as we close the window?
Ravindranath.net
11-Jun-12 17:15pm
View
Just want to know how the memory will be allocated( In stack and heap) if we create the instanace of an object inisde the for loop or foreach. Also, want to know if we instantiate the objects inside for loop can casue memoryleak or not, because we are dereffering the variable.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MemoryLeakageTest
{
class Program
{
static void Main(string[] args)
{
for (int j = 0; j <100000000000000000; j++)
{
for (int i = 0; i < 100000000000000000; i++)
{
test t = new test();
t.k = i;
Console.WriteLine(t.k);
}
}
}
}
class test
{
public int k;
}
}
Ravindranath.net
10-Jun-12 19:31pm
View
//if there is class like this. I am just disposing the Obj1 here,assume that obj2 is managed object. do you think that obj2 will be cleard by GC eventhough if we call supress?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AdminTools
{
//if there is class like this. I am just disposing the Obj1 here,assume that obj2 is managed object. do you think that obj2 will be cleard by GC eventhough if we call supress?
class Ravi : IDisposable
{
public Class1 obj1;
public Class2 obj2;
private bool disposed = false;
public Ravi()
{
obj1 = new Class1();
obj2 = new Class2();
}
public void Dispose()
{
Dispose(true);
}
void IDisposable.Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
private void Dispose(bool disposing)
{
if (!this.disposed)
{
if (disposing)
{
obj1.Dispose();
}
}
disposed = true;
}
}
}
Show More