Click here to Skip to main content
15,902,939 members
Home / Discussions / C#
   

C#

 
AnswerRe: WPF Transparent Window - can it still detect events? Pin
Paul Conrad24-Jan-08 8:39
professionalPaul Conrad24-Jan-08 8:39 
GeneralRe: WPF Transparent Window - can it still detect events? Pin
DaveyM6924-Jan-08 11:01
professionalDaveyM6924-Jan-08 11:01 
QuestionShould I do MCSD certification for Framework 2.0 or wait for 3.0? Pin
i_want_to_learn_c#24-Jan-08 7:23
i_want_to_learn_c#24-Jan-08 7:23 
GeneralC# Tool Kit for studio 2008 Pin
bigjoe11a24-Jan-08 6:15
bigjoe11a24-Jan-08 6:15 
GeneralRe: C# Tool Kit for studio 2008 Pin
Ed.Poore24-Jan-08 8:46
Ed.Poore24-Jan-08 8:46 
GeneralProblem with making Outlook appointments Pin
NewToAspDotNet24-Jan-08 6:06
NewToAspDotNet24-Jan-08 6:06 
GeneralRe: Problem with making Outlook appointments Pin
Paul Conrad24-Jan-08 7:01
professionalPaul Conrad24-Jan-08 7:01 
GeneralRe: Problem with making Outlook appointments Pin
NewToAspDotNet24-Jan-08 8:05
NewToAspDotNet24-Jan-08 8:05 
Hi Paul Conrad,
Thanx for your response. Here some code of how it is looking like :

Outlook.Application outlookApp = new Outlook.Application();<br />
                Outlook.AppointmentItem oAppointment = (Outlook.AppointmentItem)outlookApp.CreateItem(Outlook.OlItemType.olAppointmentItem);<br />
                <br />
<br />
SqlCommand start = new SqlCommand("SELECT Act_actualstart,Act_actualstarttime FROM Activities WHERE Act_imp_nr='" + nr + "'and Act_Hoofdactiviteit_index='" + hfdnr + "'and Act_nr='001'", myconn);<br />
                    SqlDataAdapter da_start = new SqlDataAdapter(start);<br />
                    DataTable dt_start = new DataTable();<br />
                    da_start.Fill(dt_start);<br />
<br />
                    foreach (DataRow drstart in dt_start.Rows)<br />
                    {<br />
                        subject = "Communicatie naar; " +nr +"; " + omschrijving ;<br />
                        outStart = new DateTime();<br />
                        outStart = Convert.ToDateTime(drstart[0].ToString());<br />
                        oAppointment.Start = outStart;<br />
<br />
                        outEnd = new DateTime();<br />
                        outEnd = Convert.ToDateTime(drstart[1].ToString());<br />
<br />
                        oAppointment.End = outEnd;<br />
                        oAppointment.Subject = subject;<br />
                        oAppointment.Body = body.ToString();<br />
                        oAppointment.Location = " ";<br />
                    <br />
                        oAppointment.ReminderSet = true;<br />
                        oAppointment.ReminderMinutesBeforeStart = 5;<br />
                        oAppointment.Importance = Outlook.OlImportance.olImportanceHigh;<br />
                        oAppointment.BusyStatus = Outlook.OlBusyStatus.olBusy;<br />
                        oAppointment.Save();<br />
                }

GeneralRe: Problem with making Outlook appointments Pin
Paul Conrad24-Jan-08 8:23
professionalPaul Conrad24-Jan-08 8:23 
GeneralRe: Problem with making Outlook appointments Pin
NewToAspDotNet24-Jan-08 8:32
NewToAspDotNet24-Jan-08 8:32 
GeneralRe: Problem with making Outlook appointments Pin
Paul Conrad24-Jan-08 8:36
professionalPaul Conrad24-Jan-08 8:36 
GeneralRe: Problem with making Outlook appointments Pin
NewToAspDotNet24-Jan-08 11:52
NewToAspDotNet24-Jan-08 11:52 
GeneralRe: Problem with making Outlook appointments Pin
Jimmanuel24-Jan-08 12:18
Jimmanuel24-Jan-08 12:18 
GeneralRe: Problem with making Outlook appointments Pin
NewToAspDotNet24-Jan-08 13:53
NewToAspDotNet24-Jan-08 13:53 
GeneralDatagrid - Real time databinding (WinForms) Pin
J a a n s24-Jan-08 5:10
professionalJ a a n s24-Jan-08 5:10 
GeneralRe: Datagrid - Real time databinding (WinForms) Pin
Alan Balkany24-Jan-08 5:18
Alan Balkany24-Jan-08 5:18 
GeneralRe: Datagrid - Real time databinding (WinForms) Pin
J a a n s24-Jan-08 5:23
professionalJ a a n s24-Jan-08 5:23 
General"On-demand" ListBox Pin
Alan Balkany24-Jan-08 4:43
Alan Balkany24-Jan-08 4:43 
GeneralRe: "On-demand" ListBox Pin
DavidNohejl24-Jan-08 4:53
DavidNohejl24-Jan-08 4:53 
GeneralRe: "On-demand" ListBox Pin
led mike24-Jan-08 4:59
led mike24-Jan-08 4:59 
GeneralRe: "On-demand" ListBox [modified] Pin
Alan Balkany24-Jan-08 5:16
Alan Balkany24-Jan-08 5:16 
GeneralRe: "On-demand" ListBox Pin
Alan Balkany24-Jan-08 5:56
Alan Balkany24-Jan-08 5:56 
GeneralUpload file to server from windows application Pin
MayyMagdy24-Jan-08 4:11
MayyMagdy24-Jan-08 4:11 
GeneralRe: Upload file to server from windows application Pin
Ed.Poore24-Jan-08 4:14
Ed.Poore24-Jan-08 4:14 
AnswerRe: Upload file to server from windows application Pin
MayyMagdy24-Jan-08 4:16
MayyMagdy24-Jan-08 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.