Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
GeneralUnable to establish existence of the account specified Pin
AsheeshS9-Apr-04 2:49
AsheeshS9-Apr-04 2:49 
GeneralRe: Unable to establish existence of the account specified Pin
Mazdak9-Apr-04 3:00
Mazdak9-Apr-04 3:00 
GeneralRe: Unable to establish existence of the account specified Pin
AsheeshS9-Apr-04 3:13
AsheeshS9-Apr-04 3:13 
GeneralRe: Unable to establish existence of the account specified Pin
Mazdak9-Apr-04 3:25
Mazdak9-Apr-04 3:25 
GeneralRe: Unable to establish existence of the account specified Pin
Heath Stewart9-Apr-04 3:49
protectorHeath Stewart9-Apr-04 3:49 
GeneralRe: Unable to establish existence of the account specified Pin
AsheeshS9-Apr-04 19:17
AsheeshS9-Apr-04 19:17 
GeneralRe: Unable to establish existence of the account specified Pin
Heath Stewart11-Apr-04 3:23
protectorHeath Stewart11-Apr-04 3:23 
GeneralVISIO SDK problems Pin
Anonymous9-Apr-04 1:11
Anonymous9-Apr-04 1:11 
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.

GeneralRe: VISIO SDK problems Pin
Heath Stewart9-Apr-04 3:52
protectorHeath Stewart9-Apr-04 3:52 
GeneralRe: VISIO SDK problems Pin
Anonymous11-Apr-04 20:23
Anonymous11-Apr-04 20:23 
GeneralRe: VISIO SDK problems Pin
Anonymous12-Apr-04 0:46
Anonymous12-Apr-04 0:46 
Questionwindow messages hooking??? Pin
SherKar9-Apr-04 0:47
SherKar9-Apr-04 0:47 
AnswerRe: window messages hooking??? Pin
Mazdak9-Apr-04 0:55
Mazdak9-Apr-04 0:55 
GeneralRe: window messages hooking??? Pin
SherKar9-Apr-04 1:40
SherKar9-Apr-04 1:40 
GeneralRe: window messages hooking??? Pin
Heath Stewart9-Apr-04 3:57
protectorHeath Stewart9-Apr-04 3:57 
GeneralObject Reference Required Pin
thewebmonster9-Apr-04 0:31
thewebmonster9-Apr-04 0:31 
GeneralRe: Object Reference Required Pin
Colin Angus Mackay9-Apr-04 0:47
Colin Angus Mackay9-Apr-04 0:47 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 0:50
thewebmonster9-Apr-04 0:50 
GeneralRe: Object Reference Required Pin
Colin Angus Mackay9-Apr-04 1:04
Colin Angus Mackay9-Apr-04 1:04 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 1:20
thewebmonster9-Apr-04 1:20 
GeneralRe: Object Reference Required Pin
Colin Angus Mackay9-Apr-04 1:36
Colin Angus Mackay9-Apr-04 1:36 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 3:53
thewebmonster9-Apr-04 3:53 
GeneralRe: Object Reference Required Pin
Heath Stewart9-Apr-04 4:01
protectorHeath Stewart9-Apr-04 4:01 
GeneralRe: Object Reference Required Pin
thewebmonster9-Apr-04 4:03
thewebmonster9-Apr-04 4:03 
GeneralRe: Object Reference Required Pin
Heath Stewart9-Apr-04 4:09
protectorHeath Stewart9-Apr-04 4:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.