Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Visio Drawing control problem (visio activex control)

  Asked By: Celia Bond         Date: May 06, 2007      Category: Sharepoint      Views: 303
 

I am rendering the visio drawing control in a webpart using the following
code in the renderwebart method:
output.Write("\n"
+ "<object classid=\"clsid:E4615FA3-23B0-4976-BD3E-D611DDBE330E\""
+ "id=\"axVisio\">\n"
+ " <param name=\"HostID\" value=\"\">\n"
+ " <param name=\"NegotiateMenus\" value=\"False\">\n"
+ " <param name=\"NegotiateToolbars\" value=\"False\">\n"
+ " <param name=\"PageSizingBehavior\" value=\"1\">\n"
+ " <param name=\"Src\" value=\"" + documentToLoad + "\">\n"
+ "</object>\n"
+ "\n");
But when i view this page the IE information bar shows "Internet Explorer has
bloked this site from using an ActiveX control in an unsafe manner. As a result,
this page may not display correctly" message. I kindly request u guys to help me
out in solving the problem.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:          

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Visio Drawing control problem (visio activex control) Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].