Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralCombining .wav files Pin
ziggy8227-Jan-05 5:29
ziggy8227-Jan-05 5:29 
GeneralRe: Combining .wav files Pin
mav.northwind27-Jan-05 7:00
mav.northwind27-Jan-05 7:00 
GeneralRe: Combining .wav files Pin
ziggy8227-Jan-05 9:24
ziggy8227-Jan-05 9:24 
GeneralSQL TimeStamp or ... Pin
Bahadir Cambel27-Jan-05 5:11
Bahadir Cambel27-Jan-05 5:11 
GeneralRe: SQL TimeStamp or ... Pin
Dave Kreskowiak27-Jan-05 5:20
mveDave Kreskowiak27-Jan-05 5:20 
GeneralRe: SQL TimeStamp or ... Pin
Bahadir Cambel27-Jan-05 8:58
Bahadir Cambel27-Jan-05 8:58 
Generalcalculate area of an image Pin
chathuraka27-Jan-05 4:11
chathuraka27-Jan-05 4:11 
GeneralCatching PowerPoint when she falls Pin
Esmo200027-Jan-05 3:55
Esmo200027-Jan-05 3:55 
If anyone can answer either of these questions I would appreciate it greatly! Thanks!

1)I'm using the Microsoft Automation object for PowerPoint, but I'm running into a kind of problem. When I start hammering PowerPoint with requests it crashes (as one would expect). However, when this happens, I would like to be able to catch these exceptions without the user ever knowing.

2) All this time I've thought that I can simply load my automation object like this:

//Create an instance of PowerPoint.
oPPT = new PowerPoint.ApplicationClass();

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

As opposed to what I havwe currently:

//Create an instance of PowerPoint.
oPPT = new PowerPoint.ApplicationClass();

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


But to my dismay the first time that I tried putting in msoFalse I am suddenly confronted with the following error:

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in PowerPointService.exe

Additional information: Application (unknown member) : Invalid request. Hiding the application window is not allowed.

I don't quite know how to get round that one!

Thanks SO much!
Jim
GeneralRe: Catching PowerPoint when she falls Pin
Heath Stewart27-Jan-05 9:51
protectorHeath Stewart27-Jan-05 9:51 
GeneralRe: Catching PowerPoint when she falls Pin
Esmo200027-Jan-05 10:40
Esmo200027-Jan-05 10:40 
GeneralRe: Catching PowerPoint when she falls Pin
Heath Stewart27-Jan-05 12:04
protectorHeath Stewart27-Jan-05 12:04 
GeneralRe: Catching PowerPoint when she falls Pin
Esmo200031-Jan-05 8:20
Esmo200031-Jan-05 8:20 
GeneralRe: Catching PowerPoint when she falls Pin
Heath Stewart31-Jan-05 9:33
protectorHeath Stewart31-Jan-05 9:33 
QuestionSerialize an Array with ISerializable? Pin
huckfinn27-Jan-05 3:18
huckfinn27-Jan-05 3:18 
AnswerRe: Serialize an Array with ISerializable? Pin
Heath Stewart27-Jan-05 9:59
protectorHeath Stewart27-Jan-05 9:59 
Generaltrouble deleting records from my sql server Pin
tadhg8827-Jan-05 3:17
tadhg8827-Jan-05 3:17 
GeneralRe: trouble deleting records from my sql server Pin
Mazdak28-Jan-05 0:53
Mazdak28-Jan-05 0:53 
GeneralRe: Time Validation in C# Pin
Mazdak27-Jan-05 2:01
Mazdak27-Jan-05 2:01 
GeneralRe: Time Validation in C# Pin
itssuk27-Jan-05 3:01
itssuk27-Jan-05 3:01 
GeneralTime Validation in C# Pin
itssuk27-Jan-05 1:17
itssuk27-Jan-05 1:17 
GeneralNeed help with C# to C++ DLL interaction Pin
lms00727-Jan-05 0:55
lms00727-Jan-05 0:55 
GeneralRe: Need help with C# to C++ DLL interaction Pin
lms00727-Jan-05 1:53
lms00727-Jan-05 1:53 
GeneralRe: Need help with C# to C++ DLL interaction Pin
lms00727-Jan-05 2:17
lms00727-Jan-05 2:17 
GeneralNo overload for method Pin
nikneem200526-Jan-05 23:15
nikneem200526-Jan-05 23:15 
GeneralRe: No overload for method Pin
Stefan Troschuetz26-Jan-05 23:39
Stefan Troschuetz26-Jan-05 23:39 

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.