Dotnet Assembly Error on Second Load

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  06 June 2013
Dotnet Assembly Error on Second Load

This time I try to load willson explorer tree view

thePath=getFilenamePath ThisScript
dotnet.loadAssembly (thePath+"WilsonProgramming.dll")

aa=dotnetObject "WilsonProgramming.ExplorerTreeViewWND"
--showmethods aa
--dotNet.showConstructors aa

TreeRoot = dotnetobject "WilsonProgramming.ShellItem" --->when load the first time its OK 

When I try to load it secondly it throwing this error code : -- Runtime error: dotNet runtime exception: The Desktop shell item already exists so cannot be created again. Is there way to prevent those error ?
btw Im using mxs rolloout tho.....

Many Thanks
Attached Files
File Type: zip (7.1 KB, 1 views)
  share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:44 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.