.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TaskDialog Specified Cast not Valid

3 REPLIES 3
Reply
Message 1 of 4
dave.wolfe
619 Views, 3 Replies

TaskDialog Specified Cast not Valid

As the other mentioned in the comments sections of the article below, I am getting a specified cast is invalid on the line td.Show(). Does anyone have any ides?  I've tried the blank method, and passing in the main window handle with no success.

 

http://adndevblog.typepad.com/autocad/2012/07/taskdialog-with-progress-bar.html

 

Dave Wolfe
Isaiah 57:15



Tips and Tricks on our blog: ASTI blog
EXPERT ELITE MEMBER
Plant 3D Wish list
3 REPLIES 3
Message 2 of 4
hgasty1001
in reply to: dave.wolfe

Hi,

 

Try passing an owner argument to the call function, like this: td.Show(Application.MainWindow.Handle)

 

Gaston Nunez

Message 3 of 4
dave.wolfe
in reply to: hgasty1001

I tried that.

Dave Wolfe
Isaiah 57:15



Tips and Tricks on our blog: ASTI blog
EXPERT ELITE MEMBER
Plant 3D Wish list
Message 4 of 4
Balaji_Ram
in reply to: dave.wolfe

Sorry for the delay.

 

It appears to be an API problem on 64 bit systems. We have brought this to the notice of the engineering team and they will prioritize this request.

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost