473,386 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

I have problem with word.dll

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
1 1898
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Joan | last post by:
I am creating a word document from an asp page. I have no problems actaully creating the document and creating some tables that have data in them. I am using Response.ContentType =...
5
by: Clifford W. Racz | last post by:
Has anyone solved the issue of translating lists in Word 2003 (WordML) into xHTML? I have been trying to get the nested table code for my XSLT to work for a while now, with no way to get the...
12
by: teoryn | last post by:
I've been spending today learning python and as an exercise I've ported a program I wrote in java that unscrambles a word. Before describing the problem, here's the code: *--beginning of file--*...
11
by: Marcus Jacobs | last post by:
Dear Group I have encountered a problem with fclose and I am wondering if anyone could provide some insight about this problem to me. Currently, I am working on a small personal project that is...
5
by: John N. | last post by:
Hi All, Here I have a linked list each containing a char and is double linked. Then I have a pointer to an item in that list which is the current insertion point. In this funtion, the user...
16
by: Simon Verona | last post by:
I have a problem with automating MS Word through vb.net My code is : Dim objword As new Word.ApplicationClass Try objWord.Documents.Open(letterfile)...
2
by: ashmangat | last post by:
I'm trying to claculate the average number of characters per words but having some problems Every time i run this program, i get 0 as the average #include <iostream> #include <string> #include...
11
by: leiz | last post by:
Hi, I am using COM to automate Word. In the main thread of my program, I store all the Document objects from Application.Documents. In one event handler (the event generated by Word), if i get...
9
by: weidongtom | last post by:
Hi, I've written the code that follows, and I use the function add_word(), it seems to work fine *before* increase_arrays() is called that uses realloc() to allocate more memory to words. But...
9
by: david | last post by:
I will past only two segments from the code it should be enough to see what I did wrong, I think I know there I made a mistake, but how to fix it I can not tell. This why I need help from you all....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.