OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How can i use OpenOffice as MDI Child with .Net

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
alphokung
Newbie
Newbie


Joined: 18 Oct 2010
Posts: 3

PostPosted: Thu Oct 28, 2010 2:05 am    Post subject: How can i use OpenOffice as MDI Child with .Net Reply with quote

If i want to use OO as MDI Child how can I do it. Now I try to use something like this

Process p = Process.Start(@"swriter.exe");
Thread.Sleep(1000);
SetParent(p.MainWindowHandle, this.Handle);

But it had a error with p.MainWindowHandle because p is null.

ps. I can use this code for other program like Word or Excel.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group