Help with sendcommands

Help with sendcommands

Anonymous
Not applicable
257 Views
1 Reply
Message 1 of 2

Help with sendcommands

Anonymous
Not applicable
I am using a VBA program that has one sendcommand for a wipeout command. Unfortunately, I need this wipeout command in my program and the only way to do it (that I have found) is with sendcommands. As a result, I have a notification that gets sent to the command line when my program is done by doing the following:
thisdrawing.Utility.Prompt (vbCrLf & "Setup has finished Successfully!" & vbCrLf)
This works great, HOWEVER, because of the sendcommand for wipeout, the sendcommand is the last thing the user sees, NOT the "success" message.

What I am trying to do now to combat this is use sendcommands to send my "success" message, but whenever I do, it detects the spaces as an enter key and errors out. I have also tried using chr(32) but it still errors out. Here is the code for that...
thisdrawing.SendCommand ("Setup1" & Chr(32) & "has" & Chr(32) & "finished" & Chr(32) & "Successfully!")

What am i doing wrong? Please help as I am completely stuck.

Thanks,
Mike
0 Likes
258 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
http://discussion.autodesk.com/thread.jspa?messageID=2879416
0 Likes