vb.net - User control failed to instantiate -


i freshly developed elemarg control(elemedit.ocx) , tried still getting problem.

i explain problem elaborately. elemarg user control having checkbox, testbox , combobox. elemarg control again used component in control sinewavegenerator.ctl. in application many user defined controls(like sinwavegenerator.ctl, coswavegen.ctl, levels.ctl ete..)are there.

in custom application using form(pdeform.frm) on user defined control(right_pane.ctl)exists. while running application, when pdeform opened, controls ( sinnewavegenerator.ctl, coswavegen.ctl , levels.ctl etc..) objects gets created , controls placed on top of right_pane.ctl(which there on form) when user clicks respective control. irrespective of application size form loading , objects created each control successfully.

application developed such when click particular control on form, control instatiated using usercontrol.controls.add(progid, index). total 15 controls present. among these 15, controls not instantiating.

here application nothing test program developed excel , vba. user can develop test program such can add number of controls form based on requirement. when controls less in test program, there no issue. when user using many controls in test program, of controls not able instatiate.

i suspect when control clicked, gets instantiated , memory allocated, on each clicking memory consumption of application(test program) goes on increasing when reached certain(peak) value not able instantiate further.

is there restriction on memory usage of application(process)? each application can use upto amount of memory only.

please give comment on observations , how out problem.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -