Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Dialog result Question Pin
Luc Pattyn3-May-08 6:49
sitebuilderLuc Pattyn3-May-08 6:49 
GeneralRe: Dialog result Question Pin
MumbleB3-May-08 21:54
MumbleB3-May-08 21:54 
GeneralRe: Dialog result Question Pin
Luc Pattyn3-May-08 22:53
sitebuilderLuc Pattyn3-May-08 22:53 
GeneralRe: Dialog result Question Pin
MumbleB3-May-08 23:56
MumbleB3-May-08 23:56 
GeneralRe: Dialog result Question Pin
PIEBALDconsult4-May-08 5:04
mvePIEBALDconsult4-May-08 5:04 
GeneralRe: Dialog result Question Pin
Luc Pattyn4-May-08 11:44
sitebuilderLuc Pattyn4-May-08 11:44 
QuestionProblem with get set Pin
Saba023-May-08 4:01
Saba023-May-08 4:01 
AnswerRe: Problem with get set Pin
snorkie3-May-08 4:05
professionalsnorkie3-May-08 4:05 
AnswerRe: Problem with get set Pin
Saba023-May-08 4:23
Saba023-May-08 4:23 

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.