Exception on Clicking File Summary OK button

A

Asif

I am using Visio 2003 ActiveX Control in my application using VB.NET
2005.

I am calling "visCmdFileSummaryInfoDlg" Command to open File Summary
Dialog Box. Dialog Box is open successfully but if I click on OK
button without any changes, control throws an exception.

{System.Runtime.InteropServices.COMException}
System.Runtime.InteropServices.COMException: {"Cancel."}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: Nothing
InnerException: Nothing
Message: "Cancel."
Source: "Microsoft Visio"

But if I did make some changes and then click OK button , no exception
is thrown.

Can any one let me know about how to solve the issue.

Thanks

Asif
 
J

JuneTheSecond

Visio sub windows return error message when they don't recieve users' input,
and they don't return the result code. I could not wrap them in the if-then
lines, so I have written a line like On Error Resume Next before opening sub
window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top