VB5: Run-Time Error '380'

This is very frustrating.  A VB5 program I wrote years ago stopped working and is now giving me this error:

Run-time error '380':

Invalid property value

I cannot figure out what has changed, since I run that program almost daily.   It was working fine, then stopped (without any changes to the program).   I suspect I may have uninstalled something it uses, but cannot figure out what.

When I open the VB5 IDE, I get an error saying:

'c:\program files\devstudio\vb\Comct232.ocx' could not be loaded--Continue Loading Project

If I say no, it does not load and I cannot see the source code.

If I say yes, it does load and I can see the source code but I get weird compiler errors.

I'm stumped.

Where do I look

 




Answer this question

VB5: Run-Time Error '380'

  • Big_Show

    Sorry about posting in the wrong place.

    Thanks for pointing me to the correct place.

    Before I could post over there, I figured out my problem.

    I first uninstalled VB5 and reinstalled, no change.

    I uninstalled again, just in case I missed something, reinstalled again, watching closly for errors. Nothing. Still failed with error 380.

    Turns out it was a window-size and window-position variable saved in the registry that was a negative number. Very weird choice of error messages...



  • .NET Developer

    change the Resolution to a higher value

  • brave43

    I had the same problem with an app. Worked fine on all machines, but then I need to install onto a test machine... Runtime error '380'.. searched net for couple of hours and came across your reply about a negitive value in the reg...... it hit me.. The test machine I had set up had a lower Resolution.. changed it to the correct value and hey presto no more errors.. Just thought Id say cheers and maybe my comment will help others in the future.

  • vitamin

    Sounds like there is something wrong with your vb5 install. Remember this forum is for vb.net questions try using the vb newsgroups for vb5 questions in the future.



  • VB5: Run-Time Error '380'