Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have an add-in program that has several forms. When the program is done with one form, it automatically goes to the next method it needs. (Word add-in). My problem is this...When I hit cancel, I want it to stop all actions with-in my add-in. Right now, if I hit cancel, it just continues to the next method. I want to cease all actions, and undo what was done essentially. Enivronment.Exit(exitcode) doesn't work because it closes Word all together.

 

I want it to just spot the add-in from moving to the next method. Any suggestions?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...