.NET

Reply
*perry
Message 1 of 5 (144 Views)

SendStringToExecute - when?

144 Views, 4 Replies
08-15-2006 08:09 AM
I'm attempting to use the SendString function to load a partial .cui
file at Acad startup, within the initialize block of an
IExtensionApplication module. This is resulting in a "eNoDocument"
exception, even though the default drawing is "alive" enough for me to
echo things to the command prompt etc.
Is there any other way of loading .cui files in .Net besides this lame
"sendstring" method?
Perry
*perry
Message 2 of 5 (144 Views)

Re: SendStringToExecute - when?

08-17-2006 10:23 AM in reply to: *perry
perry wrote:
> I'm attempting to use the SendString function to load a partial .cui
> file at Acad startup, within the initialize block of an
> IExtensionApplication module. This is resulting in a "eNoDocument"
> exception, even though the default drawing is "alive" enough for me to
> echo things to the command prompt etc.
> Is there any other way of loading .cui files in .Net besides this lame
> "sendstring" method?
> Perry
Nothing? Beulla?
*perry
Message 3 of 5 (144 Views)

Re: SendStringToExecute - when?

08-17-2006 05:14 PM in reply to: *perry
perry wrote:
> perry wrote:
>> I'm attempting to use the SendString function to load a partial .cui
>> file at Acad startup, within the initialize block of an
>> IExtensionApplication module. This is resulting in a "eNoDocument"
>> exception, even though the default drawing is "alive" enough for me to
>> echo things to the command prompt etc.
>> Is there any other way of loading .cui files in .Net besides this lame
>> "sendstring" method?
>> Perry
> Nothing? Beulla?

Is there something in the registry?
searched for ".cui" there, couldnt find anything.
*perry
Message 4 of 5 (144 Views)

Re: SendStringToExecute - when?

08-18-2006 07:20 AM in reply to: *perry
perry wrote:
> perry wrote:
>> perry wrote:
>>> I'm attempting to use the SendString function to load a partial .cui
>>> file at Acad startup, within the initialize block of an
>>> IExtensionApplication module. This is resulting in a "eNoDocument"
>>> exception, even though the default drawing is "alive" enough for me to
>>> echo things to the command prompt etc.
>>> Is there any other way of loading .cui files in .Net besides this lame
>>> "sendstring" method?
>>> Perry
>> Nothing? Beulla?
>
> Is there something in the registry?
> searched for ".cui" there, couldnt find anything.

Whats weird is before the call to sendstring, I can establish a document
> object and echo stuff to the command prompt. So seems to me that there
> IS a document, but sendstring says no
*perry
Message 5 of 5 (144 Views)

Re: SendStringToExecute - when?

08-21-2006 07:53 AM in reply to: *perry
I spend so much time talking to myself here I should get
a free shopping cart.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.