A
André Dias
Hello,
how can I get the attachments from messages from outlook by Oledb ?
the code below, returns the subject, to, from, it also returns a flag
informing if the messages have attachment , but I don't know how to get it.
OleDbConnection conn = new OleDbConnection
("Provider=Microsoft.Jet.OLEDB.4.0;Outlook 9.0;MAPILEVEL=Personal
Folders|;PROFILE=Outlook;TABLETYPE=0;DATABASE=C:\\Windows\\Temp");
OleDbDataAdapter da = new OleDbDataAdapter("SELECT * FROM Teste", conn);
da.Fill(ds, "Outlook");
dt = ds.Tables["Outlook"];
dataGrid1.DataSource = dt;
tks
[]s
André
how can I get the attachments from messages from outlook by Oledb ?
the code below, returns the subject, to, from, it also returns a flag
informing if the messages have attachment , but I don't know how to get it.
OleDbConnection conn = new OleDbConnection
("Provider=Microsoft.Jet.OLEDB.4.0;Outlook 9.0;MAPILEVEL=Personal
Folders|;PROFILE=Outlook;TABLETYPE=0;DATABASE=C:\\Windows\\Temp");
OleDbDataAdapter da = new OleDbDataAdapter("SELECT * FROM Teste", conn);
da.Fill(ds, "Outlook");
dt = ds.Tables["Outlook"];
dataGrid1.DataSource = dt;
tks
[]s
André