Hi All
I am a new Programmer in VB.I made an OCX containing 5 UserControls.I hav to use it in a seperate project.When opening that Project itself Out of Memory Exception is coming.I have put MsgBoxes in userControl_Initialize in my control.As Err.Description i am getting as Out of Memory.What may b the reason? Whether this is because of my code or system memory problem?How to solve this?Please help me..

first thing to check is for never ending loops.
try to write to the debug window OR write to a textfile so you can check the exe.

There is no never ending loops..I wont b able to debug as such because it will work with another software only.Most functions are call back.When staring the Component itself (UserControl _ Initialize)Out of memory Exception is coming.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.