Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
QuestionHow to use code to retrieve images from WebCam? Pin
WindDance9-Apr-06 22:06
WindDance9-Apr-06 22:06 
AnswerRe: How to use code to retrieve images from WebCam? Pin
Ben Gonzalez10-Apr-06 5:57
Ben Gonzalez10-Apr-06 5:57 
QuestionHow to use Code to get image from WebCam Pin
WindDance9-Apr-06 22:04
WindDance9-Apr-06 22:04 
QuestionrootCS.cer Pin
guroo139-Apr-06 21:32
guroo139-Apr-06 21:32 
QuestionQuerying installed software Pin
User 5826199-Apr-06 21:10
User 5826199-Apr-06 21:10 
AnswerRe: Querying installed software Pin
Robert Rohde9-Apr-06 22:08
Robert Rohde9-Apr-06 22:08 
GeneralRe: Querying installed software Pin
User 58261910-Apr-06 2:35
User 58261910-Apr-06 2:35 
QuestionHow to open the oledbObject of word document in PowerPoint application using C# Pin
sam_g19-Apr-06 21:03
sam_g19-Apr-06 21:03 
Hi I am opening a Powerpoint application on winform.
i am using a button onclick on that button a slide is inserted and i want to insert a oledbobject "word document" in that slide i am writing the code for that but its not taking the exact class name and giving the COMException(0x80004005) ..
the code is here

using Word = Microsoft.Office.Interop.Word;
using ppt = Microsoft.Office.Interop.PowerPoint;

// here winPptControl_main1 is the usercontrol in which
//Powerpoint application is openend...

ppt.Presentation objPres = winPptControl_main1.presentation;
ppt.Application ppApp = objPres.Application;

ppt.Slides objSlides;
ppt.Slide objSlide;
objSlides = objPres.Slides;

objSlide = objSlides.Add(1, ppt.PpSlideLayout.ppLayoutTitleOnly);

Word.Document wd = (Word.Document)objSlide.Shapes.AddOLEObject(150, 150, 480, 320,
"Opusapp", "",
MsoTriState.msoFalse, "", 0, "",
MsoTriState.msoFalse).OLEFormat.Object;

i am not finding the exact class name to open the word document i have tried MSWord.document to instead of Opusapp but its giving the same error ..
if anybody knows the solution pls let em know ..
thanks...


Questionhow to edit xml file Pin
rah_sin9-Apr-06 21:02
professionalrah_sin9-Apr-06 21:02 
AnswerRe: how to edit xml file Pin
papa19809-Apr-06 22:35
papa19809-Apr-06 22:35 
QuestionCatching new reminder and incoming mail Pin
Yevgeny Efter9-Apr-06 21:02
Yevgeny Efter9-Apr-06 21:02 
Questionbyte[] to String conversion problem Pin
wasife9-Apr-06 20:59
wasife9-Apr-06 20:59 
GeneralRe: byte[] to String conversion problem Pin
Guffa9-Apr-06 21:13
Guffa9-Apr-06 21:13 
QuestionHow to customize pdf viewer Pin
anurajju9-Apr-06 20:34
anurajju9-Apr-06 20:34 
QuestionCan events be hooked to MS Word? Pin
kbalias9-Apr-06 20:24
kbalias9-Apr-06 20:24 
QuestionCommon Task Control Pin
mehrdadc489-Apr-06 20:20
mehrdadc489-Apr-06 20:20 
AnswerRe: Common Task Control Pin
leppie10-Apr-06 1:38
leppie10-Apr-06 1:38 
AnswerRe: Common Task Control Pin
Graham Nimbley10-Apr-06 8:53
Graham Nimbley10-Apr-06 8:53 
Questiondata is not updating in Database Pin
Sunny H9-Apr-06 19:16
Sunny H9-Apr-06 19:16 
AnswerRe: data is not updating in Database Pin
Guffa9-Apr-06 20:52
Guffa9-Apr-06 20:52 
QuestionWhat is the fastest and Efficient way? Pin
pubududilena9-Apr-06 17:43
pubududilena9-Apr-06 17:43 
AnswerRe: What is the fastest and Efficient way? Pin
Guffa9-Apr-06 19:05
Guffa9-Apr-06 19:05 
AnswerRe: What is the fastest and Efficient way? Pin
Robert Rohde9-Apr-06 22:01
Robert Rohde9-Apr-06 22:01 
QuestionHOW TO Call the Save Method of an MDI Child Form from the MDI Form Toolbar Menu Pin
Old Gun9-Apr-06 17:03
Old Gun9-Apr-06 17:03 
AnswerRe: HOW TO Call the Save Method of an MDI Child Form from the MDI Form Toolbar Menu Pin
CWIZO9-Apr-06 21:01
CWIZO9-Apr-06 21:01 

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.