Hi gang,
Very sorry if this is in the wrong place, but I am at my wits end with this
thing and am in DESPERATE need of some assistance, ANY assistance...
I have a Service that I wrote that fetches a Word doc via FTPS and prints it
locally. The service was not working due to an error I could not trap (or
didn't understand), so I decided to just write a plain old Win Forms app to
do the job until I could figure out the service issue.
I write the Win Forms app, and whenever I get to the call to create a new
Word.Applicatio n instance, my code wanders off into the weeds, never to be
heard from again. I have tried:
wordApp = New Word.Applicatio n as well as wordApp =
CreateObject("W ord.Application ") and both produce the same results. However,
the CreateObject call would occaisionally throw a "Cannot create ActiveX
control" exception.
Now, here is the weird part. I have another Web app that uses the same code,
and it worked fine on my dev machine... until I hit this problem. Now
suddenly the Web app is doing the same thing. As far as I know, nothing has
changed on my system (except for perhaps a Windows update, which could be the
culprit).
I have searched high and low on the Net for solutions, and have found many,
but none seem to work. I am also able to reproduce this on my deployment
machine, so one possibility I read that my OS was corrupted, does not seem
viable.
Can anyone shed some light on this, or guide me through to a solution? Help
me Obi Wan Kenobi... you're my only hope...
Please, anyone who has any insight/input/experience with this problem, help!
Frustrated, frantic, and feeling like an idiot,
Chris 0 1228 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Anand G |
last post by:
We are trying to find help on the Interop classes for interfacing with
Word/Excel to create Word document with tables/charts etc.
We are not able find any help on the MSDN and on google for Interop classes.
Example: Where can find the help for the
"Microsoft.Office.Interop.Word.Application" class, like its members, methods
etc...
Thanks...
|
by: Kaytrim |
last post by:
I have an application that puts data into an Excel spreadsheet. It then opens a Word doc that reads the data and either prints the resulting form letters or keeps the file open for viewing. This uses Office XP and worked fine until I applied SP3. now it crashes with the following error. "Requested object is not available" The crash occurs when...
|
by: William LaMartin |
last post by:
I have created a program that allows for the automation of things in Word
documents, like changing the values of DocVariables and the links to Excel
Sheets. I did it using interoperoperatability, where, after adding a
reference to Microsoft.Office.Core and a reference to Microsoft Word I
declare objects as follows:
Dim oWordApp As New...
|
by: Raconteur |
last post by:
Hi gang,
Very sorry if this is in the wrong place, but I am at my wits end with this
thing and am in DESPERATE need of some assistance, ANY assistance...
I have a Service that I wrote that fetches a Word doc via FTPS and prints it
locally. The service was not working due to an error I could not trap (or
didn't understand), so I decided to...
|
by: R Reyes |
last post by:
ISSUE (reposted)
===========================
Can someone please explain to me why I can't get the MS Word Interop assembly
to work in my VS2005 project? For many people, they say they add the
reference and it works, however when I add the reference the application
can't find it. Not sure why it says the system cannot find the file when it...
| |
by: winston.heng |
last post by:
Hi,
Thanks for reading this posting. I have been cracking my head on
solving the infinite loop
when i call the following section code. Any help or advise is greatly
appreciated =D
Thanks in advance.
Cheers!
|
by: Nelluru |
last post by:
Hi,
I am using Office XP PIA's to read a word document. I am able to read the whole content. The problem is that i want to get a particular word in the document instead of the whole content.
Will the _Document.Words property is useful to retrieve word by word form the document??? If it is possible, How to use it???
thanks
Nelluru
|
by: Derek Hart |
last post by:
I am using late bound Microsoft Word integration with a vb.net winforms
application. If I run code such as the following:
Dim objWord As Object
Dim objWrdDoc As Object
Dim count As Integer
Dim filename As String
filename = "c:\temp\mergedata\1.doc"
objWord = CreateObject("Word.Application")
For count = 1 To 10000
|
by: =?ISO-8859-1?Q?S=F8ren?= |
last post by:
Hi guys
I got the following code:
-------------------------------------------------------
Dim Word As New Microsoft.Office.Interop.Word.Application
Dim Document As Microsoft.Office.Interop.Word.Document
Document = Word.Documents.Open(Filename)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |