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

C#

 
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 
Thanks for your prompt reply.

The exception stack trace shows that it is thrown somewhere in AxHost class. Unfortunately, I am not at my work place right now, so cannot attach the exact StackTrace. But will update as soon as I get it.

To explain further, I am writing the code flow that is something like as follows

<br />
// Main<br />
<br />
/*Line 1*/ VisioForm f = new VisioForm();<br />
/*Line 2*/ f.Show();<br />
/*Line 3*/ f.Close();<br />
<br />
/*Line 4*/ MyApplicationContext c = new MyApplicationContext;  <br />
/*Line 5*/ Application.Run( c );<br />
<br />
<br />


There is a button on MainForm that has the same code as mentioned in Line 1-3 above in its click event. Now If I comment the code as in Line 1-3, the application will crash if the button on main form is clicked. But works fine, if I leave it there.

More interestingly, If the lines 1-3 are moved between line 4 and 5, the application will still crash with the same message.


This makes me believe that there is something wrong when using ActiveX controls inside a custom application context on Vista.
GeneralRe: Visio Control problem in Windows Vista Pin
Luc Pattyn3-May-08 7:33
sitebuilderLuc Pattyn3-May-08 7:33 
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 

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.