Message 1 of 6
modal vs non-modal

Not applicable
12-09-2002
12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a VB 6.0 dll that contains a form - "frm_settings". Also in the
file is a class named "dmt_cmd" to where I plan to make the target of
all calls from vlisp.
One of the subs in the class is:
public sub dmt_settings()
frm_settings.show vbModal
end sub
I can create the connection with the vlax-create-object call, but when I
attempt to use the vlax-invode-method call to 'dmt_settings', I get an
error message that 'non-modal forms cannot be displayed by the host
application'. The same error message comes up when I attempt to call the
routine via VBA.
Any help will be greatly appreciated.
Tom Craft
file is a class named "dmt_cmd" to where I plan to make the target of
all calls from vlisp.
One of the subs in the class is:
public sub dmt_settings()
frm_settings.show vbModal
end sub
I can create the connection with the vlax-create-object call, but when I
attempt to use the vlax-invode-method call to 'dmt_settings', I get an
error message that 'non-modal forms cannot be displayed by the host
application'. The same error message comes up when I attempt to call the
routine via VBA.
Any help will be greatly appreciated.
Tom Craft