473,569 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Start WinWOrd in the same process - is it possible?

Guys,

I'm writing the Windows Application and one of the ideas is to use a
RichText field to store/show some formatted text, probably with pictures.
The problem is that this RichEdit control is very poor and I'd like to use
WinWord for significant editing. I also don't want to exclude the RichEdit
control for some light changes of the same text.

So the problem is to start WinWord so that the main application should be
frozen until WinWord is closed. Is it possible to start WinWord as well as
any other child process inside running process (C# Windows Application) to
freeze the main application until the child process is finished? I want to
do that just to save and then import the RTF file written in WinWord.

I also assume that it's possible to use WinWord like embedded object but I'm
thinking that it's significantly harder for implementation.

Any other way?

Thanks,
Just D.
Nov 16 '05 #1
0 1399

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

Similar topics

2
360
by: James P | last post by:
Hi, I have a setup project that has a .chm file and a .doc file as part of installation. They show up on the start menu of the user with the default icon shown in the project. Not the help icon and the word icon. How do I change these icons in the setup project? Thanks. James
2
4204
by: Robin Tucker | last post by:
Hi, I am diligently releasing (Marshal.ReleaseComObject (o) ) all references I pick up while generating a report using VB.NET in my software. At least, I *think* I am. However, when I have finished using the WINWORD.EXE com server, I still have a reference to it hanging somewhere in my code (I know this because it remains in task...
2
307
by: genojoe | last post by:
The command below opens a Word document but to use it I need to know the path for Winword.EXE Process.Start(C:\Office2003\OFFICE11\WINWORD.EXE, C:\Data\Print.rtf") Is there a command that I can use to open it without knowing the path by using the Information that Windows has for Registered file types?? Alternately, is there a reliable...
3
11713
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these suggestions. 1) Check the file permissions for the document or drive. 2) Make sure there is sufficient free memory and disk space. 3) Open the file with...
2
4504
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these suggestions. 1) Check the file permissions for the document or drive. 2) Make sure there is sufficient free memory and disk space. 3) Open the file with...
1
2915
by: Thomas Beyerlein | last post by:
I am trying to open word with process.start but when it opens word it give me a error that says: Word experienced an error Try suggestions: * check the file permissions * Make sure there is sufficient free memory * Open the file with the text recovery I think it is some thing with word. Any suggestions??
3
4051
by: James | last post by:
Howdy. I'm having difficulty getting winword.exe processes to die on our development server when using SET objWord = CreateObject("word.application") from an .ASP page. This problem exists on our development server only as we are still using Office 2000 components in production. No probs in production with the current code which has been...
1
3545
by: ddeterman | last post by:
I am extremely new to C#, so please respond using small words. :-) I am working on a client/server application which creates a word document and attaches it to an e-mail. Once the e-mail is sent, I need to kill the WINWORD process on the server. Unfortunately, everyone who uses this application is running under the same credentials, so I can...
2
2792
by: Dean Slindee | last post by:
Using this statement to utilize the spell checker in WinWord: WinOffice.clsWord.SpellChecker(txtNote.Text) 'this does not work because no main window is displayed 'Dim proc = Process.GetProcessesByName("winword") 'For i As Integer = 0 To proc.Count - 1 ' proc(i).CloseMainWindow() 'Next i 'this closes all WinWord processes silently (a...
0
7924
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, 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. ...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
tracyyun
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...
0
6284
agi2029
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...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
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...

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.