Shapes window closed on my dev box but appears on production box.

0

0rbital

In the drawing tool in .Net C# I'm doing this to close the shapes window:

//get rid of shapes search window
Visio.Window winShapeSearch =
axDrawingControl1.Window.Windows.get_ItemFromID((int)Visio.VisWinTypes.visWinIDShapeSearch);
winShapeSearch.Visible = false;
winShapeSearch.Close();

Which works fine on my development box. On the production box however it
still appears. There's nothing in it just a blank shapes window. Why would
this be happening?

Thanks.
 
B

Barb Way

Are you seeing this in the ActiveX based app on your production box, or in
the Visio full application? The reference changes, of course, if you are
running in the full app - but other than that, the code should work in
either context. Are there any other differences in behavior between the
two systems? (Visio version, etc.)

Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------
In the drawing tool in .Net C# I'm doing this to close the shapes window:

//get rid of shapes search window
Visio.Window winShapeSearch =
axDrawingControl1.Window.Windows.get_ItemFromID((int)Visio.VisWinTypes.visWi
nIDShapeSearch);
winShapeSearch.Visible = false;
winShapeSearch.Close();

Which works fine on my development box. On the production box however it
still appears. There's nothing in it just a blank shapes window. Why
would
this be happening?

Thanks.
 

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