Solved

Stability of DLLs using controls

Posted on 2003-12-04
4
262 Views
Last Modified: 2013-11-13
Hi all,

   I understand that if I were to call an OCX component from a ActiveX DLL, it will be unstable. Is it true? The DLL will be written by me.

thanks
tg
0
Comment
Question by:chngtg
4 Comments
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 50 total points
ID: 9874348
chngtg,
    I have writen a ActiveX DLL writen in VB6 that contains a Winsock control. It is used on a number of servers by VB6 apps and on one of our web servers by ASP. I have not encountered any problems in the year and a half it has been in use.

Dang123


0
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 25 total points
ID: 9874406
All VB is about calling COM components from various Dll. Don't care, it will be OK.
This adds additional dependency to your project and you need to distribute both exe and ActiveX Dll.
0
 
LVL 13

Expert Comment

by:crazyman
ID: 9874564
who ever told you this is lying, using this method should introduce no more instability.
0
 
LVL 4

Accepted Solution

by:
PBuck earned 50 total points
ID: 9875065
Just another sample of using ActiveX DLL with ocx controls.  We use ActiveX DLLs for each of our 80+ screens, display them all within an MDI form.  Each screen DLL using many many labels, textboxes, listviews, combos, etc and we have no stability issues.  

The only concern we have is memory usage when displaying many DLLs in a sorta workbook mode.  But with proper clean up and optimization - no problems have occurred with GPF's or lock ups.  

Hope this helps.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Not needed 13 128
I need help using System.Web.HttpUtility.HtmlEncode in my VB.Net application 3 110
MsgBox 4 71
Problem to refer to value 8 78
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question