Invalid property value runtime error 380 invalid property value

Перейти к основному контенту

Перейти к основному контенту

Поддержка

Поддержка

Войти

Войти с помощью учетной записи Майкрософт

Войдите или создайте учетную запись.

Здравствуйте,

Select a different account.

У вас несколько учетных записей

Выберите учетную запись, с помощью которой вы хотите войти.

Проблемы

«Ошибка выполнения 380: недопустимое значение свойства» Эта ошибка возникает при открытии существующего стандартного блока FRx (строка, столбец, каталог или дерево).

Причина

Формат определенного стандартного блока FRx оказался поврежден.

Решение

В меню Файл выберите пункт сжать базу данных FRx и выберите пункт Текущая база данных наборов спецификаций. Если это не помогло устранить проблему, повторно создайте Стандартный блок FRx.

Ссылки

Facebook

LinkedIn

Электронная почта

Нужна дополнительная помощь?

Совершенствование навыков

Перейти к обучению >

Первоочередный доступ к новым возможностям

Присоединение к программе предварительной оценки Майкрософт >

Были ли сведения полезными?

(Чем больше вы сообщите нам, тем больше вероятность, что мы вам поможем.)

(Чем больше вы сообщите нам, тем больше вероятность, что мы вам поможем.)

Насколько вы удовлетворены качеством перевода?

Что повлияло на вашу оценку?


Моя проблема решена


Очистить инструкции


Понятно


Без профессиональной лексики


Полезные изображения


Качество перевода


Не соответствует интерфейсу


Неверные инструкции


Слишком техническая информация


Недостаточно информации


Недостаточно изображений


Качество перевода

Добавите что-нибудь? Это необязательно

Спасибо за ваш отзыв!

×

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

screen3.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.

How to fix the Runtime Code 380 Invalid property value

This article features error number Code 380, commonly known as Invalid property value described as Most properties only accept values of a certain type, within a certain range.

About Runtime Code 380

Runtime Code 380 happens when Windows fails or crashes whilst it’s running, hence its name. It doesn’t necessarily mean that the code was corrupt in some way, but just that it did not work during its run-time. This kind of error will appear as an annoying notification on your screen unless handled and corrected. Here are symptoms, causes and ways to troubleshoot the problem.

Definitions (Beta)

Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!

  • Properties — A property, in some object-oriented programming languages, is a special sort of class member, intermediate between a field or data member and a method
  • Range — A range is an extent of values between its lower and upper bound
  • Property — A property, in some object-oriented programming languages, is a special sort of class member, intermediate between a field or data member and a method
  • Type — Types, and type systems, are used to enforce levels of abstraction in programs.

Symptoms of Code 380 — Invalid property value

Runtime errors happen without warning. The error message can come up the screen anytime Windows is run. In fact, the error message or some other dialogue box can come up again and again if not addressed early on.

There may be instances of files deletion or new files appearing. Though this symptom is largely due to virus infection, it can be attributed as a symptom for runtime error, as virus infection is one of the causes for runtime error. User may also experience a sudden drop in internet connection speed, yet again, this is not always the case.

Fix Invalid property value (Error Code 380)
(For illustrative purposes only)

Causes of Invalid property value — Code 380

During software design, programmers code anticipating the occurrence of errors. However, there are no perfect designs, as errors can be expected even with the best program design. Glitches can happen during runtime if a certain error is not experienced and addressed during design and testing.

Runtime errors are generally caused by incompatible programs running at the same time. It may also occur because of memory problem, a bad graphics driver or virus infection. Whatever the case may be, the problem must be resolved immediately to avoid further problems. Here are ways to remedy the error.

Repair Methods

Runtime errors may be annoying and persistent, but it is not totally hopeless, repairs are available. Here are ways to do it.

If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.

Please note: Neither ErrorVault.com nor it’s writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page — you complete these steps at your own risk.

Method 7 — IE related Runtime Error

If the error you are getting is related to the Internet Explorer, you may do the following:

  1. Reset your browser.
    • For Windows 7, you may click Start, go to Control Panel, then click Internet Options on the left side. Then you can click Advanced tab then click the Reset button.
    • For Windows 8 and 10, you may click search and type Internet Options, then go to Advanced tab and click Reset.
  2. Disable script debugging and error notifications.
    • On the same Internet Options window, you may go to Advanced tab and look for Disable script debugging
    • Put a check mark on the radio button
    • At the same time, uncheck the «Display a Notification about every Script Error» item and then click Apply and OK, then reboot your computer.

If these quick fixes do not work, you can always backup files and run repair reinstall on your computer. However, you can do that later when the solutions listed here did not do the job.

Method 1 — Close Conflicting Programs

When you get a runtime error, keep in mind that it is happening due to programs that are conflicting with each other. The first thing you can do to resolve the problem is to stop these conflicting programs.

  • Open Task Manager by clicking Ctrl-Alt-Del at the same time. This will let you see the list of programs currently running.
  • Go to the Processes tab and stop the programs one by one by highlighting each program and clicking the End Process buttom.
  • You will need to observe if the error message will reoccur each time you stop a process.
  • Once you get to identify which program is causing the error, you may go ahead with the next troubleshooting step, reinstalling the application.

Method 2 — Update / Reinstall Conflicting Programs

Using Control Panel

  • For Windows 7, click the Start Button, then click Control panel, then Uninstall a program
  • For Windows 8, click the Start Button, then scroll down and click More Settings, then click Control panel > Uninstall a program.
  • For Windows 10, just type Control Panel on the search box and click the result, then click Uninstall a program
  • Once inside Programs and Features, click the problem program and click Update or Uninstall.
  • If you chose to update, then you will just need to follow the prompt to complete the process, however if you chose to Uninstall, you will follow the prompt to uninstall and then re-download or use the application’s installation disk to reinstall the program.

Using Other Methods

  • For Windows 7, you may find the list of all installed programs when you click Start and scroll your mouse over the list that appear on the tab. You may see on that list utility for uninstalling the program. You may go ahead and uninstall using utilities available in this tab.
  • For Windows 10, you may click Start, then Settings, then choose Apps.
  • Scroll down to see the list of Apps and features installed in your computer.
  • Click the Program which is causing the runtime error, then you may choose to uninstall or click Advanced options to reset the application.

Method 3 — Update your Virus protection program or download and install the latest Windows Update

Virus infection causing runtime error on your computer must immediately be prevented, quarantined or deleted. Make sure you update your virus program and run a thorough scan of the computer or, run Windows update so you can get the latest virus definition and fix.

Method 4 — Re-install Runtime Libraries

You might be getting the error because of an update, like the MS Visual C++ package which might not be installed properly or completely. What you can do then is to uninstall the current package and install a fresh copy.

  • Uninstall the package by going to Programs and Features, find and highlight the Microsoft Visual C++ Redistributable Package.
  • Click Uninstall on top of the list, and when it is done, reboot your computer.
  • Download the latest redistributable package from Microsoft then install it.

Method 5 — Run Disk Cleanup

