.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
TaskDialog Specified Cast not Valid
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
148 Views, 3 Replies
10-01-2012 11:12 AM
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/task
Dave Wolfe
Isaiah 57:15
ECAD, Inc.
Tips and Tricks on our blog: Process Design, from the Outside

A P3D Authorized Reseller
Isaiah 57:15
ECAD, Inc.
Tips and Tricks on our blog: Process Design, from the Outside

A P3D Authorized Reseller
Re: TaskDialog Specified Cast not Valid
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-01-2012 12:26 PM in reply to:
dave.wolfe
Hi,
Try passing an owner argument to the call function, like this: td.Show(Application.MainWindow.Handle)
Gaston Nunez
Re: TaskDialog Specified Cast not Valid
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-01-2012 12:27 PM in reply to:
gasty1001
I tried that.
Dave Wolfe
Isaiah 57:15
ECAD, Inc.
Tips and Tricks on our blog: Process Design, from the Outside

A P3D Authorized Reseller
Isaiah 57:15
ECAD, Inc.
Tips and Tricks on our blog: Process Design, from the Outside

A P3D Authorized Reseller
Re: TaskDialog Specified Cast not Valid
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-16-2012 06:28 AM 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

