L
live
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\mscorlib.dll', aucun symbole
chargé.
'WindowsApplication1' : chargé 'E:\service
windows\test\WindowsApplication1\bin\Debug\WindowsApplication1.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__b77a5c561934e089\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__b77a5c561934e089\system.data.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\microsoft.office.interop.word\11.0.0.0__71e9bce111e9429c\microsoft.office.interop.word.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\mscorlib.resources\1.0.5000.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(Hashtable h, String inDoc,
String outDoc) in e:\service
windows\test\windowsapplication1\moulinette.cs:line 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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32
nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(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).
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\mscorlib.dll', aucun symbole
chargé.
'WindowsApplication1' : chargé 'E:\service
windows\test\WindowsApplication1\bin\Debug\WindowsApplication1.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__b77a5c561934e089\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__b77a5c561934e089\system.data.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\microsoft.office.interop.word\11.0.0.0__71e9bce111e9429c\microsoft.office.interop.word.dll',
aucun symbole chargé.
'WindowsApplication1.exe' : chargé
'c:\windows\assembly\gac\mscorlib.resources\1.0.5000.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(Hashtable h, String inDoc,
String outDoc) in e:\service
windows\test\windowsapplication1\moulinette.cs:line 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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32
nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(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).