By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,724 Members | 859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,724 IT Pros & Developers. It's quick & easy.

I have problem with word.dll

P: n/a
Hi,

when i try to open document word for reading and writing with C#, the
program stop on this line

[ Word.ApplicationClass WordApp = new Word.ApplicationClass(); ]

And the program give me this error :

'DefaultDomain' : chargé
'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', aucun symbole
chargé.

'WindowsApplication1' : chargé 'E:\service
windows\test\WindowsApplication1\bin\Debug\Windows Application1.exe',
symboles chargés.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\system.windows.forms.dll' ,
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system.data.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\microsoft.office.interop. word\11.0.0.0__71e9bce111e9429c\microsoft.office.i nterop.word.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\mscorlib.resources\1.0.50 00.0_fr_b77a5c561934e089\mscorlib.resources.dll',
aucun symbole chargé.

Une exception non gérée du type 'System.IO.FileNotFoundException' s'est
produite dans WindowsApplication1.exe

Informations supplémentaires : Le module spécifié est introuvable.

Exception non gérée : System.IO.FileNotFoundException: Le module spécifié
est introuvable.

at WindowsApplication1.Moulinette.MergeDocument(Hasht able h, String inDoc,
String outDoc) in e:\service
windows\test\windowsapplication1\moulinette.cs:lin e 38

at WindowsApplication1.Form1.OnStart() in e:\service
windows\test\windowsapplication1\form1.cs:line 135

at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in
e:\service windows\test\windowsapplication1\form1.cs:line 92

at System.Windows.Forms.Form.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)

at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32
nCmdShow)

at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)

at System.Windows.Forms.Form.SetVisibleCore(Boolean value)

at System.Windows.Forms.Control.set_Visible(Boolean value)

at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)

at WindowsApplication1.Form1.Main() in e:\service
windows\test\windowsapplication1\form1.cs:line 87Le programme '[1972]
WindowsApplication1.exe' s'est arrêté avec le code 0 (0x0).
May 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I have a suggestion for you. Close all you word documents if you are debug
the word document from Visual Studio.

chanmm

"live" <s_**********@hotmail.com> wrote in message
news:bT*******************@news20.bellglobal.com.. .
Hi,

when i try to open document word for reading and writing with C#, the
program stop on this line

[ Word.ApplicationClass WordApp = new Word.ApplicationClass(); ]

And the program give me this error :

'DefaultDomain' : chargé
'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', aucun symbole
chargé.

'WindowsApplication1' : chargé 'E:\service
windows\test\WindowsApplication1\bin\Debug\Windows Application1.exe',
symboles chargés.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\system.windows.forms.dll' ,
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system.data.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\microsoft.office.interop. word\11.0.0.0__71e9bce111e9429c\microsoft.office.i nterop.word.dll',
aucun symbole chargé.

'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\mscorlib.resources\1.0.50 00.0_fr_b77a5c561934e089\mscorlib.resources.dll',
aucun symbole chargé.

Une exception non gérée du type 'System.IO.FileNotFoundException' s'est
produite dans WindowsApplication1.exe

Informations supplémentaires : Le module spécifié est introuvable.

Exception non gérée : System.IO.FileNotFoundException: Le module spécifié
est introuvable.

at WindowsApplication1.Moulinette.MergeDocument(Hasht able h, String inDoc,
String outDoc) in e:\service
windows\test\windowsapplication1\moulinette.cs:lin e 38

at WindowsApplication1.Form1.OnStart() in e:\service
windows\test\windowsapplication1\form1.cs:line 135

at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in
e:\service windows\test\windowsapplication1\form1.cs:line 92

at System.Windows.Forms.Form.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)

at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32
nCmdShow)

at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)

at System.Windows.Forms.Form.SetVisibleCore(Boolean value)

at System.Windows.Forms.Control.set_Visible(Boolean value)

at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)

at WindowsApplication1.Form1.Main() in e:\service
windows\test\windowsapplication1\form1.cs:line 87Le programme '[1972]
WindowsApplication1.exe' s'est arrêté avec le code 0 (0x0).

May 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.