Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: loading a list from a data file Pin
Jerry Graham3-May-08 10:12
Jerry Graham3-May-08 10:12 
GeneralRe: loading a list from a data file Pin
Jimmanuel3-May-08 10:44
Jimmanuel3-May-08 10:44 
AnswerRe: loading a list from a data file Pin
carbon_golem3-May-08 9:41
carbon_golem3-May-08 9:41 
GeneralRe: loading a list from a data file Pin
Jerry Graham3-May-08 10:14
Jerry Graham3-May-08 10:14 
GeneralRe: loading a list from a data file Pin
carbon_golem3-May-08 13:32
carbon_golem3-May-08 13:32 
QuestionConverting Double to String Pin
Saba023-May-08 7:44
Saba023-May-08 7:44 
AnswerRe: Converting Double to String Pin
Mohamed El Gohary3-May-08 7:46
Mohamed El Gohary3-May-08 7:46 
AnswerRe: Converting Double to String Pin
Blue_Boy3-May-08 8:21
Blue_Boy3-May-08 8:21 
AnswerRe: Converting Double to String Pin
Luc Pattyn3-May-08 8:51
sitebuilderLuc Pattyn3-May-08 8:51 
AnswerRe: Converting Double to String Pin
Gareth H3-May-08 8:58
Gareth H3-May-08 8:58 
GeneralRe: Converting Double to String Pin
Luc Pattyn3-May-08 10:00
sitebuilderLuc Pattyn3-May-08 10:00 
GeneralRe: Converting Double to String Pin
Gareth H4-May-08 3:34
Gareth H4-May-08 3:34 
GeneralRe: Converting Double to String Pin
Luc Pattyn4-May-08 11:46
sitebuilderLuc Pattyn4-May-08 11:46 
QuestionVisio Control problem in Windows Vista Pin
Kashif Iqbal Khan3-May-08 7:00
Kashif Iqbal Khan3-May-08 7:00 
AnswerRe: Visio Control problem in Windows Vista Pin
Luc Pattyn3-May-08 7:07
sitebuilderLuc Pattyn3-May-08 7:07 
GeneralRe: Visio Control problem in Windows Vista Pin
Kashif Iqbal Khan3-May-08 7:19
Kashif Iqbal Khan3-May-08 7:19 
GeneralRe: Visio Control problem in Windows Vista Pin
Luc Pattyn3-May-08 7:33
sitebuilderLuc Pattyn3-May-08 7:33 
Hi,

I have some remarks, not sure how relevant they are:

1. are you sure about your f.Show f.Close sequence? it shows then hides the form, without
waiting for anything? or did you mean ShowDialog()?

2. I would put everything in one big try-catch as in:

try {
    ... all about VisioForm
    ... all about MyApplicationContext
} catch(Exception exc) {
    Console.WriteLine(exc.ToString());
}


that will catch everything in the main thread that you may have forgotten to catch
elsewhere. Note the ToString, it is important to see the entire exception.

3.
Are you manipulating apartment models? is everything STAThread? MTAThread?
Maybe the Visio stuff needs it to be STAThread. I don't know the details, I do know
it often is an issue when using COM.

4.
Are you using the same version of Visio on both machines?

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I dislike the black-and-white voting system on questions/answers. Dead | X|


GeneralRe: Visio Control problem in Windows Vista Pin
Kashif Iqbal Khan3-May-08 7:57
Kashif Iqbal Khan3-May-08 7:57 
QuestionDialog result Question Pin
MumbleB3-May-08 5:08
MumbleB3-May-08 5:08 
AnswerRe: Dialog result Question Pin
MumbleB3-May-08 5:09
MumbleB3-May-08 5:09 
GeneralRe: Dialog result Question Pin
Luc Pattyn3-May-08 5:32
sitebuilderLuc Pattyn3-May-08 5:32 
GeneralRe: Dialog result Question Pin
PIEBALDconsult3-May-08 6:05
mvePIEBALDconsult3-May-08 6:05 
GeneralRe: Dialog result Question Pin
Oakman3-May-08 12:37
Oakman3-May-08 12:37 
GeneralRe: Dialog result Question Pin
PIEBALDconsult4-May-08 5:57
mvePIEBALDconsult4-May-08 5:57 
GeneralRe: Dialog result Question Pin
Charith Jayasundara3-May-08 6:42
Charith Jayasundara3-May-08 6:42 

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.