You might also be experiencing runtime error because of a very low free space on your computer.

  • You should consider backing up your files and freeing up space on your hard drive
  • You can also clear your cache and reboot your computer
  • You can also run Disk Cleanup, open your explorer window and right click your main directory (this is usually C: )
  • Click Properties and then click Disk Cleanup

Method 6 — Reinstall Your Graphics Driver

If the error is related to a bad graphics driver, then you may do the following:

  • Open your Device Manager, locate the graphics driver
  • Right click the video card driver then click uninstall, then restart your computer

Other languages:

Wie beheben Fehler 380 (Ungültiger Eigenschaftswert) — Die meisten Eigenschaften akzeptieren nur Werte eines bestimmten Typs innerhalb eines bestimmten Bereichs.
Come fissare Errore 380 (Valore di proprietà non valido) — La maggior parte delle proprietà accetta solo valori di un certo tipo, all’interno di un certo intervallo.
Hoe maak je Fout 380 (Ongeldige waarde van het vermogen) — De meeste eigenschappen accepteren alleen waarden van een bepaald type, binnen een bepaald bereik.
Comment réparer Erreur 380 (Valeur de propriété non valide) — La plupart des propriétés n’acceptent que les valeurs d’un certain type, dans une certaine plage.
어떻게 고치는 지 오류 380 (잘못된 속성 값) — 대부분의 속성은 특정 범위 내에서 특정 유형의 값만 허용합니다.
Como corrigir o Erro 380 (Valor de propriedade inválido) — A maioria das propriedades só aceita valores de um determinado tipo, dentro de um determinado intervalo.
Hur man åtgärdar Fel 380 (Ogiltigt fastighetsvärde) — De flesta fastigheter accepterar bara värden av en viss typ, inom ett visst intervall.
Как исправить Ошибка 380 (Недопустимое значение свойства) — Большинство свойств принимают значения только определенного типа в определенном диапазоне.
Jak naprawić Błąd 380 (Nieprawidłowa wartość nieruchomości) — Większość właściwości akceptuje tylko wartości określonego typu, w określonym zakresie.
Cómo arreglar Error 380 (Valor de propiedad incorrecto) — La mayoría de las propiedades solo aceptan valores de un tipo determinado, dentro de un rango determinado.

The Author About The Author: Phil Hart has been a Microsoft Community Contributor since 2010. With a current point score over 100,000, they’ve contributed more than 3000 answers in the Microsoft Support forums and have created almost 200 new help articles in the Technet Wiki.

Follow Us: Facebook Youtube Twitter

Last Updated:

09/11/22 05:18 : A Android user voted that repair method 7 worked for them.

Recommended Repair Tool:

This repair tool can fix common computer problems such as blue screens, crashes and freezes, missing DLL files, as well as repair malware/virus damage and more by replacing damaged and missing system files.

STEP 1:

Click Here to Download and install the Windows repair tool.

STEP 2:

Click on Start Scan and let it analyze your device.

STEP 3:

Click on Repair All to fix all of the issues it detected.

DOWNLOAD NOW

Compatibility

Requirements

1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.

Article ID: ACX05281EN

Applies To: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000

Speed Up Tip #24

Use Wired Over Wireless Connection:

Speed up data transfer across your network by forcing Windows to use a wired connection over a wireless connection. You can do this by either changing the network adapter bindings or by changing the metric on each network connection.

Click Here for another way to speed up your Windows PC

Microsoft & Windows® logos are registered trademarks of Microsoft. Disclaimer: ErrorVault.com is not affiliated with Microsoft, nor does it claim such affiliation. This page may contain definitions from https://stackoverflow.com/tags under the CC-BY-SA license. The information on this page is provided for informational purposes only. © Copyright 2018

Icon Ex Номер ошибки: Ошибка во время выполнения 380
Название ошибки: Invalid property value
Описание ошибки: Most properties only accept values of a certain type, within a certain range.
Разработчик: Microsoft Corporation
Программное обеспечение: Windows Operating System
Относится к: Windows XP, Vista, 7, 8, 10, 11

Фон «Invalid property value»

Люди часто предпочитают ссылаться на «Invalid property value» как на «ошибку времени выполнения», также известную как программная ошибка. Программисты, такие как Microsoft Corporation, стремятся создавать программное обеспечение, свободное от этих сбоев, пока оно не будет публично выпущено. Тем не менее, возможно, что иногда ошибки, такие как ошибка 380, не устранены, даже на этом этапе.

В выпуске последней версии Windows Operating System может возникнуть ошибка, которая гласит: «Most properties only accept values of a certain type, within a certain range.». Таким образом, конечные пользователи предупреждают поставщиков о наличии ошибок 380 проблем, предоставляя информацию разработчику. Затем Microsoft Corporation будет иметь знания, чтобы исследовать, как и где устранить проблему. Следовательно, разработчик будет использовать пакет обновления Windows Operating System для устранения ошибки 380 и любых других сообщений об ошибках.

В чем причина ошибки 380?

«Invalid property value» чаще всего может возникать при загрузке Windows Operating System. Мы рассмотрим основные причины ошибки 380 ошибок:

Ошибка 380 Crash — это очень популярная ошибка выполнения ошибки 380, которая приводит к завершению работы всей программы. Обычно это происходит, когда Windows Operating System не может обрабатывать предоставленный ввод или когда он не знает, что выводить.

Утечка памяти «Invalid property value» — когда происходит утечка памяти Windows Operating System, это приведет к вялой работе операционной системы из-за нехватки системных ресурсов. Потенциальные триггеры могут быть бесконечным циклом, что приводит к тому, что работа программы запускается снова и снова.

Ошибка 380 Logic Error — логическая ошибка Windows Operating System возникает, когда она производит неправильный вывод, несмотря на то, что пользователь предоставляет правильный ввод. Виновником в этом случае обычно является недостаток в исходном коде Microsoft Corporation, который неправильно обрабатывает ввод.

Как правило, такие Microsoft Corporation ошибки возникают из-за повреждённых или отсутствующих файлов Invalid property value, а иногда — в результате заражения вредоносным ПО в настоящем или прошлом, что оказало влияние на Windows Operating System. Для устранения неполадок, связанных с файлом Microsoft Corporation, большинство профессионалов ПК заменят файл на соответствующую версию. Мы также рекомендуем выполнить сканирование реестра, чтобы очистить все недействительные ссылки на Invalid property value, которые могут являться причиной ошибки.

Классические проблемы Invalid property value

Усложнения Windows Operating System с Invalid property value состоят из:

  • «Ошибка Invalid property value. «
  • «Invalid property value не является приложением Win32.»
  • «Извините, Invalid property value столкнулся с проблемой. «
  • «Invalid property value не может быть найден. «
  • «Invalid property value не найден.»
  • «Ошибка запуска программы: Invalid property value.»
  • «Invalid property value не выполняется. «
  • «Отказ Invalid property value.»
  • «Ошибка в пути к программному обеспечению: Invalid property value. «

