I Ajith Kumar K graduated in May 2004 with a degree in Electronics and
Communication Engineering from Cochin Institute of Technology. Many of
my courses and research activities in the final year were in the field
of Digital signal Processing(DSP). I am presently working in Essel
Swolutions., an information technology firm that is involved in the
areas of xxx solutions and xxxx development.
To be able to speak the language of business and to gain an
understanding of the "big picture" through operations, HR, marketing,
org behavior, etc. was my dream.Strong quantitative skills,
familiarity with computer applications and experience gained while
working on various projects have helped me to develop sharp analytical
abilities and have given me the confidence to tackle advanced problems
on a macro level. However, just from simple observation, I have
discovered that an MBA provides a distinct advantage over those
without. There is an analytical nature inherent to MBA's which I
believe is duplicable only by committing two years to the academic
study of business. And, in light of my international bent, there is
no doubting that xxxx is quite appropriate for my purposes.The
outstanding faculty and research facilities, emphasis on a
collaborative learning environment, flexibility in curriculum, and a
global perspective to various key issues will give me the leading edge
to work effectively to achieve my goals.
Sunday, November 25, 2007
Tuesday, November 20, 2007
Custom Mail Settings C++/CLI
MailAddress^ from = gcnew MailAddress("from mailaddress", "xxxxxfrom");
MailAddress^ to = gcnew MailAddress("to mail address", "xxxxxto");
MailMessage^ message = gcnew MailMessage(from, to);
// message.Subject = "Using the SmtpClient class.";
message->Subject = "Using the SmtpClient class."; message->Body = "Using this feature, you can send an e-mail message from an application very easily.";
String^ sSource = "C:\\realtek.log";
Attachment^ attachmentfile = gcnew Attachment(sSource); message->Attachments->Add(attachmentfile); SmtpClient^ client = gcnew SmtpClient("hostname"); client->SendCompleted += gcnew SendCompletedEventHandler(SendCompletedCallback); String^ userState = "test message1";
// Include credentials if the server requires them.
client->Credentials = CredentialCache::DefaultNetworkCredentials;
try
{
client->Send(message);
}
catch(Exception^ ex)
{
MessageBox::Show(ex->InnerException->InnerException->Message);
}
For any queries just mail me.
Regards
Ajith
MailAddress^ to = gcnew MailAddress("to mail address", "xxxxxto");
MailMessage^ message = gcnew MailMessage(from, to);
// message.Subject = "Using the SmtpClient class.";
message->Subject = "Using the SmtpClient class."; message->Body = "Using this feature, you can send an e-mail message from an application very easily.";
String^ sSource = "C:\\realtek.log";
Attachment^ attachmentfile = gcnew Attachment(sSource); message->Attachments->Add(attachmentfile); SmtpClient^ client = gcnew SmtpClient("hostname"); client->SendCompleted += gcnew SendCompletedEventHandler(SendCompletedCallback); String^ userState = "test message1";
// Include credentials if the server requires them.
client->Credentials = CredentialCache::DefaultNetworkCredentials;
try
{
client->Send(message);
}
catch(Exception^ ex)
{
MessageBox::Show(ex->InnerException->InnerException->Message);
}
For any queries just mail me.
Regards
Ajith
Configure Outlook for your application
Outlook.Application oApp = new Outlook.Application();
Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
oMsg.ExpiryTime = DateTime.Today;
//Add a recipient.
Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("emailaddress");
oRecip.Resolve();
////Set the basic properties.
oMsg.Subject = "This is the subject of the test message for Using Outlook";
oMsg.Body = "Hi";
////Add an attachment.
//// TODO: change file path where appropriate
String sSource = "C:\\realtek.log";
String sDisplayName = "Just testing";
int iPosition = (int)oMsg.Body.Length + 1;
int iAttachType = (int)Outlook.OlAttachmentType.olByValue;
Outlook.Attachment oAttach = oMsg.Attachments.Add(sSource, iAttachType, iPosition, sDisplayName);
oMsg.Display(oApp);
For the above code in C++/CLI just mail me.
Regards
Ajith
Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
oMsg.ExpiryTime = DateTime.Today;
//Add a recipient.
Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("emailaddress");
oRecip.Resolve();
////Set the basic properties.
oMsg.Subject = "This is the subject of the test message for Using Outlook";
oMsg.Body = "Hi";
////Add an attachment.
//// TODO: change file path where appropriate
String sSource = "C:\\realtek.log";
String sDisplayName = "Just testing";
int iPosition = (int)oMsg.Body.Length + 1;
int iAttachType = (int)Outlook.OlAttachmentType.olByValue;
Outlook.Attachment oAttach = oMsg.Attachments.Add(sSource, iAttachType, iPosition, sDisplayName);
oMsg.Display(oApp);
For the above code in C++/CLI just mail me.
Regards
Ajith
Thursday, November 15, 2007
Paint.NET
Hi,
My present line of work is to develop an administration client(web) for a product our company is going to release.This line stumbled me onto a great application developed in .NET which is called Paint.NET.Its so good that it has about 85% capabalities of Adobe photoshop.I will persuade all to use it for one time.Last but not the least it is open source as well.
Link where the download is provided in my linked list page element or please mail to me at the address provided in the profile.s
Regards
Ajith
My present line of work is to develop an administration client(web) for a product our company is going to release.This line stumbled me onto a great application developed in .NET which is called Paint.NET.Its so good that it has about 85% capabalities of Adobe photoshop.I will persuade all to use it for one time.Last but not the least it is open source as well.
Link where the download is provided in my linked list page element or please mail to me at the address provided in the profile.s
Regards
Ajith
Thursday, November 1, 2007
Upload File Using Webdav PUT methos
Hi,
A small Webdav UploadFile method which returns string..............
public string UploadFile(string address, string method, string fileName)
{
//file stream object
FileStream filestreamDAV = null;
try
{
fileName = Path.GetFullPath(fileName);
if (m_headers == null)
{
m_headers = new WebHeaderCollection();
}
string contentType = m_headers[HttpKnownHeaderNames.ContentType];
if (contentType != null)
{
if (contentType.ToLower(CultureInfo.InvariantCulture).StartsWith("multipart/"))
{
throw new WebException("");
}
}
else
{
contentType = DefaultUploadFileContentType;
}
m_responseHeaders = null;
filestreamDAV = new FileStream(fileName, FileMode.Open, FileAccess.Read);
WebRequest request = WebRequest.Create(GetUri(address));
request.Credentials = Credentials;
CopyHeadersTo(request);
request.Method = method;
long length = Int64.MaxValue;
try
{
length = filestreamDAV.Length;
}
catch
{
// ignore - can't get content-length from file stream
}
byte[] buffer = new byte[Math.Min(DefaultCopyBufferLength,(int)length)];
using (Stream s = request.GetRequestStream())
{
int nread;
do
{
nread = filestreamDAV.Read(buffer, 0, (int)buffer.Length);
if (nread != 0)
{
s.Write(buffer, 0, nread);
}
} while (nread != 0);
}
filestreamDAV.Close();
filestreamDAV = null;
//Getting the response
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
//Getting the status description from the responseStream to the output string
Stream recieveStream = response.GetResponseStream();
//Embedding the Stream to the StreamReader and Reading it to End
StreamReader readStream = new StreamReader(recieveStream,Encoding.ASCII);
responseString = readStream.ReadToEnd();
//closes the Response
response.Close();
//Closes the StreamReader
readStream.Close();
}
return responseString;
}
A small Webdav UploadFile method which returns string..............
public string UploadFile(string address, string method, string fileName)
{
//file stream object
FileStream filestreamDAV = null;
try
{
fileName = Path.GetFullPath(fileName);
if (m_headers == null)
{
m_headers = new WebHeaderCollection();
}
string contentType = m_headers[HttpKnownHeaderNames.ContentType];
if (contentType != null)
{
if (contentType.ToLower(CultureInfo.InvariantCulture).StartsWith("multipart/"))
{
throw new WebException("");
}
}
else
{
contentType = DefaultUploadFileContentType;
}
m_responseHeaders = null;
filestreamDAV = new FileStream(fileName, FileMode.Open, FileAccess.Read);
WebRequest request = WebRequest.Create(GetUri(address));
request.Credentials = Credentials;
CopyHeadersTo(request);
request.Method = method;
long length = Int64.MaxValue;
try
{
length = filestreamDAV.Length;
}
catch
{
// ignore - can't get content-length from file stream
}
byte[] buffer = new byte[Math.Min(DefaultCopyBufferLength,(int)length)];
using (Stream s = request.GetRequestStream())
{
int nread;
do
{
nread = filestreamDAV.Read(buffer, 0, (int)buffer.Length);
if (nread != 0)
{
s.Write(buffer, 0, nread);
}
} while (nread != 0);
}
filestreamDAV.Close();
filestreamDAV = null;
//Getting the response
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
//Getting the status description from the responseStream to the output string
Stream recieveStream = response.GetResponseStream();
//Embedding the Stream to the StreamReader and Reading it to End
StreamReader readStream = new StreamReader(recieveStream,Encoding.ASCII);
responseString = readStream.ReadToEnd();
//closes the Response
response.Close();
//Closes the StreamReader
readStream.Close();
}
return responseString;
}
Subscribe to:
Comments (Atom)

