PC Review


Reply
Thread Tools Rate Thread

COM add-in form show question

 
 
dcjohnson50@gmail.com
Guest
Posts: n/a
 
      1st May 2007
I'm developing a COM add-in for Excel using VB 6.0. So far, it works
well with one exception, I haven't been able to keep one of my forms
on top of Excel, yet be modeless.

My code to call the form is as follows:
MyForm.Show vbModeless

The Show function is defined as such:
--------------------------------------------
object.Show style, ownerform

ownerform Optional. A string expression that specifies the component
which "owns" the form being shown. For standard Visual Basic forms,
use the keyword Me
--------------------------------------------

The ownerform parameter is the key here, but so far it's kicking my
butt. I searched a few pages deep but didn't find anything. Any help
would be appreciated.

Thanks,
David

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question regarding showdialog() and show() and a child form VMI Microsoft C# .NET 1 12th Jul 2005 01:08 AM
in VB.net app how to show a modeless form when a model form show. =?Utf-8?B?eXpp?= Microsoft VB .NET 3 21st Oct 2004 06:59 AM
Re: Form show question Application.Run(New FooForm()) Peter Microsoft VB .NET 1 7th Sep 2004 04:36 PM
Re: Form show question Peter Microsoft VB .NET 0 7th Sep 2004 03:44 PM
Form Show Question =?Utf-8?B?V1N0b3JleUlJ?= Microsoft VB .NET 2 20th May 2004 04:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:18 PM.