Ошибки Invalid property value EXE возникают во время установки Windows Operating System, при запуске приложений, связанных с Invalid property value (Windows Operating System), во время запуска или завершения работы или во время установки ОС Windows. Выделение при возникновении ошибок Invalid property value имеет первостепенное значение для поиска причины проблем Windows Operating System и сообщения о них вMicrosoft Corporation за помощью.

Источники проблем Invalid property value

Большинство проблем Invalid property value связаны с отсутствующим или поврежденным Invalid property value, вирусной инфекцией или недействительными записями реестра Windows, связанными с Windows Operating System.

В частности, проблемы Invalid property value возникают через:

  • Недопустимые разделы реестра Invalid property value/повреждены.
  • Вирус или вредоносное ПО, которые повредили файл Invalid property value или связанные с Windows Operating System программные файлы.
  • Вредоносное удаление (или ошибка) Invalid property value другим приложением (не Windows Operating System).
  • Другая программа, конфликтующая с Invalid property value или другой общей ссылкой Windows Operating System.
  • Windows Operating System (Invalid property value) поврежден во время загрузки или установки.

Продукт Solvusoft

Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление

Содержание

  1. Как исправить ошибку во время выполнения 380
  2. Фон «Invalid property value»
  3. В чем причина ошибки 380?
  4. Классические проблемы Invalid property value
  5. Источники проблем Invalid property value
  6. Как исправить время выполнения Ошибка 380 Ошибка Microsoft Access 380
  7. Как исправить время выполнения Ошибка 380 Недопустимое значение свойства
  8. Что вызывает эту ошибку? «Ошибка выполнения 380: недопустимое значение свойства»
  9. 13 ответы

Как исправить ошибку во время выполнения 380

Номер ошибки: Ошибка во время выполнения 380
Название ошибки: Invalid property value
Описание ошибки: Most properties only accept values of a certain type, within a certain range.
Разработчик: Microsoft Corporation
Программное обеспечение: Windows Operating System
Относится к: Windows XP, Vista, 7, 8, 10, 11

Фон «Invalid property value»

Люди часто предпочитают ссылаться на «Invalid property value» как на «ошибку времени выполнения», также известную как программная ошибка. Программисты, такие как Microsoft Corporation, стремятся создавать программное обеспечение, свободное от этих сбоев, пока оно не будет публично выпущено. Тем не менее, возможно, что иногда ошибки, такие как ошибка 380, не устранены, даже на этом этапе.

В выпуске последней версии Windows Operating System может возникнуть ошибка, которая гласит: «Most properties only accept values of a certain type, within a certain range.». Таким образом, конечные пользователи предупреждают поставщиков о наличии ошибок 380 проблем, предоставляя информацию разработчику. Затем Microsoft Corporation будет иметь знания, чтобы исследовать, как и где устранить проблему. Следовательно, разработчик будет использовать пакет обновления Windows Operating System для устранения ошибки 380 и любых других сообщений об ошибках.

В чем причина ошибки 380?

«Invalid property value» чаще всего может возникать при загрузке Windows Operating System. Мы рассмотрим основные причины ошибки 380 ошибок:

Ошибка 380 Crash — это очень популярная ошибка выполнения ошибки 380, которая приводит к завершению работы всей программы. Обычно это происходит, когда Windows Operating System не может обрабатывать предоставленный ввод или когда он не знает, что выводить.

Утечка памяти «Invalid property value» — когда происходит утечка памяти Windows Operating System, это приведет к вялой работе операционной системы из-за нехватки системных ресурсов. Потенциальные триггеры могут быть бесконечным циклом, что приводит к тому, что работа программы запускается снова и снова.

Ошибка 380 Logic Error — логическая ошибка Windows Operating System возникает, когда она производит неправильный вывод, несмотря на то, что пользователь предоставляет правильный ввод. Виновником в этом случае обычно является недостаток в исходном коде Microsoft Corporation, который неправильно обрабатывает ввод.

Как правило, такие Microsoft Corporation ошибки возникают из-за повреждённых или отсутствующих файлов Invalid property value, а иногда — в результате заражения вредоносным ПО в настоящем или прошлом, что оказало влияние на Windows Operating System. Для устранения неполадок, связанных с файлом Microsoft Corporation, большинство профессионалов ПК заменят файл на соответствующую версию. Мы также рекомендуем выполнить сканирование реестра, чтобы очистить все недействительные ссылки на Invalid property value, которые могут являться причиной ошибки.

Классические проблемы Invalid property value

Усложнения Windows Operating System с Invalid property value состоят из:

  • «Ошибка Invalid property value. «
  • «Invalid property value не является приложением Win32.»
  • «Извините, Invalid property value столкнулся с проблемой. «
  • «Invalid property value не может быть найден. «
  • «Invalid property value не найден.»
  • «Ошибка запуска программы: Invalid property value.»
  • «Invalid property value не выполняется. «
  • «Отказ Invalid property value.»
  • «Ошибка в пути к программному обеспечению: Invalid property value. «

Ошибки Invalid property value EXE возникают во время установки Windows Operating System, при запуске приложений, связанных с Invalid property value (Windows Operating System), во время запуска или завершения работы или во время установки ОС Windows. Выделение при возникновении ошибок Invalid property value имеет первостепенное значение для поиска причины проблем Windows Operating System и сообщения о них вMicrosoft Corporation за помощью.

Источники проблем Invalid property value

Большинство проблем Invalid property value связаны с отсутствующим или поврежденным Invalid property value, вирусной инфекцией или недействительными записями реестра Windows, связанными с Windows Operating System.

В частности, проблемы Invalid property value возникают через:

  • Недопустимые разделы реестра Invalid property value/повреждены.
  • Вирус или вредоносное ПО, которые повредили файл Invalid property value или связанные с Windows Operating System программные файлы.
  • Вредоносное удаление (или ошибка) Invalid property value другим приложением (не Windows Operating System).
  • Другая программа, конфликтующая с Invalid property value или другой общей ссылкой Windows Operating System.
  • Windows Operating System (Invalid property value) поврежден во время загрузки или установки.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Источник

Как исправить время выполнения Ошибка 380 Ошибка Microsoft Access 380

В этой статье представлена ошибка с номером Ошибка 380, известная как Ошибка Microsoft Access 380, описанная как Недопустимое значение свойства.

Информация об ошибке

Имя ошибки: Ошибка Microsoft Access 380
Номер ошибки: Ошибка 380
Описание: Недопустимое значение свойства.
Программное обеспечение: Microsoft Access
Разработчик: Microsoft

Этот инструмент исправления может устранить такие распространенные компьютерные ошибки, как BSODs, зависание системы и сбои. Он может заменить отсутствующие файлы операционной системы и библиотеки DLL, удалить вредоносное ПО и устранить вызванные им повреждения, а также оптимизировать ваш компьютер для максимальной производительности.

О программе Runtime Ошибка 380

Время выполнения Ошибка 380 происходит, когда Microsoft Access дает сбой или падает во время запуска, отсюда и название. Это не обязательно означает, что код был каким-то образом поврежден, просто он не сработал во время выполнения. Такая ошибка появляется на экране в виде раздражающего уведомления, если ее не устранить. Вот симптомы, причины и способы устранения проблемы.

