473,396 Members | 1,773 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,396 software developers and data experts.

Converting process to COM-object (Microsoft Word)

Hi,
I would like to take a process object and turn it into an instance of a
com-object somehow.

I know that I can get all Microsoft Word processes running by using
Process.GetProcessesByName("winword") which I can't put into a word
application object.

I also know that I can get one (without being able to specify which) of
those running processes by using GetObject(Class:="Word.Application") which I
can put into a Word Application object.

What I really would likt to be able to is to take one specific of those
processes that I find by using the first GetProcessesByName call and put into
a Word Application object. However, since the GetProcessesByName call returns
a process rather than an object (as the GetObject call), it cannot
automatically put the process in the Word Application object. Is it possible
to do that? How would I convert the process to a word object. Could I use the
IntPtr on the process somehow with any API to do this?

I would be really grateful if anyone could help me with anything on this
issue.
Thanks,
Henrik
Nov 22 '05 #1
0 864

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rob McLennan - ZETLAND | last post by:
Hi, I am in the process of converting Dreamweaver library items to server side includes (SSI) on a website made up of ASP files. The pages I am modifying are Dreamweaver templates. The process I...
1
by: Donald Firesmith | last post by:
We are converting the OPEN Process Framework Repository (www.donald-firesmith.com) of over 1,100 free open source reusable process components for building development methods for...
2
by: Rohit | last post by:
Hi, My organisation is using Access 97 and going to replace it with access 2000. Users have n number mdb files created in 97. After installation of Access 2000 I need to conver ALL the mdbs to...
2
by: Map Reader | last post by:
Greetings, I am converting an old VB6 application to use .NET. One of the old controls loads icons from the disk and displays them. However, the transparent color turns to blue somewhere in the...
0
by: SenthilVel | last post by:
Hi All I am in the process of converting my 1.1 written CLR to 2.0 CLR in vs2005. In this process i am meeting all the abosolete and the warnings which are given up with building with the...
1
by: SenthilVel | last post by:
Hi All I am in the process of converting my 1.1 written CLR to 2.0 CLR in vs2005. In this process i am meeting all the abosolete and the warnings which are given up with building with the...
7
by: Coleen | last post by:
Does anyone have any good detailed information on the conversion process? We are in the process of converting 2 projects from 2003 to 2005 and have some conversion errors that I can not find...
16
by: manmit.walia | last post by:
Hello All, I have tried multiple online tools to convert an VB6 (bas) file to VB.NET file and no luck. I was hoping that someone could help me covert this. I am new to the .NET world and still...
1
by: Anandshr | last post by:
I have a database created in Ms Access 95 file format. now i want to convert it into Ms Access 2000,2002 or 2007 file format. I got the error when converting that database. I've already tried to...
0
by: Terry Reedy | last post by:
A. Joseph wrote: These are number representation systems that can be applied to or used with integral, rational (numberator,denominator), and 'point' numbers. Try Wikipedia or any search...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
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.