[RESOLVED] TaskDialog in C#.Net |
Post Reply |
Author | |
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
Posted: 13 December 2012 at 11:12am |
Hi,
I will be moving over to C#.Net sometime during the start of next year, this means all my current projects will at some point require to be coded over to C# from VB6. I have been playing around with C# and can get most controls working as before, however I can't seem to get the TaskDialog to display. When I step through, the code just passes over the line "TaskDialog.ShowDialog();" and nothing displays. Does this work in C#?
I normally wrap a case statement around the .ShowDialog in this case it would be a switch statement but the code above as is doesn't fire. PS. I can't see a TaskDialog sample to confirm if this works or not. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
What version of .NET? Your code works fine for me. I tried in VS2008 and VS2012, both work fine. Can you submit the project?
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi Supermario,
Thanks for checking this out for me! I have only installed VS2012 Professional as of last night, prior to this I was playing about with VS2010 Express Edition. It would appear that this works as expected in VS2012 Professional and it was the Express Edition that was causing the issues with the CJ components! On a further note this has also resolved my issue with the CalendarControl I was having too!!! So beware of VS2010 Express Editions folks!!! |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |