Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
Questionproblem in sending file with bluetooth Pin
behzadcp31-Aug-10 20:55
professionalbehzadcp31-Aug-10 20:55 
AnswerRe: problem in sending file with bluetooth Pin
Pete O'Hanlon31-Aug-10 22:33
mvePete O'Hanlon31-Aug-10 22:33 
Question[solved] The type or namespace name 'Word' could not be found [modified] Pin
tepez31-Aug-10 8:23
tepez31-Aug-10 8:23 
AnswerRe: The type or namespace name 'Word' could not be found Pin
Eddy Vluggen31-Aug-10 8:28
professionalEddy Vluggen31-Aug-10 8:28 
GeneralRe: The type or namespace name 'Word' could not be found Pin
tepez31-Aug-10 8:30
tepez31-Aug-10 8:30 
GeneralRe: The type or namespace name 'Word' could not be found Pin
Luc Pattyn31-Aug-10 8:37
sitebuilderLuc Pattyn31-Aug-10 8:37 
GeneralRe: The type or namespace name 'Word' could not be found Pin
tepez31-Aug-10 8:44
tepez31-Aug-10 8:44 
GeneralRe: The type or namespace name 'Word' could not be found PinPopular
Ian Shlasko31-Aug-10 8:49
Ian Shlasko31-Aug-10 8:49 
That's because "Word" is a namespace... A "using" statement is a full declaration, not a partial one.

If you want to prefix them with "Word", try this:
using Word = Microsoft.Office.Interop.Word;

That defines "Word" as an alias for that whole namespace, so you can just always use Word.Application or Word.Document
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: The type or namespace name 'Word' could not be found Pin
Luc Pattyn31-Aug-10 8:51
sitebuilderLuc Pattyn31-Aug-10 8:51 
GeneralRe: The type or namespace name 'Word' could not be found Pin
tepez31-Aug-10 8:53
tepez31-Aug-10 8:53 
GeneralRe: The type or namespace name 'Word' could not be found Pin
PIEBALDconsult31-Aug-10 15:23
mvePIEBALDconsult31-Aug-10 15:23 
GeneralRe: The type or namespace name 'Word' could not be found Pin
Łukasz Nowakowski31-Aug-10 20:28
Łukasz Nowakowski31-Aug-10 20:28 
GeneralRe: The type or namespace name 'Word' could not be found Pin
PIEBALDconsult1-Sep-10 3:09
mvePIEBALDconsult1-Sep-10 3:09 
GeneralRe: The type or namespace name 'Word' could not be found Pin
Łukasz Nowakowski1-Sep-10 3:11
Łukasz Nowakowski1-Sep-10 3:11 
GeneralRe: The type or namespace name 'Word' could not be found Pin
PIEBALDconsult1-Sep-10 3:43
mvePIEBALDconsult1-Sep-10 3:43 
GeneralRe: The type or namespace name 'Word' could not be found Pin
Pete O'Hanlon1-Sep-10 3:14
mvePete O'Hanlon1-Sep-10 3:14 
GeneralRe: The type or namespace name 'Word' could not be found Pin
PIEBALDconsult1-Sep-10 3:34
mvePIEBALDconsult1-Sep-10 3:34 
GeneralRe: The type or namespace name 'Word' could not be found Pin
Pete O'Hanlon1-Sep-10 3:43
mvePete O'Hanlon1-Sep-10 3:43 
GeneralRe: The type or namespace name 'Word' could not be found Pin
PIEBALDconsult1-Sep-10 3:44
mvePIEBALDconsult1-Sep-10 3:44 
GeneralRe: The type or namespace name 'Word' could not be found Pin
EngleA1-Sep-10 3:43
EngleA1-Sep-10 3:43 
QuestionCould not load type (X) from assembly (XX) Pin
WebMaster31-Aug-10 7:02
WebMaster31-Aug-10 7:02 
AnswerRe: Could not load type (X) from assembly (XX) Pin
Not Active31-Aug-10 7:30
mentorNot Active31-Aug-10 7:30 
AnswerRe: Could not load type (X) from assembly (XX) Pin
Luc Pattyn31-Aug-10 7:31
sitebuilderLuc Pattyn31-Aug-10 7:31 
AnswerRe: Could not load type (X) from assembly (XX) Pin
WebMaster31-Aug-10 7:58
WebMaster31-Aug-10 7:58 
GeneralRe: Could not load type (X) from assembly (XX) Pin
Eddy Vluggen31-Aug-10 8:24
professionalEddy Vluggen31-Aug-10 8:24 

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.