Click here to Skip to main content
15,947,476 members

Comments by SatyaKeerthi15 (Top 6 by date)

SatyaKeerthi15 20-Dec-11 2:16am View    
I want to add Web User Control to Class library like adding new class. I didn't get any solution from above links.
SatyaKeerthi15 26-Sep-11 5:56am View    
What type of config file can be used in C# class library? I am using app config file. Want to read key of the dll from SQL.
SatyaKeerthi15 20-Jul-11 3:21am View    
Did you understand my query. I have created the assembly and Stored Procedure. I can talk to dll method which have 'void' as return type. But I need to call the method which returns object of the class. How can I do this
SatyaKeerthi15 13-Apr-11 3:32am View    
Yes I wrote the code to read mails from Inbox... but i need to read messages and attachments from new folder which is created by user.

Application myOlApp = new Application();

NameSpace ns = myOlApp.GetNamespace("Mapi");
ns.Logon("", "", false, true);
MAPIFolder inbox = ns.GetDefaultFolder(OlDefaultFolders.olFolderInbox);

foreach (MailItem submail in inbox.Items)
{
Attachments ii = submail.Attachments;

for (int j = 1; j <= ii.Count; j++)
{
Microsoft.Office.Interop.Outlook.Attachment aa = (Microsoft.Office.Interop.Outlook.Attachment)ii[j];

Console.WriteLine(aa.FileName);

string mypath = @"D:\FileUpload\" + aa.FileName;
aa.SaveAsFile(mypath);

}

}
SatyaKeerthi15 5-Dec-10 22:55pm View    
Silver Light element in aspx page.... Logic to save files is in ashx page. After files get uploaded need to move to the aspx page. How can I do this.