Определения (Бета)

Здесь мы приводим некоторые определения слов, содержащихся в вашей ошибке, в попытке помочь вам понять вашу проблему. Эта работа продолжается, поэтому иногда мы можем неправильно определить слово, так что не стесняйтесь пропустить этот раздел!

  • Access — НЕ ИСПОЛЬЗУЙТЕ этот тег для Microsoft Access, используйте вместо него [ms-access]
  • Access — Microsoft Access, также известная как Microsoft Office Access, это система управления базами данных от Microsoft, которая обычно сочетает в себе реляционный Microsoft JetACE Database Engine с графическим пользовательским интерфейсом и инструментами разработки программного обеспечения.
  • Свойство — A Свойство в некоторых объектно-ориентированных языках программирования представляет собой особый вид члена класса, промежуточный между полем или членом данных и методом.
  • Microsoft Access — Microsoft Access, также известный как Microsoft Office Access, это система управления базами данных от Microsoft, которая обычно сочетает в себе реляционный Microsoft JetACE Database Engine с графическим пользовательским интерфейсом и инструментами разработки программного обеспечения.
Симптомы Ошибка 380 — Ошибка Microsoft Access 380

Ошибки времени выполнения происходят без предупреждения. Сообщение об ошибке может появиться на экране при любом запуске %программы%. Фактически, сообщение об ошибке или другое диалоговое окно может появляться снова и снова, если не принять меры на ранней стадии.

Возможны случаи удаления файлов или появления новых файлов. Хотя этот симптом в основном связан с заражением вирусом, его можно отнести к симптомам ошибки времени выполнения, поскольку заражение вирусом является одной из причин ошибки времени выполнения. Пользователь также может столкнуться с внезапным падением скорости интернет-соединения, но, опять же, это не всегда так.

(Ошибка Microsoft Access 380) Repair Tool»/>
(Только для примера)

Причины Ошибка Microsoft Access 380 — Ошибка 380

При разработке программного обеспечения программисты составляют код, предвидя возникновение ошибок. Однако идеальных проектов не бывает, поскольку ошибки можно ожидать даже при самом лучшем дизайне программы. Глюки могут произойти во время выполнения программы, если определенная ошибка не была обнаружена и устранена во время проектирования и тестирования.

Ошибки во время выполнения обычно вызваны несовместимостью программ, запущенных в одно и то же время. Они также могут возникать из-за проблем с памятью, плохого графического драйвера или заражения вирусом. Каким бы ни был случай, проблему необходимо решить немедленно, чтобы избежать дальнейших проблем. Ниже приведены способы устранения ошибки.

Методы исправления

Ошибки времени выполнения могут быть раздражающими и постоянными, но это не совсем безнадежно, существует возможность ремонта. Вот способы сделать это.

Если метод ремонта вам подошел, пожалуйста, нажмите кнопку upvote слева от ответа, это позволит другим пользователям узнать, какой метод ремонта на данный момент работает лучше всего.

Источник

Как исправить время выполнения Ошибка 380 Недопустимое значение свойства

В этой статье представлена ошибка с номером Ошибка 380, известная как Недопустимое значение свойства, описанная как Большинство свойств принимают значения только определенного типа в определенном диапазоне.

Информация об ошибке

Имя ошибки: Недопустимое значение свойства
Номер ошибки: Ошибка 380
Описание: Большинство свойств принимают значения только определенного типа в определенном диапазоне.
Программное обеспечение: Windows
Разработчик: Microsoft

Этот инструмент исправления может устранить такие распространенные компьютерные ошибки, как BSODs, зависание системы и сбои. Он может заменить отсутствующие файлы операционной системы и библиотеки DLL, удалить вредоносное ПО и устранить вызванные им повреждения, а также оптимизировать ваш компьютер для максимальной производительности.

О программе Runtime Ошибка 380

Время выполнения Ошибка 380 происходит, когда Windows дает сбой или падает во время запуска, отсюда и название. Это не обязательно означает, что код был каким-то образом поврежден, просто он не сработал во время выполнения. Такая ошибка появляется на экране в виде раздражающего уведомления, если ее не устранить. Вот симптомы, причины и способы устранения проблемы.

Определения (Бета)

Здесь мы приводим некоторые определения слов, содержащихся в вашей ошибке, в попытке помочь вам понять вашу проблему. Эта работа продолжается, поэтому иногда мы можем неправильно определить слово, так что не стесняйтесь пропустить этот раздел!

  • Свойства . В некоторых объектно-ориентированных языках программирования свойство представляет собой особый вид члена класса, промежуточный между полем или членом данных и методом.
  • Диапазон — диапазон — это диапазон значений между его нижней и верхней границей.
  • Свойство — свойство в некоторых объектно-ориентированных языках программирования, — это особый вид члена класса, промежуточный между полем или членом данных и методом.
  • Тип . Типы и системы типов используются для обеспечения уровней абстракции в программах.
Симптомы Ошибка 380 — Недопустимое значение свойства

Ошибки времени выполнения происходят без предупреждения. Сообщение об ошибке может появиться на экране при любом запуске %программы%. Фактически, сообщение об ошибке или другое диалоговое окно может появляться снова и снова, если не принять меры на ранней стадии.

Возможны случаи удаления файлов или появления новых файлов. Хотя этот симптом в основном связан с заражением вирусом, его можно отнести к симптомам ошибки времени выполнения, поскольку заражение вирусом является одной из причин ошибки времени выполнения. Пользователь также может столкнуться с внезапным падением скорости интернет-соединения, но, опять же, это не всегда так.

(Недопустимое значение свойства) Repair Tool»/>
(Только для примера)

Причины Недопустимое значение свойства — Ошибка 380

При разработке программного обеспечения программисты составляют код, предвидя возникновение ошибок. Однако идеальных проектов не бывает, поскольку ошибки можно ожидать даже при самом лучшем дизайне программы. Глюки могут произойти во время выполнения программы, если определенная ошибка не была обнаружена и устранена во время проектирования и тестирования.

Ошибки во время выполнения обычно вызваны несовместимостью программ, запущенных в одно и то же время. Они также могут возникать из-за проблем с памятью, плохого графического драйвера или заражения вирусом. Каким бы ни был случай, проблему необходимо решить немедленно, чтобы избежать дальнейших проблем. Ниже приведены способы устранения ошибки.

Методы исправления

Ошибки времени выполнения могут быть раздражающими и постоянными, но это не совсем безнадежно, существует возможность ремонта. Вот способы сделать это.

Если метод ремонта вам подошел, пожалуйста, нажмите кнопку upvote слева от ответа, это позволит другим пользователям узнать, какой метод ремонта на данный момент работает лучше всего.

Источник

Что вызывает эту ошибку? «Ошибка выполнения 380: недопустимое значение свойства»

несколько лет назад мы разработали приложение, использующее vb6.0 и SQL server 2000. Недавно некоторые из наших клиентов сообщают нам, что при запуске приложения на некоторых компьютерах, которые используют Winxp sp2 в качестве операционной системы, они получают следующую ошибку, когда хотят показать форму поиска:

