[ nemnesic @ 22.08.2005. 06:33 ] @
pokusavam da napravim powerpoint slide iz C#.
Nasao sam neke primere na net=u ali ne rade

Code:

private void Form1_Load(object sender, System.EventArgs e)
        {
            //Create an instance of PowerPoint.
            oPPT = new PowerPoint.ApplicationClass();

            // Show PowerPoint to the user.
            oPPT.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
            
        }


dobijam error:

D:\CurrentWork\PowerPointWorkout\Form1.cs(260): Cannot implicitly convert type 'Microsoft.Office.Core.MsoTriState' to 'Office.MsoTriState'


pomoc

hvala

nn
[ dusty @ 22.08.2005. 08:47 ] @
Ako radis u MS Visual Studiju, probaj da mu osvezis runtime callable wrapper-e za Ofis i PauerPoint iz referenci.
Proveri da li ti using pokazuje na ispravan namespace.