TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shazadali
NA
7
0
ActiveX form in C#
Sep 26 2003 12:42 PM
I have a VB6 ActiveX DLL in which I have methods that allow me to call a VB6 form within the VB6 DLL application. I am using COM interop in C# to link to this DLL, and am trying to open VB forms from within my C# windows app. The problem is that it only allows me to run VB forms Modally. I want to be able to open my forms in Modeless mode, i.e frmMyForm.Show if I attempt this i get the following error. Error 406: Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page So am I stuck with only being able to open Forms in Modal mode from within C# or is there another way. OR if anyone knows how I can open a VB6 form in Modeless mode (not Modal), from with C#, Please help me. Thanks.
Reply
Answers (
4
)
How to call exe file from C#
MDI Child Window Menu Issue