«Ошибка выполнения 380: недопустимое значение свойства»

Что вызывает эту ошибку?

Как и многие другие комментарии. Самый большой источник этой проблемы, который я видел, — это отсутствие шрифтов. В моем случае мелкие шрифты и без засечек отсутствовали в Windows 10. — wizebin

13 ответы

Я полагаю, ваше приложение использует замаскированное поле редактирования? Это относительно известная проблема, задокументированная Microsoft здесь:

Статья относится к VB4 и 5, но я почти уверен, что то же самое верно и для VB6.

РЕДАКТИРОВАТЬ

При дальнейших исследованиях я нахожу ссылки на эту проблему и с другими элементами управления. Перекомпиляция вашего приложения в Windows XP для пользователей, работающих под управлением XP, вероятно, даст им рабочую версию, хотя это не идеальное решение .

ответ дан 30 дек ’09, 09:12

Дэвид, я проверил, что это элементы управления MaskEditBox. Что ж, я видел 4 MaskEditBoxes в форме поиска, но, к сожалению, их видимое свойство было истинным во время разработки. — Odiseh

Эта ошибка возникает не только из-за ошибок в элементах управления Microsoft. Это также происходит, когда вы совершаете программную ошибку и случайно устанавливаете для свойства недопустимое значение. Что-то другое на пользовательских машинах вызывает различное поведение — например, темы Windows или другая конфигурация приложения. — МаркДжей

Просто чтобы бросить мои два цента: другая частая причина этой ошибки, по моему опыту, — это код в Form_Resize событие, которое использует математику для изменения размера элементов управления в форме. Контрольные размеры ( Height и Width ) не могут быть установлены на отрицательные значения, поэтому в вашем Form_Resize событие может вызвать эту ошибку:

Приведенный выше код вызовет ошибку «Недопустимое значение свойства», если размер формы будет изменен до менее 1000 твипов в ширину. Если это проблема, самое простое решение — добавить On Error Resume Next в качестве первой строки, чтобы игнорировать подобные ошибки. Это одна из тех редких ситуаций в VB6, где On Error Resume Next является вашим другом.

ответ дан 31 дек ’09, 03:12

Что вызывает ошибка времени выполнения 380? Попытка установить для свойства объекта или элемента управления недопустимое значение. Просмотрите код, который запускается при загрузке вашей формы поиска (Form_Load и т. Д.), На предмет любого кода, который устанавливает свойство на то, что зависит от значений времени выполнения.

Другой мой совет — добавить некоторую обработку ошибок и ведение журнала, чтобы отследить точную строку, которая вызывает ошибку.

  • Запись Добавьте в код инструкции «Добрался до X», «Добрался до Y» и т. Д. Используйте их, чтобы найти точное место ошибки. Вы можете писать в текстовый файл или Журнал событий или использование ВыводОтладочнаяСтрока.
  • Обработка ошибок Вот как получить трассировки стека за ошибку. Добавьте обработчик ошибок в каждую подпрограмму, которая может быть задействована, как этот код ниже. Незаменимый бесплатный инструмент MZИнструменты может делать это автоматически. Вы также можете использовать Erl чтобы сообщить номера строк и найти точную строку — MZTools может автоматически ввести номера строк за вас.

ответ дан 23 мая ’17, 13:05

Марк, это Vb6.0 🙁 Невозможно определить точную строку, которая вызывает ошибку. — Odiseh

@odiseh Не сдавайтесь, есть десятки способов узнать точную строку, вызывающую ошибку. Я делал это много раз. Я отредактировал свой ответ с некоторыми предложениями. — МаркДжей

@odiseh: если вы добавите номера строк в свой код, Erl вернет номер строки, в которой произошла ошибка. — JAC

У меня была такая же проблема с маскированным элементом управления полем редактирования, который использовался для даты, и ошибка была связана со свойством формата даты в настройках региона в окнах. Изменил «M / d / yyyy» на «dd / MM / yyyy», и все получилось.

ответ дан 24 авг.

Старая ветка, но вот ответ.

Проблемные шрифты с voyager

т.е. если вы устанавливаете какой-либо пакет Corel, откажитесь от некоторых языковых параметров. Мы покопались в этом с помощью монитора процессов и нашли причину, у нас это были эти два файла шрифтов.

У нас была такая же проблема, и она была исправлена ​​путем удаления этих двух файлов шрифтов из папки windows fonts.

ответ дан 08 авг.

Я думаю, в основном проблема заключается в том, под какой версией ОС была скомпилирована программа и под какой версией ОС вы запускаете программу. Я видел много обновленных файлов dll и ocx, вызывающих аналогичные ошибки, особенно когда программа была скомпилирована под более старую версию файлов dll и ocx и во время установки сохраняются последние файлы dll и ocx.

ответ дан 04 авг.

Если вы пишете программное обеспечение или используете написанное программное обеспечение, в котором хранятся координаты или размеры окна программы, которые необходимо повторно использовать при запуске программы, проверьте там наличие любых случаев таких размеров и положений, которые могли бы вызвать это. Я снова и снова видел это от различных поставщиков, лениво создающих код, который изменяет размер и положение элементов управления в «форме» (окне программы) в зависимости от размера указанной формы. Посмотрите в HKLM Software Vendor Program и HKCU Software Vendor Program. Ищите определенные ключи, которые могут вас нарушить. Однажды у меня было хранилище программ -48000 для позиции окна программы в клавишах под названием WindowsPosX и WindowPosY. Вы могли видеть запуск и выполнение программы на панели задач, но поскольку само окно программы было меньше 48000 (абсолютное значение -48000), оно было полностью выведено за пределы экрана. Если вам неудобно редактировать информацию regstry — большинство людей этого не делает — удалите программное обеспечение, используйте средство для очистки реестра, чтобы удалить все оставшиеся записи, затем переустановите программное обеспечение и посмотрите, не решит ли это проблему.

Возможно, вы размещаете на экране элемент управления (метка, рамка, текст . ) за пределами экрана. Если положение какого-либо элемента управления зависит от какой-либо переменной, и эта переменная не определена правильно при запуске, вы можете получить это сообщение об ошибке.

Возможно у вас на обоих компьютерах разное разрешение экрана. И это могло быть причиной.

чтобы найти ошибку программы, поместите эту строку во все подпрограммы: при ошибке возобновить следующий

если это решит проблему, вы должны очистить эту строку в каждой подпрограмме, одну за другой, и проверить, возвращается ли проблема. Когда проблема вернется после удаления этой строки в конкретной подпрограмме, вы узнаете подпрограмму, которая хранит ошибку. Поищи там, и ты найдешь это.

ответ дан 20 окт ’13, 02:10

Эта ошибка может быть вызвана множеством действительно глупых вещей. Я обнаружил, что шрифт Courier New больше не входит в состав Windows 8 по умолчанию. Имя приложения VB6 было жестко закодировано в одной из форм, отсюда и сообщение о запуске.

