What causes this error? “Runtime error 380: Invalid property value”

前端 未结 13 1855
野的像风
野的像风 2020-12-18 00:21

we had developed an application using vb6.0 and SQL server 2000 a few years ago. recently, some of our customers tell us that while running the application, on some of comp

相关标签:
13条回答
  • 2020-12-18 00:39

    Old thread, but here is an answer.

    Problematic fonts with voyager

    ie. if you install some corel suite, drop some language options away. We dig through this with process monitor and found the reason, with us it was these two font files.

    DFKai71.ttf dfmw5.ttf

    We had same problem and it was fixed by removing these two font files from windows\fonts folder.

    0 讨论(0)
  • 2020-12-18 00:39

    I think, basically the problem lies in the fact, as to under what version of the O/S has the programme been compiled and under what version of the O/S are you running the programme. I have seen a lot of updated dll and ocx files causing similar errors, especially when the programme has been compiled under older version of the dll and ocx files and during set up the latest dll and ocx files are retained.

    0 讨论(0)
  • 2020-12-18 00:40

    One reason for this error is very silly mistake in code. If proper value is not passed to a property of ActiveX, then also this error is thrown.

    Like empty value is passed to Font.Name property or text value is passed to Height property.

    0 讨论(0)
  • 2020-12-18 00:41

    Looks like the answers above are for when you are writing and compiling a program, but I'm using a Vendor's software, Catalog.exe, part of the Voyager card catalog by "Ex Libris" and I'm getting the error as well:

    catalog-error.png http://img805.imageshack.us/img805/8275/catalogerror.png

    I have two Windows 7 32-bit machines. The newer one is giving me the error but on the older one it runs fine. I have done a lot of research with Google and here are some of the things I've found that people are saying related to this issue. Maybe one of these things will help fix the error for you, although they didn't work for me:

    • An outdated or corrupt video card driver can cause Run-Time Error 380 (try updating)
    • Restart in Safe Mode
    • Run system file checker sfc /scannow
    • Run the application as Administrator (right click, Run as Administrator)
    • Get all the MS Windows and MS Office Updates
    • Uninstall and reinstall the software
    • Clean the registry with CCleaner to remove bad or null registry values
    • Reinstall MS Office (or possibly install and older version?)
    • (Re) install all the Microsoft VB6 runtime libraries, updates, and service packs
    • (Re) install the "Microsoft Visual C++ Runtime Library"
    • Configure Windows to use the decimal "." when displaying numbers. Select Start / Control Panel / Date, Time, Language, and Regional Options.

    From what others are saying (like David M) I think it could be related to the MSVBM60.DLL library - but it appears that on both of my computers this file is the exact same (same version, size, date, etc).

    Since that file wasn't different I tried to find what other (dll) files the application could be using, so I launched Process Explorer by Sysinternals and took a look at the application (it loads and then crashes when you tell it to "connect"), and the screenshots below are what I found.

    screen1.png http://img195.imageshack.us/img195/2231/screen1oo.png

    screen2.png http://img88.imageshack.us/img88/2153/screen2ao.png

    Now, I'm not a Windows / VB programmer, just a power user, and so I'm about at the end of my knowledge for what to do. I've talked to the software vendor and they recommend reinstalling Windows. That will probably work, but it just bugs me that this program can run on Windows 7, but something on this particular system is causing errors. Finally, this is an image that has been deployed on multiple machines already and so while re-installing Windows once is not a big deal it would save me some serious time if I could figure out a fix or workaround.

    0 讨论(0)
  • 2020-12-18 00:49

    error 380 windows 7 solution very easy just check your date time & regional setting do them correct.

    0 讨论(0)
  • 2020-12-18 00:50

    If you write software, or use software written, which stores program window coordinates or sizes to be resused when starting a program, check there for any occurrence(s) of such sizes and positions which would be causing this. I've seen it time and time again from various vendors lazily producing code which resizes and repositions controls on a "form" (a program window) based on the size of said form. Look in HKLM\Software\Vendor\Program and HKCU\Software\Vendor\Program. Look for specific keys which might be offending. I once had a program store -48000 for the program window position in keys called WindowsPosX and WindowPosY. You could see the program start and running on the taskbar but since the program window itself was smaller than 48000 (the absolute value of -48000), it was positioned completely off the screen. If you're not comfortable with editing regstry information - most people aren't - then uninstall the software, use a registry cleaner to remove any leftover entries then reinstall the software and see if that doesn't fix the problem.

    0 讨论(0)
提交回复
热议问题