TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
francislc
NA
1
0
VISIO SDK problems
Apr 9 2004 7:27 AM
Hi all. I am trying to build the 'Print Preview' sample that can be found in the VISIO SDK samples (under the category 'c# - publishing' in code librarian). I follow these steps (these steps are exactly the ones indicated in the Microsoft Office Visio SDK Documentation): quote: -------------------------------------------------------------------------------- In Microsoft Visual Studio .NET 2003, on the File menu, point to New and then click Project. In the New Project dialog box, under Project Types, click Visual C# Projects, and then in the Templates list, select Windows Application. Name the project, specify the location where you want to save it, and click OK. On the Project menu, click Add Windows Form, and name the form PrintPreview.cs. Double-click the form to open the code window. Open Code Librarian, double-click Microsoft Visual C#.NET, double-click Publishing, and then click Print Preview. Copy the sample code, and in Visual Studio, paste the sample code into the PrintPreview.cs code window, replacing the previous code. On the Project menu, click Add Reference. In the component list, select stdole and then click Select. Click the COM tab, select Microsoft Office 11.0 Object Library and Microsoft Visio 11.0 Type Library, click Select, and then click OK. -------------------------------------------------------------------------------- When I try to build it I get an error: "The type or namespace name 'Interop' does not exist in the class or namespace 'Microsoft.Office'" This error happens whenever I try to use: "Microsoft.Office.Interop.Visio" Am I missing a reference? I added the three references indicated in the steps above. Of course, I installed Visio SDK and also VSIP. I need for this to be built! What reference am I missing? What am I doing wrong? Any help will be greatly appreciated.
Reply
Answers (
0
)
Active form problem???
datagrid