Создан 07 июля ’14, 17:07

Одна из причин этой ошибки — очень глупая ошибка в коде. Если правильное значение не передается свойству ActiveX, то также выдается эта ошибка.

Подобно тому, как в свойство Font.Name передается пустое значение, либо в свойство Height передается текстовое значение.

2017 Я знаю . но кто-то сталкивается с этой проблемой во время обслуживания кода.

Эта ошибка произошла, когда я попробовал:

Чтобы исправить это, просто установите для свойства PromptInclude значение «false».

ответ дан 02 мая ’17, 07:05

Похоже, что приведенные выше ответы относятся к тем случаям, когда вы пишете и компилируете программу, но я использую программное обеспечение поставщика, Catalog.exe , Часть Voyager каталог карт от «Ex Libris», и я тоже получаю ошибку:

У меня две 7-битные машины с Windows 32. Более новый выдает ошибку, но на старом он работает нормально. Я провел много исследований с Google, и вот некоторые из вещей, которые, как я обнаружил, люди говорят, связанные с этой проблемой. Возможно, одна из следующих вещей поможет вам исправить ошибку, хотя у меня они не сработали:

  • Устаревший или поврежденный драйвер видеокарты может вызвать Run-Time Error 380 (попробуйте обновить)
  • Перезагрузка в безопасном режиме
  • Запустить проверку системных файлов sfc /scannow
  • Запустите приложение от имени администратора (щелкните правой кнопкой мыши, Run as Administrator )
  • Получите все обновления MS Windows и MS Office
  • Удалите и переустановите программное обеспечение
  • Очистите реестр с помощью CCleaner, чтобы удалить неверные или нулевые значения реестра
  • Переустановите MS Office (или, возможно, установить и более старую версию?)
  • (Пере) установить все библиотеки времени выполнения Microsoft VB6, обновления и пакеты обновления.
  • (Повторно) установить «Библиотеку времени выполнения Microsoft Visual C ++»
  • Настройте Windows на использование десятичного знака «.» при отображении чисел. Выберите Пуск / Панель управления / Дата, время, язык и региональные стандарты.

Судя по тому, что говорят другие (например, Дэвид М.), я думаю, что это может быть связано с MSVBM60.DLL библиотека, но похоже, что на обоих моих компьютерах этот файл абсолютно одинаковый (версия, размер, дата и т. д.).

Поскольку этот файл не отличался, я попытался найти, какие еще файлы (dll) может использовать приложение, поэтому я запустил Обозреватель процессов от Sysinternals и взглянул на приложение (оно загружается, а затем вылетает, когда вы говорите ему «подключиться»), и я нашел скриншоты ниже.

Я не программист Windows / VB, а просто опытный пользователь, так что я почти исчерпал свои знания о том, что мне делать. Я поговорил с поставщиком программного обеспечения, и они рекомендуют переустановить Windows. Это, вероятно, сработает, но меня просто беспокоит то, что эта программа может работать в Windows 7, но что-то в этой конкретной системе вызывает ошибки. Наконец, это образ, который уже был развернут на нескольких машинах, и поэтому, хотя повторная установка Windows один раз не представляет большого труда, я бы сэкономил много времени, если бы смог найти исправление или обходной путь.

