Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
GeneralWord object Pin
hazzem elrefai8-Dec-03 23:57
hazzem elrefai8-Dec-03 23:57 
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 0:19
Colin Angus Mackay9-Dec-03 0:19 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 0:35
hazzem elrefai9-Dec-03 0:35 
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 0:56
Colin Angus Mackay9-Dec-03 0:56 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 1:17
hazzem elrefai9-Dec-03 1:17 
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 2:15
Colin Angus Mackay9-Dec-03 2:15 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 2:35
hazzem elrefai9-Dec-03 2:35 
GeneralRe: Word object Pin
Heath Stewart9-Dec-03 2:51
protectorHeath Stewart9-Dec-03 2:51 
Colin, note that putting a try-catch around Application.Run only works when an exception causes the application message pump to terminate. This is usually not the case. The try-catch should be as local to the problem as possible (like in the original poster's code to create the Word app and open the document). You can also handle the AppDomain.UnhandledException event.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 3:08
Colin Angus Mackay9-Dec-03 3:08 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 3:20
hazzem elrefai9-Dec-03 3:20 
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 3:29
Colin Angus Mackay9-Dec-03 3:29 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 3:35
hazzem elrefai9-Dec-03 3:35 
GeneralRe: Word object Pin
Colin Angus Mackay9-Dec-03 3:45
Colin Angus Mackay9-Dec-03 3:45 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 4:29
hazzem elrefai9-Dec-03 4:29 
GeneralRe: Word object Pin
hazzem elrefai9-Dec-03 1:36
hazzem elrefai9-Dec-03 1:36 
GeneralProperties inspector style control Pin
AJ1238-Dec-03 23:02
AJ1238-Dec-03 23:02 
GeneralRe: Properties inspector style control Pin
Heath Stewart9-Dec-03 2:47
protectorHeath Stewart9-Dec-03 2:47 
GeneralPlay avi video in full screen Pin
kuya0008-Dec-03 20:56
kuya0008-Dec-03 20:56 
GeneralRe: Play avi video in full screen Pin
Heath Stewart9-Dec-03 2:45
protectorHeath Stewart9-Dec-03 2:45 
QuestionHow keep areference of string Pin
Eric Lacroix8-Dec-03 17:53
Eric Lacroix8-Dec-03 17:53 
AnswerRe: How keep areference of string Pin
Heath Stewart8-Dec-03 18:28
protectorHeath Stewart8-Dec-03 18:28 
GeneralCreating a Table (Class Scheduler) Pin
Justin LaRose8-Dec-03 16:47
Justin LaRose8-Dec-03 16:47 
GeneralRe: Creating a Table (Class Scheduler) Pin
Heath Stewart8-Dec-03 18:25
protectorHeath Stewart8-Dec-03 18:25 
GeneralAccessing variables from the code behind page Pin
jaimecavazos8-Dec-03 15:24
jaimecavazos8-Dec-03 15:24 
GeneralRe: Accessing variables from the code behind page Pin
Heath Stewart8-Dec-03 18:22
protectorHeath Stewart8-Dec-03 18:22 

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.