Print Page | Close Window

non-modal forms can not be displayed in this host

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: .NET WinForms
Forum Description: Topics related to Codejock .NET Windows Forms products
URL: http://forum.codejock.com/forum_posts.asp?TID=13656
Printed Date: 21 November 2024 at 6:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: non-modal forms can not be displayed in this host
Posted By: Gopi
Subject: non-modal forms can not be displayed in this host
Date Posted: 12 March 2009 at 4:39am
Hello,
I have made one application in VB.Net
In that i have used some ocx controls and Dll which will work perfect in VB
but when i am going to use the properties from that dll that is giving me error that the run time error 406 non-modal forms can not be displayed in this host application from an activex dll.
My code is like that
Private Sub btnAnalysis_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAnalysis.Click

AxEcgTrend1.PerformAnalysis(AxEcgTrend1.SelectedLead)
AxEcgTrend1.AnalyzeAllLeads(True)

End Sub

This will give me error.
Its urgent. please anyone can help for that.
i cant make change in dll.
So in my application what should i write for that?
Thanks in adv.

-------------
Thanks.
Gopi



Replies:
Posted By: braian87b
Date Posted: 01 September 2009 at 10:49am



Posted By: kstowell
Date Posted: 01 September 2009 at 11:32am
Hi,
 
you can try the MSDN website http://msdn.microsoft.com - http://msdn.microsoft.com  or Google search, you will probably find the answer you are looking for there.
 
Cheers,


-------------
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net