Источник

  1. 08-10-2017, 10:32 AM


    #1

    5haks is offline


    Registered User


    Exclamation «run-time error ‘380’- invalid property value

    Hi

    New member here, 1st post so please be gentle and helpful!

    I’m trying to run a macro that used to work on my old work pc using excel 2003 however I’ve now been upgraded to a new pc and have windows 2013 and one of my buttons doesn’t work, Every other button in the spreadsheet work when clicked except the main one.

    when I go into VBA and debug it shows the following message

    «RUN-TIME ERROR ‘380’:
    COULD NOT SET THE VALUE PROPERTY. INVALID PROPERTY VALUE

    But I have no idea where to look as I didn’t no build this at the start…
    please help me!

    thank you


  2. 08-10-2017, 10:43 AM


    #2

    Re: «run-time error ‘380’- invalid property value

    Is there a particular line of code that is highlighted when the error shows?

    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 — 573PH3N H4WK1NG
    You don’t have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom


  3. 08-10-2017, 10:43 AM


    #3

    Re: «run-time error ‘380’- invalid property value

    Assuming both the sheet and the VBA projected are unprotected (if not, unprotect them), right click on the button that’s giving the error and click ‘Assign Macro’.

    In the window that appears you’ll see a list of all macros within the project with the one that’s selected listed in the very top section. Click the ‘Edit’ button. Now you’ll see the page of code that the macro exists on. Copy the entire macro from SUB [macroname] to END SUB. Paste it in here and we’ll have a look.

    if you really want to speed up problem solving, run the macro and on the error window click ‘Debug’. It’ll take you back to the code window with the line of code that doesn’t work highlighted in yellow. Copy that here.


  4. 08-10-2017, 10:47 AM


    #4

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    yes — ‘ frmBook.Show ‘ is highlighted (full code below)

    Sub Book()
    ‘ On Error GoTo Err_Book
    If Sheets(«Staff»).[N1] < 2 Then
    MsgBox «There must be at least two staff in the database. Please add some more staff.», vbCritical, «Empty Database»
    If Sheets(«Job»).[H1] < 1 Then
    MsgBox «There are no jobs in the database. Please add some job types.», vbCritical, «Empty Database»
    frmJobs.Caption = «Add/Remove Job Catagories»
    frmJobs.Show
    Else
    frmNames.Show
    End If
    Else
    frmBook.Show
    End If

    Exit_Book:
    Exit Sub

    Err_Book:
    LogError «Error in Sub modStart (Code).Book», Err.Number, Err.Description
    Resume Exit_Book

    End Sub


  5. 08-10-2017, 10:48 AM


    #5

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by gmr4evr1
    View Post

    Is there a particular line of code that is highlighted when the error shows?

    yes — ‘ frmBook.Show ‘ is highlighted (full code below)

    Sub Book()
    ‘ On Error GoTo Err_Book
    If Sheets(«Staff»).[N1] < 2 Then
    MsgBox «There must be at least two staff in the database. Please add some more staff.», vbCritical, «Empty Database»
    If Sheets(«Job»).[H1] < 1 Then
    MsgBox «There are no jobs in the database. Please add some job types.», vbCritical, «Empty Database»
    frmJobs.Caption = «Add/Remove Job Catagories»
    frmJobs.Show
    Else
    frmNames.Show
    End If
    Else
    frmBook.Show
    End If

    Exit_Book:
    Exit Sub

    Err_Book:
    LogError «Error in Sub modStart (Code).Book», Err.Number, Err.Description
    Resume Exit_Book

    End Sub


  6. 08-10-2017, 10:49 AM


    #6

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by BellyGas
    View Post

    Assuming both the sheet and the VBA projected are unprotected (if not, unprotect them), right click on the button that’s giving the error and click ‘Assign Macro’.

    In the window that appears you’ll see a list of all macros within the project with the one that’s selected listed in the very top section. Click the ‘Edit’ button. Now you’ll see the page of code that the macro exists on. Copy the entire macro from SUB [macroname] to END SUB. Paste it in here and we’ll have a look.

    if you really want to speed up problem solving, run the macro and on the error window click ‘Debug’. It’ll take you back to the code window with the line of code that doesn’t work highlighted in yellow. Copy that here.

    yes — ‘ frmBook.Show ‘ is highlighted (full code below)

    Last edited by 5haks; 08-11-2017 at 04:05 AM.


  7. 08-10-2017, 11:00 AM


    #7

    Re: «run-time error ‘380’- invalid property value

    Well that’s an odd error message. It’s saying it can’t display the form ‘frmBook’. I was expecting it to be trying to set a property type that’s been removed from Excel.

    Go back to the code window. In the ‘forms’ section in the left most window, is there a form called ‘frmBook’? if so, what happens when you try and edit it?

    oh P.S. When posting code, put it inside [ code ] tags.


  8. 08-10-2017, 11:04 AM


    #8

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by BellyGas
    View Post

    Well that’s an odd error message. It’s saying it can’t display the form ‘frmBook’. I was expecting it to be trying to set a property type that’s been removed from Excel.

    Go back to the code window. In the ‘forms’ section in the left most window, is there a form called ‘frmBook’? if so, what happens when you try and edit it?

    oh P.S. When posting code, put it inside [ code ] tags.

    Yes, there is a form called frmbook and it can be edited.
    Here is the full code below:

    Last edited by 5haks; 08-11-2017 at 04:05 AM.


  9. 08-10-2017, 11:35 AM


    #9

    Re: «run-time error ‘380’- invalid property value

    Hi 5haks, welcome to the forum.
    Unfortunately….

    Your post does not comply with Rule 3 of our Forum

    RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the

    # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)


  10. 08-10-2017, 01:38 PM


    #10

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    How do i do this on my mobile? I don’t have access to a PC until tomorrow


  11. 08-10-2017, 02:23 PM


    #11

    Re: «run-time error ‘380’- invalid property value

    I believe you can actually type CODE (with the brackets) at the start of your code, and /CODE (with the brackets) at the end of it to get it to work.


  12. 08-11-2017, 04:04 AM


    #12

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by gmr4evr1
    View Post

    I believe you can actually type CODE (with the brackets) at the start of your code, and /CODE (with the brackets) at the end of it to get it to work.

    I have added the

    to my previous post. would appreciate any help asap.

    thanks!


  13. 08-11-2017, 05:50 AM


    #13

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    mods — can you reopen this thread/edit your comment so people can help me now please?


  14. 08-11-2017, 07:31 AM


    #14

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    can I send the whole excel doc to someone as this is a big spreadsheet with lots of forms and modules etc running in the background.

    ps — when I change the line that is showing a debug error message to any of the other forms it works fine. for some reason it just isn’t opening that one form


  15. 08-11-2017, 07:40 AM


    #15

    Re: «run-time error ‘380’- invalid property value

    Try putting a break on the first code line within the Initialize event of the userform. Then step through the code until the error occurs.

    Then post the offending line of code.


  16. 08-11-2017, 07:44 AM


    #16

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    Try putting a break on the first code line within the Initialize event of the userform. Then step through the code until the error occurs.

    Then post the offending line of code.

    sorry I don’t quiet understand that as I’m not much of an expert with VBA. could you explain in more detail please?


  17. 08-11-2017, 07:58 AM


    #17

    Re: «run-time error ‘380’- invalid property value

    In the code of the userforms Initialize event select the line and press F9. This should hilite the line with a red bar.

    Run the code and it should pause execution at that point.

    Now use F8 to step through the code line by line. This time it should error on the actual line of code causing the error.


  18. 08-11-2017, 08:03 AM


    #18

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    In the code of the userforms Initialize event select the line and press F9. This should hilite the line with a red bar.

    Run the code and it should pause execution at that point.

    Now use F8 to step through the code line by line. This time it should error on the actual line of code causing the error.

    I have found the cause of the error further down in the frmBook section.

    The places where I had to put a red line are as follows
    Private Sub UserForm_Initialize()

    For Each ctl In frmBook.Controls
    If TypeOf ctl Is ToggleButton Then

    End If
    Next ctl

    However, the main yellow line is highlighting —

    Last edited by 5haks; 08-11-2017 at 08:08 AM.


  19. 08-11-2017, 08:15 AM


    #19

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    it’s now showing as run-time error 9: subscript out of range


  20. 08-11-2017, 08:25 AM


    #20

    Re: «run-time error ‘380’- invalid property value

    There are a few lines there and I don’t know which one you are referring to.

    Do you have more that 42 toggle buttons?


  21. 08-11-2017, 09:26 AM


    #21

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    There are a few lines there and I don’t know which one you are referring to.

    Do you have more that 42 toggle buttons?

    yes, I have 42 toggle buttons


  22. 08-11-2017, 09:51 AM


    #22

    Re: «run-time error ‘380’- invalid property value

    Can you attached zipped file?

    Or better yet remove excess stuff to reduce file size but have error remain


  23. 08-11-2017, 09:53 AM


    #23

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    Can you attached zipped file?

    Or better yet remove excess stuff to reduce file size but have error remain

    how do I attach a zipped file on here?


  24. 08-11-2017, 10:15 AM


    #24

    Re: «run-time error ‘380’- invalid property value

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you’re trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to

    Manage Attachments to open the upload window.

    If .zip is not an acceptable file type then change it for the purposes of uploading


  25. 08-11-2017, 10:37 AM


    #25

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you’re trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to

    Manage Attachments to open the upload window.

    If .zip is not an acceptable file type then change it for the purposes of uploading

    I have attached a zipped version of the file for you

    thanks


  26. 08-11-2017, 11:20 AM


    #26

    Re: «run-time error ‘380’- invalid property value

    First problem is you load the list with leave type items and then try and set the value of the list to Holiday. But holiday is not in the list.
    The change selects first item in list

    This just takes you to the next problem in routine fnctGetStaffData

    The named range Leave2 does not exist.


  27. 08-14-2017, 03:22 PM


    #27

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    First problem is you load the list with leave type items and then try and set the value of the list to Holiday. But holiday is not in the list.
    The change selects first item in list

    This just takes you to the next problem in routine fnctGetStaffData

    The named range Leave2 does not exist.

    Could you send me the file with the code fixed for me please?


  28. 08-15-2017, 03:45 AM


    #28

    Re: «run-time error ‘380’- invalid property value

    why do you need the whole file again? I have shown you the only change required to fix the first problem


  29. 08-15-2017, 04:56 AM


    #29

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    why do you need the whole file again? I have shown you the only change required to fix the first problem

    I have managed to get the box to pop up but found another error now as every time I click on the toggle box to book holiday it says «UNEXPECTED ERROR»
    it does then save the holiday booking but it doesn’t do the calculations on the left hand side to show how much leave has been taken and how much leave is left (it remains at 25 regardless).

    any help on this please?


  30. 08-15-2017, 06:15 AM


    #30

    Re: «run-time error ‘380’- invalid property value

    So did you fix the Leave2 range problem?

    As I said fixing that first error simply allowed the code to move to the next problem, which is not fixable as the information is not in the workbook.


  31. 08-15-2017, 06:49 AM


    #31

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    So did you fix the Leave2 range problem?

    As I said fixing that first error simply allowed the code to move to the next problem, which is not fixable as the information is not in the workbook.

    no, my previous post meant it all works (I,e, the macros) but the formulas don’t link/work properly as it doesn’t minus days from the total whenever I book a holiday off, it stays at 25


  32. 08-15-2017, 07:19 AM


    #32

    Re: «run-time error ‘380’- invalid property value

    you will need to post a revised working workbook then


  33. 08-15-2017, 10:37 AM


    #33

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    you will need to post a revised working workbook then

    Updated ZIP file attached.

    Thanks


  34. 08-16-2017, 03:11 AM


    #34

    Re: «run-time error ‘380’- invalid property value

    You are going to have to provide some information about how the program should be used, what should happen when and what is not happening.


  35. 08-16-2017, 03:26 AM


    #35

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    You are going to have to provide some information about how the program should be used, what should happen when and what is not happening.

    When you click into the Book Leave pop-up box:

    When I book an employee off work, it doesn’t do the calculations on the left hand side (where it says LEAVE LEFT, LEAVE TAKEN etc…)
    The number stays at 25 days leave left no matter how many days have been booked off.

    Also, it should not count sick days, training, paternity and maternity as a holiday

    thanks for your help. If this issue can be fixed then fingers crossed that means everything is resolved


  36. 08-16-2017, 03:45 AM


    #36

    Re: «run-time error ‘380’- invalid property value

    Have you tried debugging your code at all?

    In the routine fnctGetStaffData is where you calculate current leave based on an array formula using data on very hidden sheet Leave.
    There is no data on that sheet so the calculation is correct.

    maybe you should be storing something on the sheet before you calculate the days?

    I think you need to speak with the guy that wrote the code in order to progress any further with this.


  37. 08-16-2017, 03:53 AM


    #37

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    Have you tried debugging your code at all?

    In the routine fnctGetStaffData is where you calculate current leave based on an array formula using data on very hidden sheet Leave.
    There is no data on that sheet so the calculation is correct.

    maybe you should be storing something on the sheet before you calculate the days?

    I think you need to speak with the guy that wrote the code in order to progress any further with this.

    I am unable to speak to the person that wrote the code as he left the company years ago

    I have tried debugging but nothing highlights as it thinks all is ok

    Last edited by 5haks; 08-16-2017 at 04:24 AM.


  38. 08-16-2017, 04:51 AM


    #38

    Re: «run-time error ‘380’- invalid property value

    You are not looking for a raised error or syntax error in code, as they would be hilighted

    You are looking for a flaw in the logic of the program. In this case expecting holidays to be subtracted from maximum allowance when no holidays are present.

    I think your task goes beyond what a forum/I can do. You need somebody who can understand the requirement of the program and then sort out the problem.


  39. 08-16-2017, 09:35 AM


    #39

    5haks is offline


    Registered User


    Re: «run-time error ‘380’- invalid property value

    Quote Originally Posted by Andy Pope
    View Post

    You are not looking for a raised error or syntax error in code, as they would be hilighted

    You are looking for a flaw in the logic of the program. In this case expecting holidays to be subtracted from maximum allowance when no holidays are present.

    I think your task goes beyond what a forum/I can do. You need somebody who can understand the requirement of the program and then sort out the problem.

    Thanks for all your help Andy.
    Please mark this as resolved


  40. 08-16-2017, 11:04 AM


    #40

    Re: «run-time error ‘380’- invalid property value

    You have to do that as the OP

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.


  • Remove From My Forums
  • Question

  • I have a workbook with a user form containing a lot of different text boxes, combo boxes and check boxes all linked to cells in a worksheet with the ControlSource property.

    TextBox1.ControlSource = Sheet1.Range("A1").Address
    

    At first when the workbook is opened and the the user form is opened everything works well and all the controls are linked correctly to the cells in the worksheet. The problem arise when the workbook has been open for a while and you
    try to open the user form and then it won’t work anymore and the following error message is given:

    Run-time error '380': Could not set the ControlSource property. Invalid property value.

    So the problem is that the error doesn’t occur all the time the user form is opened and initiated it occurs after a while, and when the error has occurred the workbook has to be closed and reopened for the user form to work again. So as far as I can
    see the ControlSource property is not given an invalid property value.

    Does anyone recognize this error and know how to fix it?

    Since it doesn’t occur all the time I had a thought that it might be a bug in Excel, could it be like that?

    Very grateful for
    answers,

    Mårten Fredriksson
     

