Click here to Skip to main content
15,896,153 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I find activeskin skins Pin
Ahmed Gaser5-Jul-04 11:18
Ahmed Gaser5-Jul-04 11:18 
GeneralSpace in table name problem Pin
benglish724-Jul-04 13:56
benglish724-Jul-04 13:56 
GeneralRe: Space in table name problem Pin
Christian Graus4-Jul-04 14:08
protectorChristian Graus4-Jul-04 14:08 
GeneralRe: Space in table name problem Pin
benglish724-Jul-04 14:20
benglish724-Jul-04 14:20 
GeneralWhoops, it worked! thanks Pin
benglish724-Jul-04 14:27
benglish724-Jul-04 14:27 
GeneralRe: Whoops, it worked! thanks Pin
Christian Graus4-Jul-04 15:04
protectorChristian Graus4-Jul-04 15:04 
GeneralWord 2003 & C# Pin
thesundancekid4-Jul-04 8:10
thesundancekid4-Jul-04 8:10 
GeneralRe: Word 2003 & C# Pin
Heath Stewart5-Jul-04 5:51
protectorHeath Stewart5-Jul-04 5:51 
You should always use the PIAs (Primary Interop Assemblies) for Office when possible. Visual Tools for Office 2003 (.NET programming support comes on the Office 2003 Professional CD) and the downloadable Office XP PIAs are what you should use. In fact, if you want to support both Office XP and 2003, use the Office XP PIAs which you can download from MSDN[^]. Typelibs are typically forward-compatible but not always backward compatible. In fact, for most basic functionality even typelibs from Office 97 should support 97, 2000, XP (2002) and 2003 versions of Office products.

In any case, though, the problem is that you aren't referencing the namespace correctly. The namespace is not simply "Word". It's most likely "Microsoft.Office.Interop.Word". At the top of your source file along with all the other using statements, type using then hit Alt+J to display the namespaces.

 

Microsoft MVP, Visual C#
My Articles
Generalnoob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 6:19
insurgentpyro4-Jul-04 6:19 
GeneralRe: noob - using WinConsole - need to compile Pin
Mike Dimmick4-Jul-04 12:06
Mike Dimmick4-Jul-04 12:06 
GeneralRe: noob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 16:40
insurgentpyro4-Jul-04 16:40 
GeneralDateViews-style data binding vs. ValueModel data binding Pin
zet4-Jul-04 1:01
zet4-Jul-04 1:01 
GeneralRe: DateViews-style data binding vs. ValueModel data binding Pin
Heath Stewart5-Jul-04 6:00
protectorHeath Stewart5-Jul-04 6:00 
GeneralC# grid control - headers Pin
Andy H4-Jul-04 0:06
Andy H4-Jul-04 0:06 
GeneralRe: C# grid control - headers Pin
Heath Stewart5-Jul-04 6:04
protectorHeath Stewart5-Jul-04 6:04 
GeneralD3DXSaveSurfaceToFile() is nowhere to be found. Pin
3-Jul-04 18:36
suss3-Jul-04 18:36 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
leppie3-Jul-04 20:20
leppie3-Jul-04 20:20 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Heath Stewart5-Jul-04 6:09
protectorHeath Stewart5-Jul-04 6:09 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Nick Z.5-Jul-04 8:50
Nick Z.5-Jul-04 8:50 
GeneralJIT Debugging Pin
allegator3-Jul-04 18:14
allegator3-Jul-04 18:14 
GeneralRe: JIT Debugging Pin
Heath Stewart5-Jul-04 6:15
protectorHeath Stewart5-Jul-04 6:15 
Questionwhy i can't run a c# app on win 2k without .net framework installed? Pin
jl_araya3-Jul-04 12:32
jl_araya3-Jul-04 12:32 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Stefan Troschuetz3-Jul-04 13:00
Stefan Troschuetz3-Jul-04 13:00 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Tom Larsen3-Jul-04 19:59
Tom Larsen3-Jul-04 19:59 
Generalthanx! Pin
jl_araya4-Jul-04 12:51
jl_araya4-Jul-04 12:51 

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.