Answers

  • Please download the sample file from this link

    http://wikisend.com/download/513014/Sample.xls

    This sample file uses absolutely a different approach which I have also covered in this link.

    Topic: VBA – Control Arrays
    Link:
    http://siddharthrout.wordpress.com/2011/08/05/vba-control-arrays/

    Code Used

    In Class Module

    Public WithEvents TextBoxEvents As MSForms.TextBox
    Public WithEvents CheckBoxEvents As MSForms.CheckBox
    
    Public TBIndex As Long, CBIndex As Long
    
    Private Sub TextBoxEvents_Change()
     Sheets("Sheet1").Range("A" & TBIndex).Value = TextBoxEvents.Text
    End Sub
    
    Private Sub CheckBoxEvents_Click()
     Sheets("Sheet1").Range("B" & CBIndex).Value = CheckBoxEvents.Value
    End Sub
    

    In Userform

    Option Explicit
    
    Dim Text1Array() As New Class1
    Dim Text2Array() As New Class1
    
    Private Sub UserForm_Initialize()
     Dim i As Long, j As Long, TBCtl As Control
    
     For Each TBCtl In Me.Controls
      If TypeOf TBCtl Is MSForms.TextBox Then
       i = i + 1
       ReDim Preserve Text1Array(1 To i)
       Set Text1Array(i).TextBoxEvents = TBCtl
       Text1Array(i).TBIndex = i
      End If
      If TypeOf TBCtl Is MSForms.CheckBox Then
       j = j + 1
       ReDim Preserve Text2Array(1 To j)
       Set Text2Array(j).CheckBoxEvents = TBCtl
       Text2Array(j).CBIndex = j
      End If
     Next TBCtl
     Set TBCtl = Nothing
    End Sub
    

    Sid (A good exercise for the Heart is to bend down and help another up)

    Please do not email me your questions. I do not answer questions by email unless I get paid for it :) If you want, create a thread in Excel forum and email me the link and I will help you if I can.

    • Marked as answer by

      Wednesday, August 24, 2011 2:50 AM

Понравилась статья? Поделить с друзьями:
  • Invalid property value css ошибка
  • Invalid product proplus2023volume specified error configuring products
  • Invalid procedure call or argument vba ошибка
  • Invalid pin code error 70657
  • Invalid partition table как исправить windows 10