Runtime error 48 error in loading dll

Ошибка во время выполнения 48 может привести к сбоям в работе и зависанию компьютера, а также к потенциальному заражению вирусом. Узнайте, как быстро и легко исправить эти ошибки во время выполнения Windows Operating System!
Icon Ex Номер ошибки: Ошибка во время выполнения 48
Название ошибки: Error in loading DLL
Описание ошибки: A dynamic link library (DLL) is a library specified in the Lib clause of a Declare statement.
Разработчик: Microsoft Corporation
Программное обеспечение: Windows Operating System
Относится к: Windows XP, Vista, 7, 8, 10, 11

Фон «Error in loading DLL»

Обычно люди ссылаются на «Error in loading DLL» как на ошибку времени выполнения (ошибку). Разработчики тратят много времени и усилий на написание кода, чтобы убедиться, что Windows Operating System стабилен до продажи продукта. Поскольку разработчики программного обеспечения пытаются предотвратить это, некоторые незначительные ошибки, такие как ошибка 48, возможно, не были найдены на этом этапе.

После установки программного обеспечения может появиться сообщение об ошибке «A dynamic link library (DLL) is a library specified in the Lib clause of a Declare statement.». Во время возникновения ошибки 48 конечный пользователь может сообщить о проблеме в Microsoft Corporation. Разработчик сможет исправить свой исходный код и выпустить обновление на рынке. Следовательно, разработчик будет использовать пакет обновления Windows Operating System для устранения ошибки 48 и любых других сообщений об ошибках.

Что вызывает ошибку времени выполнения 48?

Наиболее распространенные вхождения «Error in loading DLL» проблемы при загрузке Windows Operating System. Вот три наиболее распространенные причины, по которым происходят ошибки во время выполнения ошибки 48:

Ошибка 48 Crash — это типичная ошибка «Error in loading DLL», которая приводит к полному завершению работы программы. Это возникает, когда Windows Operating System не реагирует на ввод должным образом или не знает, какой вывод требуется взамен.

Утечка памяти «Error in loading DLL» — ошибка 48 приводит к постоянной утечке памяти Windows Operating System. Потребление памяти напрямую пропорционально загрузке ЦП. Повреждение памяти и другие потенциальные ошибки в коде могут произойти, когда память обрабатывается неправильно.

Ошибка 48 Logic Error — Логические ошибки проявляются, когда пользователь вводит правильные данные, но устройство дает неверный результат. Обычные причины этой проблемы связаны с ошибками в обработке данных.

В большинстве случаев проблемы с файлами Error in loading DLL связаны с отсутствием или повреждением файла связанного Windows Operating System вредоносным ПО или вирусом. Как правило, любую проблему, связанную с файлом Microsoft Corporation, можно решить посредством замены файла на новую копию. Кроме того, некоторые ошибки Error in loading DLL могут возникать по причине наличия неправильных ссылок на реестр. По этой причине для очистки недействительных записей рекомендуется выполнить сканирование реестра.

Классические проблемы Error in loading DLL

Error in loading DLL Проблемы, связанные с Windows Operating System:

  • «Ошибка Error in loading DLL. «
  • «Ошибка программного обеспечения Win32: Error in loading DLL»
  • «Извините, Error in loading DLL столкнулся с проблемой. «
  • «Не удается найти Error in loading DLL»
  • «Error in loading DLL не найден.»
  • «Ошибка запуска в приложении: Error in loading DLL. «
  • «Не удается запустить Error in loading DLL. «
  • «Error in loading DLL остановлен. «
  • «Ошибка в пути к программному обеспечению: Error in loading DLL. «

Проблемы Error in loading DLL с участием Windows Operating Systems возникают во время установки, при запуске или завершении работы программного обеспечения, связанного с Error in loading DLL, или во время процесса установки Windows. При появлении ошибки Error in loading DLL запишите вхождения для устранения неполадок Windows Operating System и чтобы HelpMicrosoft Corporation найти причину.

Истоки проблем Error in loading DLL

Проблемы Error in loading DLL вызваны поврежденным или отсутствующим Error in loading DLL, недопустимыми ключами реестра, связанными с Windows Operating System, или вредоносным ПО.

Особенно ошибки Error in loading DLL проистекают из:

  • Недопустимая (поврежденная) запись реестра Error in loading DLL.
  • Вирус или вредоносное ПО, повреждающее Error in loading DLL.
  • Error in loading DLL злонамеренно или ошибочно удален другим программным обеспечением (кроме Windows Operating System).
  • Другое программное приложение, конфликтующее с Error in loading DLL.
  • Поврежденная загрузка или неполная установка программного обеспечения Windows Operating System.

Продукт Solvusoft

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

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

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

How to fix the Runtime Code 48 Error in loading DLL

This article features error number Code 48, commonly known as Error in loading DLL described as A dynamic link library (DLL) is a library specified in the Lib clause of a Declare statement.

About Runtime Code 48

Runtime Code 48 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!

  • Declare — Use this tag for questions related to declare, which is usually meant for declaring variables, statements, etc.
  • Dll — A dynamic-link library DLL is a module that contains functions and data that can be used by another module application or DLL
  • Dynamic — Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.
  • Loading — Loading refers to retrieving necessary information for display or functionality.
  • Link — A hyperlink is a reference to a document or a section that can be followed for retrieval using a navigation system that allows selecting emphasized content within an originating document.
  • Dynamic link library — A dynamic-link library DLL is a module that contains functions and data that can be used by another module application or DLL
  • .dll — A dynamic-link library DLL is a module that contains functions and data that can be used by another module application or DLL

Symptoms of Code 48 — Error in loading DLL

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 Error in loading DLL (Error Code 48)
(For illustrative purposes only)

Causes of Error in loading DLL — Code 48

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

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.

Other languages:

Wie beheben Fehler 48 (Fehler beim Laden der DLL) — Eine Dynamic Link Library (DLL) ist eine Bibliothek, die in der Lib-Klausel einer Declare-Anweisung angegeben ist.
Come fissare Errore 48 (Errore nel caricamento della DLL) — Una libreria a collegamento dinamico (DLL) è una libreria specificata nella clausola Lib di un’istruzione Declare.
Hoe maak je Fout 48 (Fout bij het laden van DLL) — Een Dynamic Link Library (DLL) is een bibliotheek die is gespecificeerd in de Lib-clausule van een Declare-instructie.
Comment réparer Erreur 48 (Erreur lors du chargement de la DLL) — Une bibliothèque de liens dynamiques (DLL) est une bibliothèque spécifiée dans la clause Lib d’une instruction Declare.
어떻게 고치는 지 오류 48 (DLL을 로드하는 중 오류가 발생했습니다.) — DLL(동적 연결 라이브러리)은 Declare 문의 Lib 절에 지정된 라이브러리입니다.
Como corrigir o Erro 48 (Erro ao carregar DLL) — Uma biblioteca de vínculo dinâmico (DLL) é uma biblioteca especificada na cláusula Lib de uma instrução Declare.
Hur man åtgärdar Fel 48 (Fel vid inläsning av DLL) — Ett dynamiskt länkbibliotek (DLL) är ett bibliotek som anges i Lib -satsen i en Declare -sats.
Как исправить Ошибка 48 (Ошибка при загрузке DLL) — Библиотека динамической компоновки (DLL) — это библиотека, указанная в предложении Lib оператора Declare.
Jak naprawić Błąd 48 (Błąd podczas ładowania DLL) — Biblioteka dołączana dynamicznie (DLL) to biblioteka określona w klauzuli Lib instrukcji Declare.
Cómo arreglar Error 48 (Error al cargar DLL) — Una biblioteca de vínculos dinámicos (DLL) es una biblioteca especificada en la cláusula Lib de una declaración Declare.

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:

11/11/19 06:49 : A Windows 10 user voted that repair method 6 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: ACX04114EN

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

Speed Up Tip #45

Install More RAM:

To complement your newly upgraded processor, installing a new set of RAM is in order. Installing more RAM is one of the best solutions to speed up your old pc. Basic Windows now require a RAM not less than 2gb to run.

Click Here for another way to speed up your Windows PC

  • Remove From My Forums
  • Question

  • User210110650 posted
    Hi Experts, I am using VB 6.0 and in my app I involk Excel. My app has been working fine for quite some time. Recently I got a runtime error ’48’ — «Error in loading DLL» when I try to involk the Excel. The stange thing is the same app involks Excel fine on
    other PCs. I think it’s some MS Office set up problems, but after I uninstall MS Office XP and reinstall MS Office XP, the error still exists. Can any one know what is the cause of problem and how to fix it ? Thank you in advance.

Answers

  • User1006193418 posted

    Hi Experts, I am using VB 6.0 and in my app I involk Excel. My app has been working fine for quite some time. Recently I got a runtime error ’48’ — «Error in loading DLL» when I try to involk the Excel.

    The stange thing is the same app involks Excel fine on other PCs. I think it’s some MS Office set up problems, but after I uninstall MS Office XP and reinstall MS Office XP, the error still exists. Can any one know what is the cause of problem and how to
    fix it ? Thank you in advance.

    Hi hemantkamb,

    Is there any more information displayed with the error message? As I know, The error ‘Error in loading DLL’ is often caused with a bad installation or an issue caused after another program has been installed that replaced the programs DLL. If
    there is any message telling what DLL file is missing, that will be more helpful to handle this problem.

    Since you have already done this step with Microsoft Office XP, it seems that the error DLL file is not raleted to the Office. Then, please try to remember is there any new programes installed or uninstalled with you computer before the issue shows
    up, especially those system programs. If so, try to recover them.

    In addition, reinstalling Visual Basic Studio 6.0 is also a suggestion to this situation.

    Best Regards,
    Shengqing Yang

    • Marked as answer by

      Thursday, October 7, 2021 12:00 AM

  • User1006193418 posted

    Yesterday my application has given me error for to open project that the file
    mscomctl not loading.

    Hi hemantkamb,

    Then, try to seaching the key word mscomctl in ‘My Computer’ to find is there any problem with the file
    mscomctl.

    I have got a result as the screen shot below:

    You may have a differen result from mine, but whatever you get, compare them with those computer which could run the application well. If there is any problem with the version in your computer, try to copy the correct version from another computer and
    to run the application again.

    [Idea]IMPORTANT NOTE: before you replace the version in your computer, do make sure you have a backup of those files!

    Best Regards,
    Shengqing Yang

    • Marked as answer by
      Anonymous
      Thursday, October 7, 2021 12:00 AM

инструкции

 

To Fix ([SOLVED] Runtime error 48, error in loading DLL) error you need to
follow the steps below:

Шаг 1:

 
Download
([SOLVED] Runtime error 48, error in loading DLL) Repair Tool
   

Шаг 2:

 
Нажмите «Scan» кнопка
   

Шаг 3:

 
Нажмите ‘Исправь все‘ и вы сделали!
 

Совместимость:
Windows 10, 8.1, 8, 7, Vista, XP

Загрузить размер: 6MB
Требования: Процессор 300 МГц, 256 MB Ram, 22 MB HDD

Limitations:
This download is a free evaluation version. Full repairs starting at $19.95.

[SOLVED] Ошибка выполнения 48, ошибка при загрузке DLL обычно вызвано неверно настроенными системными настройками или нерегулярными записями в реестре Windows. Эта ошибка может быть исправлена ​​специальным программным обеспечением, которое восстанавливает реестр и настраивает системные настройки для восстановления стабильности

If you have [SOLVED] Runtime error 48, error in loading DLL then we strongly recommend that you

Download ([SOLVED] Runtime error 48, error in loading DLL) Repair Tool.

This article contains information that shows you how to fix
[SOLVED] Runtime error 48, error in loading DLL
both
(manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to [SOLVED] Runtime error 48, error in loading DLL that you may receive.

Примечание:
Эта статья была обновлено на 2023-02-04 и ранее опубликованный под WIKI_Q210794

Содержание

  •   1. Meaning of [SOLVED] Runtime error 48, error in loading DLL?
  •   2. Causes of [SOLVED] Runtime error 48, error in loading DLL?
  •   3. More info on [SOLVED] Runtime error 48, error in loading DLL

Meaning of [SOLVED] Runtime error 48, error in loading DLL?

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

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

DLL-файл — это тип файла, заканчивающийся расширением .DLL, который является очень важным типом файла в реестре операционной системы Windows. Его можно найти в Windows XP, Windows Vista, Windows 7, Windows 8 и Windows 10. Когда DLL-файл идет наперекосяк, неприятный Ошибка DLL происходит и плохо влияет на пользовательский опыт.

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

Ошибка выполнения is a type of error that happens while a certain program is running. Generally, this error is triggered when the software can no longer solve an issue that occured. This error is also referred to as a “bug”. When runtime error is shown, the software that caused it is often frozen or closed immediately.

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

Ошибки времени выполнения возникают в разных формах с различными триггерами, которые вызывают проблему. Вот некоторые из наиболее распространенных причин ошибок времени выполнения:

  1. Конфликтные проблемы с другими работающими программами
  2. Коррумпированная запись в системе
  3. Проблемы с низкой памятью
  4. Устаревшие драйверы
  5. Старое или поврежденное аппаратное устройство
  6. Вредная вирусная атака
  7. Плохая практика программирования

Causes of [SOLVED] Runtime error 48, error in loading DLL?

Фиксация Ошибка DLL is an easy task to do especially if you have already identified the specific type of error that’s causing you problems. Given that, the very first step in solving a DLL issue is finding the source of the error message.

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

Вот несколько шагов, которые вы можете предпринять, чтобы исправить ошибку DLL:

  1. Перезагрузите компьютер
  2. Восстановить поврежденные / отсутствующие файлы DLL
  3. Использовать восстановление системы
  4. Сканирование компьютера для Malwares
  5. Запустить очистку реестра Windows
  6. Обновлять драйверы и программное обеспечение
  7. Удалите и переустановите приложение
  8. Применить доступные обновления Windows

Поскольку существует несколько типов ошибок времени выполнения, иногда трудно решить проблему проблемы. Некоторые типы ошибок времени выполнения включают логическую ошибку, ту, которая дает неправильный вывод. Еще одна проблема — утечка памяти, которая заставляет программу постоянно использовать больше ресурсов ОЗУ при ее запуске. И, сбой программы, который является наиболее распространенным типом ошибки времени выполнения. Это заставляет программу перестать работать неожиданно.

Самый простой способ определить причину ошибки времени выполнения — прочитать сообщение об ошибке. Оттуда вы можете определить программу, которая генерирует ошибку. Кроме того, одним из способов исследования проблемы является доступ к диспетчеру задач, нажатие Ctrl + Alt + Del на вашем компьютере. Оттуда вы можете начать закрывать каждое запущенное программное обеспечение по одному, чтобы узнать, какая из них вызывает ошибку времени выполнения.

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

More info on
[SOLVED] Runtime error 48, error in loading DLL

РЕКОМЕНДУЕМЫЕ: Нажмите здесь, чтобы исправить ошибки Windows и оптимизировать производительность системы.

Поместив его в папку, появится окно «Окно», сказав следующее: Ошибка времени выполнения «48». Ошибка, если это действительно так. У этой проблемы есть что-то связанное с Спасибо, так на моем компьютере, но это необходимо в моем виртуальном ПК ….. Почему это так?

PS: Это абсолютно БЕСПЛАТНО, мне не нужен этот DLL-файл для запуска загрузки DLL-программы. Или это я сейчас? Когда я нажимаю на программу, которая должна работать плавно. Я приношу свои извинения за причиненные неудобства.

чисто другая проблеска? Что должна папка) на мой виртуальный компьютер win95 с моего компьютера winXP. Файл, я предполагаю, что это понимается), небольшое предупреждение о файле dll, который я ранее вставлял? значок программы снова (exe.

Я разделяю программу (весь набор файлов в
Runtime Error When Loading Netscape

I have Windows XP what the solution may be? Thanks

Hi — It’s me again—

I just discovered is something inherent in the 8.1.

Всем привет—

I have downloaded Netscape, downloaded 7.2 and it works fine. Please contact the application’s support team for more information.»
I called which says, «This application has requested the Runtime to terminate it in an unusual way.

I uninstalled the 8.1 and I believe it to be 7.2. I would assume that the runtime error Cox and they stated that it is a netscape problem. Anyone have any thoughts on that I had downloaded 8.1 instead of 7.2. After downloading the Netscape browser and attempting to load it, I get a runtime error and Cox High Speed Internet.


Веб-сайт не загружается Ошибка выполнения R6025

Или попробуйте firefox и посмотрите, поможет ли HELP !! Спасибо, парни

вы пробовали проверку на вирусы? Вы получите те же результаты.


Решено: Ошибка выполнения Runtime библиотеки Microsoft Visual C ++, не удается открыть Internet Explorer.

There is very little to clean up in able to help me to fix the problem. Personal, I have Norton Internet Security and Windows Auto Update. The first thing I’d like you Vladislav.

  Добро пожаловать в TSG! это происходит.

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

I hope that there is someone who will Microsoft Windows Millennium Edition in article «»Runtime Error. Microsoft itself in the same case for new Internet window from existing one by File-New-Window menu. I close the message, the existing Internet window stay working. That might stop the error for you.

Пожалуйста, свяжитесь со службой поддержки приложения для получения дополнительной информации. «

When I did cleaning both by Spybot S&D and Ad-Aware Se the FAQ here. Program: C:Program FilesInternet Exploreriexplore.exe
Это приложение запросило

С уважением,


Microsoft Visual C++ Runtime Library Runtime Error» error message

быть больше помощи.

Извините, я не могу заплатить, ожидая ответа. Тем временем вы можете попробовать удалить заказ, чтобы исправить эту проблему?

Что мне нужно в


Решено: сообщение об ошибке «Ошибка выполнения» 3314 ‘

Здравствуй,

Im using access and I have a combo box and an unbound field that picked up the column 1 from a table. on the table a box came out and say (Runtime error ‘3314’. I think my users will freak out if they press DEBUG.

The problem is when i used a data which is not in the ‘missing field)’ field. I would be very happy for the You must enter a value message but this is not a normal MSGBOX. Ithink if i say it correctly , this msg came from the vba is something in the Column(1).

Спасибо

  Вы должны проверить, что там коды и блокировать все, потому что под коробкой у этого есть END и DEBUG.


Can’t uninstall a program Error Loading C:PROGRA~1COMMON~1INSTAL~1PROFES~1RunTime10…

По этой причине сообщение об ошибке было отправлено san andreas, а затем повторно установить его снова, и это снова сработает. В Windows появится сообщение об ошибке. Я начал модифицировать gta3.img с помощью программы, называемой искры, но я с модой San Andreas Multiplayer на ней.

Or «specific module could not be found» message is usually related to malware that was set to run at startup but has been deleted. This had happened before and I used to just uninstall gta
Привет, я бежал GTA San Andreas Пожалуйста, помогите мне

Use AUTORUNSA «Cannot find…», «Could not run…», «Error loading…

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

Windows пытается загрузить этот файл, но не может найти его, так как Windows загружает файл при загрузке. Однако связанная с ним потерянная запись в реестре остается и забывается выйти из приложения Spark, прежде чем загружать мультиплеер GTA San andreas.


Error at loading c:progra~1common~1instal~1profes~1runtime1050intel32ctor…

Specific object couldnt be found» or something Follow the instructions.

Uninstall command in the displayed menu.

Right-click the application and click the like that

and its only program to have problems.


Решено: установить ошибку — C + + Ошибка выполнения — Пожалуйста, помогите …

Ура,
Тони.

  Не волнуйтесь, эта проблема обновляется через обновление microsoft? Это должно быть оценено. Потому что это не разделяет форумы.

  Im в неправильном Age of Empires 3.

Помощь удалит игру. У меня есть Net Framework 1.1, установленная 2.0 установка — Ошибка выполнения. Он не отображается в «Программы», «Добавить или удалить», и когда я пытаюсь удалить программу, она будет больше, чем игра. Теперь я не могу использовать компакт-диск, опция удаления отключена, так как я не могу нажать на нее.

G’day,

Ive недавно установлен, но я пытаюсь обновить его. Я получил ошибку в Net framework?


Решение: Сообщение об ошибке: Ошибка выполнения!

Что я могу поддержать в команде за дополнительной информацией. Вот что делать?

  Это приложение попросило Runtime прекратить его необычным способом.

Я получаю сообщение об ошибке, когда открываю приложение musicmatch jukebox.

Please contact the application’s it says: Runtime Error!


Visual Runtime Error, Sound Error, Norton Disabled, Media Player Error & MORE

очень странная проблема сегодня. Я запускаю Windows XP (все исправления обновлены), 256 MB Ram, 75 мог подумать о переформатировании моего жесткого диска. Во всяком случае, чтобы сделать длинный рассказ коротким, я отказался от всей этой проблемы и был переустановлен и что мой Norton Antivirus нужно было переустановить. Тогда он отключил мой Norton, не позволил мне получить доступ к расширенным настройкам звука!

Should I be worried for the future or Any insight would be can I assume my computer is fine now? I downloaded about 50 .mpg files and Gig HD — so I figured the «low» virtual memory had to be an error. back to normal!

How can merely took the whole folder full of .mpg’s and ran in through a file-shredding program. At the same time as this, windows would pop up Lastly, I started getting error messages telling me that my soundcard greatly appreciated.

-Давид

  Имейте в виду, что я не использовал свой компьютер по-разному Firewall и мой Norton Antivirus.

Я поместил их в папку на моем рабочем столе. чем я когда-либо пользовался им, поэтому для меня это было проблемой. Тогда они сказали, что они только что сделали? Кто-нибудь знает

I tried tripling the virual memory to 1GB and also tried letting Windows automatically set the virtual memory size, but neither of these fixed the problem. Was this a little message saying that my virtual memory was low. Now EVERYTHING is a virus/trojan/corrupt .mpg’s?

Позже появилось сообщение о том, что мой Media Player n …


Решение: ошибка DEP в Windows XP и теперь проблема с загрузкой и загрузкой Drwatson.exe

This morning it started giving the same error plus another one: mouse doesn’t take it back to the normal screen. The only option I can choose the running of explorer in order to prevent it from carrying out its intended task(s).

I am having three major issues and post from another PC. The screen looks like it’s loaded up correctly but then don’t seem to be initiating any thing of your own that might trigger DEP falsely.

Key + R). Спасибо!

  На самом деле, возможно, вы выбрали вирус, и Windows предотвращает помощь!

1. Если у вас последнее обновление, просто убедитесь, что проблема. и если его что-то более серьезное, инструмент МРТ найдет и удалит его.

I don’t want to tell you to disable DEP in this case since you type mrt and OK that in the Run… Please I am not able to start or use any program. And being not computer savvy what I should do! Please help as to bug that developed on its own.

In addition to the above, And it loaded up run and have it do a deep scan of your system. Now the screensaver has come on and moving the am unable to pinpoint anything abnormal. I really am not I can’t click or start anything.

Надеюсь, если это будет просто повреждение реестра, восстановление системы будет исправлено после этого.
​2. It might also just be a
«DrWatson Postmortem Debugger has encountered a poblem» and has closed.
​3. I am writing this If that’s successful…


Решено: Сообщение об ошибке при запуске Загрузка ошибки RUNDLL

Пожалуйста, помогите мне получить это сообщение об ошибке при запуске, но не больно просто очень раздражает. В нем говорится,
C: PROGRA ~ 1 MYWEBS ~ 1 бар 1.bin MYSBAR.DLL

Спасибо за любую помощь, DB1


[SOLVED] Help: Runtime Error!

Thanks helps.

I hope you are all familiar with in advance. Please do not trojans, and I’ve attempted to take them out, etc etc. I’ve deleted things such as need more information on this problem.

the software, «Counter-Strike,» developed by Steam and Valve. Hope that Program:…gram

filessteamsteamappsaccountcounter-strikehl.exe

ненормальное завершение программы

Some extra useful information:

I’ve recenty been infected with error stops me from playing:

Runtime Error! I’ve been playing it for straight to my problem.

Please ask questions, if you a year with no problem, nothing.

I’m going to get hesitate to ask questions. I’ve recently tried launching it…and this my temporary internet files…and yeah.


Решено: я не могу избавиться от этой ошибки во время выполнения, пожалуйста, помогите!

Линия: 455
Ошибка: объект не поддерживает это свойство или метод

  Произошла ошибка.

Runtime хотите отлаживать?


Решено: ошибка выполнения C ++

Это такой каталог или файл. Нужно ли использовать yahoo dsl.

  для ремонта окон. Я запускаю Win xp pro

У меня нет директории xp создает?


Решено: пожалуйста, помогите … Ошибка выполнения

Here is a log planning on getting more ram…but for the moment, this is what i have.. with 519Mhz and 192 MB of ram. Is there a way to i’m getting a Microsoft virtual C++ runtime error. Is there something I can do to speed it up a little…i am clear this or fix this problem.

Also, after a certain amount of time, 20-30 mins. Obviously that’s not very big…but it seems to get slow the longer it runs. Mainly after Windows XP SP2 (WinNT 5.01.2600)
MSIE: невозможно получить версию Internet Explorer!

Файл журнала HijackThis v1.99.1
Сканирование сохранены в 7: 20: 26 утра 2 / 7 / 2006
Платформа:

У меня есть книга жизненного цикла серии Fujitsu S, если это поможет.


[SOLVED] Ошибка выполнения!

YourTravelingGeek — экран печати. заранее спасибо

Я не могу просматривать и firefox на моем ПК. Я прикрепил

Когда я пытаюсь войти в lojackforlaptops SS, который вы предоставили.

Я хотел бы знать, как именно это исправить, чтобы я мог войти в свою учетную запись.

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

У меня есть веб-сайт Chrome, я получаю ошибку времени выполнения в обоих браузерах.


Solved: runtime error 217

This happens when using internet explorer every time I log onto a site or leave a site.

I use Windows Xp servicepack 3 and keep getting runtime error 217 at many locations but all ending in 19.


Solved: Runtime Error with IE8

I really think that IE8 still has some real issues I could be behind the curve on this, but has something to do with the problem. I checked Microsoft help page but I’ve never considered backtracking on IE till late.

Огромное спасибо
Cozzielex

  Hi Cozzielex,

Not sure we have the same issue, but sometimes, IE8 with connectivity, but of course IE9 is out in Beta. So it looks like this re-activation will not connect to a page tho I have a connection to the net. I couldn’t understand what they were saying.


Solved: runtime error 53

Bought this program from a company in Arizona, and version 12.xx, I get «runtime error 53» , file not found. Any help would be greatly appreciated.

Hope someone here can give me some guidance on but came up empty. Did some googling dll?

Whenever I try to save changes made in corel draw they aren’t too much in a hurry to help. Missing how and where to start to solve my problem. Thanx in advance.

  Try perhaps? loading this file

www.weepee.de/corel_scripts/multisaveaspro/downloads/setupger.exe


  • Home
  • VBForums
  • Visual Basic
  • Office Development
  • Run-time error ’48’ Error in loading DLL

  1. May 14th, 2019, 07:51 AM


    #1

    robycuccu is offline

    Thread Starter


    Junior Member


    Run-time error ’48’ Error in loading DLL

    Hi all,

    this is my first post and I hope that somebody can help me. My situation is this:

    O.S.: Win 7 Enterprise SP1 64 bit
    Office 2010 Pro Plus SP2 14.0.7015.10 R01

    I’m tring to execute this macro that reads all the messages into a particular subfolder of inbox folder of Outlook, it download all the attachments into a specific folder on my system and then it opens a new excel putting into its all the information about sender, reciever, email sender, email receiver etc:

    Code:

    Sub ImportareMessaggi()
        
        Dim XL As Excel.Application
        Dim WB As Excel.Workbook
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
    
        Set XL = New Excel.Application
        Set WB = XL.Workbooks.Open(Sheets("Foglio1").Range("A10").Value)
        
        If Sheets("Foglio1").Range("A4").Value = "1" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderInbox)
        ElseIf Sheets("Foglio1").Range("A4").Value = "2" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderSentMail)
        ElseIf Sheets("Foglio1").Range("A4").Value = "3" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderDeletedItems)
        ElseIf Sheets("Foglio1").Range("A4").Value = "4" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderJunk)
        ElseIf Sheets("Foglio1").Range("A4").Value = "5" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderOutbox)
        End If
        If Sheets("Foglio1").Range("A2").Value = "" Then
            Set Myfolder = Defaultfolder
        Else
            Set Myfolder = Defaultfolder.Folders(Sheets("Foglio1").Range("A2").Value)
        End If
        
        'Cerca prima cella libera
        x = 0
        Do
            x = x + 1
        Loop Until WB.Sheets("Foglio1").Cells(x, 1) = ""
        
        'Imposta data/ora massima
        If WB.Sheets("Foglio1").Cells(2, 1) > "" Then
            MaxDate = CStr(WB.Sheets("Foglio1").Cells(2, 1))
            lung = Len(MaxDate)
            Pos = InStr(MaxDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & Right(MaxDate, Pos)
            Else
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & " 0" & Right(MaxDate, Pos - 1)
            End If
        Else
            MaxDate = ""
        End If
           
        On Error GoTo SaltaMail
        
        For Each obj In Myfolder.Items
            
            SrcDate = CStr(obj.ReceivedTime)
            
            lung = Len(SrcDate)
            Pos = InStr(SrcDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & Right(SrcDate, Pos)
            Else
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & " 0" & Right(SrcDate, Pos - 1)
            End If
            
            If SrcDate > MaxDate Then
                If Sheets("Foglio1").Range("A8").Value = "" Or Sheets("Foglio1").Range("A8").Value = obj.SenderEmailAddress Then
                    WB.Sheets("Foglio1").Cells(x, 1) = obj.ReceivedTime
                    WB.Sheets("Foglio1").Cells(x, 2) = obj.Subject
                    WB.Sheets("Foglio1").Cells(x, 3) = obj.Body
                    WB.Sheets("Foglio1").Cells(x, 4) = obj.To
                    WB.Sheets("Foglio1").Cells(x, 5) = obj.CC
                    WB.Sheets("Foglio1").Cells(x, 6) = obj.BCC
                    WB.Sheets("Foglio1").Cells(x, 7) = obj.ReceivedByName
                    WB.Sheets("Foglio1").Cells(x, 8) = obj.SenderName
                    WB.Sheets("Foglio1").Cells(x, 9) = obj.SenderEmailAddress
                    If obj.Attachments.Count > 0 Then
                        For i = 1 To obj.Attachments.Count
                            obj.Attachments(i).SaveAsFile (Sheets("Foglio1").Range("A6").Value & "" & obj.Attachments(i).Filename)
                        Next
                    End If
                    x = x + 1
                End If
            End If
            
    SaltaMail:
    
        Next
        
        On Error GoTo 0
        
        WB.Close
    
    End Sub

    raised by a classic button, but when I click on button I get a popup with the message indicated into the title of this post, and the debug highlights the line in yellow.
    I have check also all the references and there aren’t any dlls missed…the following are all the references:

    Visual Basic for Applications
    Microsoft Excel 14.0 Object Library
    OLE Automation
    Microsoft Outlook 14.0 Object Library

    Please, can somebody help me to resolve this problem?

    Many thanks


  2. May 14th, 2019, 04:20 PM


    #2

    Re: Run-time error ’48’ Error in loading DLL

    are you doing this code in excel?

    while i can see some problem in your code i can not see why a new instance of excel should not be created, i tested with a basic code to be sure

    do you really need a new instance of excel? you can just open the additionally required workbook in the same instance, should be quicker and use less resources, especially as you would currently be leaving the new instance hanging open

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  3. May 15th, 2019, 12:59 AM


    #3

    robycuccu is offline

    Thread Starter


    Junior Member


    Talking Re: Run-time error ’48’ Error in loading DLL

    Yes, exact I’m doing this code in excel…a new instance of excel is a request of my boss ..I’m agree with you that is not necessary.
    Anyway the idea is everytime that I click on the button, the second file should open and it should update itself with all the email received.

    Do you have find out any error in the code? Please, can you tell me why I obtain this error?

    Many thanks


  4. May 15th, 2019, 04:35 AM


    #4

    Re: Run-time error ’48’ Error in loading DLL

    i retested in office 2010 windows 10

    Code:

    Sub tinst()
    Dim xl As Excel.Application
    Set xl = New Excel.Application
    xl.Visible = True
    xl.Quit
    Set xl = Nothing
    End Sub

    ran without error, opened a new instance of excel, i had a break point before quit, so i could see the new instance

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  5. May 15th, 2019, 08:09 AM


    #5

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Name:  Parameters.jpg
Views: 5714
Size:  51.7 KB

    unfortunately I can’t attach my xml file, but I attached a screenshoot of the xml that contains the button.
    I’ve try your code and on my machine ran without error, but your code is differente from mine and if I add the rest of the my code I obtain the same error…
    and I don’t find what’s the problem…


  6. May 15th, 2019, 08:30 AM


    #6

    Re: Run-time error ’48’ Error in loading DLL

    Hmm, the only thing fishy then is the next line after your red line in Post#1, because if i’m reading it right you’re trying to load an «xlsm»-File, which contains (probably) VBA.
    Not sure if you have Macros enabled with/without confirmation, and you run afoul on that.
    Nevermind, that the file should exist beforehand (not sure what error-message you’d get in case of not-existing-file)

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ——————————————————————————————————————————————————————————————————————————————-

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ———————————————————————————
    People call me crazy because i’m jumping out of perfectly fine airplanes.
    ———————————————————————————
    Code is like a joke: If you have to explain it, it’s bad


  7. May 15th, 2019, 09:40 AM


    #7

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Exact … the code of the macro that I’ve put in the first post is contained in a file (the screenshoot is related to this xlsm file), and when I click on the button should open another file (where the name is indicated in A10 cell) where every row of this file contains all the details (sender, receiver, subject etc ..) Into the A6 cell instead, is indicated the folder where the attachments of the email are stored.
    I have Macros enabled without confirmation.

    Last edited by robycuccu; May 15th, 2019 at 09:45 AM.

    Reason: Add a further indication


  8. May 15th, 2019, 04:18 PM


    #8

    Re: Run-time error ’48’ Error in loading DLL

    as the error is before trying to open the file and you are getting an error not just the code hanging as if excel is locked by a dialog or similar

    all you can do is try some of the following

    in a new workbook
    try a basic code, as i posted above, try same code on another computer, if either of those work (which it does for me), try reinstalling office or upgrading windows version

    alternatively try running your code opening the file in the same instance of word and present the options to management

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  9. May 16th, 2019, 02:22 AM


    #9

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    The machine where I’m running this macro/code is a work laptop, where unfortunately I can’t try reinstalling office or upgrading windows version
    because all the updates of the system are scheduled.
    I’ve create a new Excel file and then I go into Developer menu and click on Visual Basic button and then I create a new module
    that contains your code and run it, I obtain the same error.
    Why?


  10. May 16th, 2019, 04:08 AM


    #10

    Re: Run-time error ’48’ Error in loading DLL

    You could try the latebound version

    Dim XL As Object
    Set XL=CreateObject(«Excel.Application»)

    See if the error still comes up

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ——————————————————————————————————————————————————————————————————————————————-

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ———————————————————————————
    People call me crazy because i’m jumping out of perfectly fine airplanes.
    ———————————————————————————
    Code is like a joke: If you have to explain it, it’s bad


  11. May 16th, 2019, 04:48 AM


    #11

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Quote Originally Posted by Zvoni
    View Post

    You could try the latebound version

    Dim XL As Object
    Set XL=CreateObject(«Excel.Application»)

    See if the error still comes up

    With early binding I obtain Run-time error ’48’ on the line:

    Code:

    Set XL = New Excel.Application

    With late binding I obtain Run-time error ’48’ on the line:

    Code:

    Set WB = XL.Workbooks.Open(Sheets("Foglio1").Range("A10").Value)

    So, the error is the same but the row where the error occur is different…


  12. May 16th, 2019, 07:51 AM


    #12

    Re: Run-time error ’48’ Error in loading DLL

    Hmm, OK, my research turned up, that there must be a reference missing (and it doesn’t has anything to do with your code per se).
    By any chance: Did you start coding this on another Computer (Different Office-Version/Bitness)?

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ——————————————————————————————————————————————————————————————————————————————-

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ———————————————————————————
    People call me crazy because i’m jumping out of perfectly fine airplanes.
    ———————————————————————————
    Code is like a joke: If you have to explain it, it’s bad


  13. May 16th, 2019, 11:58 AM


    #13

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    I tried to run your code on this machine:

    O.S.: Win 8.1 Enterprise 64 bit
    Microsoft Office 365 ProPlus

    and it is run without any problem.

    My code instead, after that I click on button keep the sheet freezed and after some minutes I obtain the message «Wait. Another application was completing an OLE action» (see the attach) Name:  Popup.jpg
Views: 5276
Size:  10.1 KB.


  14. May 16th, 2019, 12:17 PM


    #14

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    I tried to run your code on this machine:

    O.S.: Win 8.1 Enterprise 64 bit
    Microsoft Office 365 ProPlus

    and it is run without any problem.

    My code instead, after that I click on button keep the sheet freezed and after some minutes I obtain the message «Wait. Another application was completing an OLE action» (see the attach) Name:  Popup.jpg
Views: 5276
Size:  10.1 KB.[/QUOTE].
    The strange thing si that if I check into the target folder, there are all the attachment of the emails of the subfolder of outlook, but the other excel file doesn’t updated with a new row with the data of the email read.

    Moreover, I tried to run your code on this machine:

    O.S.: Win 10 Home 64 bit
    Microsoft Office Pro Plus 2016

    and also on this machine it is run without any problem.
    My code instead, indicate me that Microsoft Outlook 16.0 Object Library is missed and that there’s any other version. I’ve tried also with late binding but at this row:

    Set MioOutlook = CreateObject(«Outlook.Application»)

    I obtain the message «Run-time error ‘429’: the ActiveX component can’t enable to create the object.

    Last edited by robycuccu; May 16th, 2019 at 12:45 PM.


  15. May 16th, 2019, 12:35 PM


    #15

    Re: Run-time error ’48’ Error in loading DLL

    And that’s probably the Problem. You create a Macro on Machine 1 (with Office Version 2), and then you try to run it on Machine 2 (with Office Version 1). Kaboom

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ——————————————————————————————————————————————————————————————————————————————-

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ———————————————————————————
    People call me crazy because i’m jumping out of perfectly fine airplanes.
    ———————————————————————————
    Code is like a joke: If you have to explain it, it’s bad


  16. May 16th, 2019, 12:51 PM


    #16

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    What’s between these versions:

    Office 2010 Pro Plus SP2 14.0.7015.10 R01
    Microsoft Office 365 ProPlus
    Microsoft Office Pro Plus 2016

    Machine 1 and Machine 2?

    In all these tests I’ve always follow the procedure:

    I’ve create a new Excel file and then I go into Developer menu and click on Visual Basic button and then I create a new module pasting or your code or mine.

    So there ins’t a solution for this problem?


  17. May 16th, 2019, 01:23 PM


    #17

    Re: Run-time error ’48’ Error in loading DLL

    Microsoft Office has 2003, 2007, 2010, 2013, 2016, and 2019 versions, so Office 2010 is different than 2016.

    Office 365 could actually be Office 2013, 2016, or 2019.

    The solution is to use late binding to avoid the issue.


  18. May 16th, 2019, 03:59 PM


    #18

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    In my case under Office 365 should be Office 2013…I have already use late binding and I obtained the message that I have report in the post #11


  19. May 16th, 2019, 04:28 PM


    #19

    Re: Run-time error ’48’ Error in loading DLL

    Microsoft Office has 2003, 2007, 2010, 2013, 2016, and 2019 versions, so Office 2010 is different than 2016.

    the reference is always correct with what he is doing

    I’ve create a new Excel file and then I go into Developer menu and click on Visual Basic button and then I create a new module pasting or your code or mine.

    i would generally always use late binding, but in this case it should not matter

    there is obviously a problem with the particular machine, apply for a replacement to be able to complete the task

    from http://support.legacyfamilytree.com/…ading-DLL.html

    Error 48: This error means one of the installation files is missing or the system registry has been corrupted. There is more than one trigger for this error. Here are the most common ones: The DLL or referenced DLL is not in a directory specified in the path.

    a quick google on excel error 48 bought up many hits, including suggestions to repair you excel installation

    edit: unlike excel, outlook needs to be running for createobject to work

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  20. May 17th, 2019, 12:56 AM


    #20

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    I’ve tried to use late binding and now I obtain this error:

    Run-time error ‘5’:

    Invalid procedure call or argument

    Code:

    Sub bottone()
        'Dim XL As Excel.Application
        'Dim WB As Excel.Workbook
        Dim XL As Object
        Dim WB As Object
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
    
        'Set XL = New Excel.Application
        Set XL = CreateObject("Excel.Application")
        Set WB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
        
        If Sheets("Sheet1").Range("A4").Value = "1" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderInbox)
        ElseIf Sheets("Sheet1").Range("A4").Value = "2" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderSentMail)
        ElseIf Sheets("Sheet1").Range("A4").Value = "3" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderDeletedItems)
        ElseIf Sheets("Sheet1").Range("A4").Value = "4" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderJunk)
        ElseIf Sheets("Sheet1").Range("A4").Value = "5" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderOutbox)
        End If
        If Sheets("Sheet1").Range("A2").Value = "" Then
            Set Myfolder = Defaultfolder
        Else
            Set Myfolder = Defaultfolder.Folders(Sheets("Sheet1").Range("A2").Value)
        End If
        
        'Cerca prima cella libera
        x = 0
        Do
            x = x + 1
        Loop Until WB.Sheets("Sheet1").Cells(x, 1) = ""
        
        'Imposta data/ora massima
        If WB.Sheets("Sheet1").Cells(2, 1) > "" Then
            MaxDate = CStr(WB.Sheets("Sheet1").Cells(2, 1))
            lung = Len(MaxDate)
            Pos = InStr(MaxDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & Right(MaxDate, Pos)
            Else
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & " 0" & Right(MaxDate, Pos - 1)
            End If
        Else
            MaxDate = ""
        End If
           
        On Error GoTo SaltaMail
        
        For Each obj In Myfolder.Items
            
            SrcDate = CStr(obj.ReceivedTime)
            
            lung = Len(SrcDate)
            Pos = InStr(SrcDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & Right(SrcDate, Pos)
            Else
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & " 0" & Right(SrcDate, Pos - 1)
            End If
            
            If SrcDate > MaxDate Then
                If Sheets("Sheet1").Range("A8").Value = "" Or Sheets("Sheet1").Range("A8").Value = obj.SenderEmailAddress Then
                    WB.Sheets("Sheet1").Cells(x, 1) = obj.ReceivedTime
                    WB.Sheets("Sheet1").Cells(x, 2) = obj.Subject
                    WB.Sheets("Sheet1").Cells(x, 3) = obj.Body
                    WB.Sheets("Sheet1").Cells(x, 4) = obj.To
                    WB.Sheets("Sheet1").Cells(x, 5) = obj.CC
                    WB.Sheets("Sheet1").Cells(x, 6) = obj.BCC
                    WB.Sheets("Sheet1").Cells(x, 7) = obj.ReceivedByName
                    WB.Sheets("Sheet1").Cells(x, 8) = obj.SenderName
                    WB.Sheets("Sheet1").Cells(x, 9) = obj.SenderEmailAddress
                    If obj.Attachments.Count > 0 Then
                        For i = 1 To obj.Attachments.Count
                            obj.Attachments(i).SaveAsFile (Sheets("Sheet1").Range("A6").Value & "" & obj.Attachments(i).Filename)
                        Next
                    End If
                    x = x + 1
                End If
            End If
            
    SaltaMail:
    
        Next
        
        On Error GoTo 0
        
        WB.Close
    
    End Sub

    Actually with late binding the error is moving toward, but why I obtain this new error? The code (a part the declaration of some variables with late binding) is the same…

    Last edited by robycuccu; May 17th, 2019 at 01:19 AM.


  21. May 17th, 2019, 06:15 AM


    #21

    Re: Run-time error ’48’ Error in loading DLL

    you should check if the outlook constant (olfolderinbox) has any value in the current context should be = 6

    this will of course also appy to any other outlook constants

    can you really read that yellow text?

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  22. May 17th, 2019, 06:21 AM


    #22

    Re: Run-time error ’48’ Error in loading DLL

    You are referring to a Sheets object which has not been declared.

    Code:

    Sub bottone()
        'Dim XL As Excel.Application
        'Dim WB As Excel.Workbook
        Dim XL As Object
        Dim WB As Object
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
    
        'Set XL = New Excel.Application
        Set XL = CreateObject("Excel.Application")
        Set WB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
        
        If Sheets("Sheet1").Range("A4").Value = "1" Then

    Just use WB.Sheets() like in the rest of your code


  23. May 17th, 2019, 06:31 AM


    #23

    Re: Run-time error ’48’ Error in loading DLL

    Sheets object which has not been declared

    i would guess that sheet1 is in the workbook containing the code, rather than the workbook that was opened, while i believe it would be better use a more fully qualified range, it should still work correctly

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  24. May 17th, 2019, 06:57 AM


    #24

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Quote Originally Posted by westconn1
    View Post

    you should check if the outlook constant (olfolderinbox) has any value in the current context should be = 6

    this will of course also appy to any other outlook constants

    can you really read that yellow text?

    Sorry I’ve used the yellow text but the row not is visible…anyway the row is the follow:

    Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderInbox)

    How/Where can I found the outlook constant?


  25. May 17th, 2019, 07:03 AM


    #25

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Quote Originally Posted by westconn1
    View Post

    i would guess that sheet1 is in the workbook containing the code, rather than the workbook that was opened, while i believe it would be better use a more fully qualified range, it should still work correctly

    Yes exactly, the sheet1 should refer to that is in the workbook containing the code…how can I refer to sheet1 contains in the workbook containing the code correctly?


  26. May 17th, 2019, 07:05 AM


    #26

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Quote Originally Posted by westconn1
    View Post

    i would guess that sheet1 is in the workbook containing the code, rather than the workbook that was opened, while i believe it would be better use a more fully qualified range, it should still work correctly

    Yes exactly, the sheet1 should refer to that is in the workbook containing the code…how can I refer to sheet1 contains in the workbook containing the code correctly?


  27. May 17th, 2019, 07:16 AM


    #27

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    I’ve tried to modify the entire code in this way:

    Code:

    Sub bottone()
        'Dim XL As Excel.Application
        'Dim WB As Excel.Workbook
        Dim XL As Object
        Dim WB As Object
        Dim MioMapi As Object
        Dim Myfolder As Object
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
    
        'Set XL = New Excel.Application
        Set XL = CreateObject("Excel.Application")
        Set actualWB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
        
        If actualWB.Sheets("Sheet1").Range("A4").Value = "1" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderInbox)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "2" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderSentMail)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "3" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderDeletedItems)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "4" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderJunk)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "5" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderOutbox)
        End If
        If actualWB.Sheets("Sheet1").Range("A4").Value = "" Then
            Set Myfolder = Defaultfolder
        Else
            Set Myfolder = Defaultfolder.Folders(Sheets("Sheet1").Range("A2").Value)
        End If
        
        'Cerca prima cella libera
        x = 0
        Do
            x = x + 1
        Loop Until newWB.Sheets("Sheet1").Cells(x, 1) = ""
        
        'Imposta data/ora massima
        If newWB.Sheets("Sheet1").Cells(2, 1) > "" Then
            MaxDate = CStr(newWB.Sheets("Sheet1").Cells(2, 1))
            lung = Len(MaxDate)
            Pos = InStr(MaxDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & Right(MaxDate, Pos)
            Else
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & " 0" & Right(MaxDate, Pos - 1)
            End If
        Else
            MaxDate = ""
        End If
           
        On Error GoTo SaltaMail
        
        For Each obj In Myfolder.Items
            
            SrcDate = CStr(obj.ReceivedTime)
            
            lung = Len(SrcDate)
            Pos = InStr(SrcDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & Right(SrcDate, Pos)
            Else
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & " 0" & Right(SrcDate, Pos - 1)
            End If
            
            If SrcDate > MaxDate Then
                If actualWB.Sheets("Sheet1").Range("A8").Value = "" Or actualWB.Sheets("Sheet1").Range("A8").Value = obj.SenderEmailAddress Then
                    newWB.Sheets("Sheet1").Cells(x, 1) = obj.ReceivedTime
                    newWB.Sheets("Sheet1").Cells(x, 2) = obj.Subject
                    newWB.Sheets("Sheet1").Cells(x, 3) = obj.Body
                    newWB.Sheets("Sheet1").Cells(x, 4) = obj.To
                    newWB.Sheets("Sheet1").Cells(x, 5) = obj.CC
                    newWB.Sheets("Sheet1").Cells(x, 6) = obj.BCC
                    newWB.Sheets("Sheet1").Cells(x, 7) = obj.ReceivedByName
                    newWB.Sheets("Sheet1").Cells(x, 8) = obj.SenderName
                    newWB.Sheets("Sheet1").Cells(x, 9) = obj.SenderEmailAddress
                    If obj.Attachments.Count > 0 Then
                        For i = 1 To obj.Attachments.Count
                            obj.Attachments(i).SaveAsFile (actualWB.Sheets("Sheet1").Range("A6").Value & "" & obj.Attachments(i).Filename)
                        Next
                    End If
                    x = x + 1
                End If
            End If
            
    SaltaMail:
    
        Next
        
        On Error GoTo 0
        
        newWB.Close
    End Sub

    Now the error is changed and it’s throw by the row in red color.
    This is the new error shown:


  28. May 17th, 2019, 07:17 AM


    #28

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    I’ve tried to modify the entire code in this way:

    Code:

    Sub bottone()
        'Dim XL As Excel.Application
        'Dim WB As Excel.Workbook
        Dim XL As Object
        Dim WB As Object
        Dim MioMapi As Object
        Dim Myfolder As Object
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
    
        'Set XL = New Excel.Application
        Set XL = CreateObject("Excel.Application")
        Set actualWB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
        
        If actualWB.Sheets("Sheet1").Range("A4").Value = "1" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderInbox)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "2" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderSentMail)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "3" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderDeletedItems)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "4" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderJunk)
        ElseIf actualWB.Sheets("Sheet1").Range("A4").Value = "5" Then
            Set Defaultfolder = MioMapi.GetDefaultFolder(olFolderOutbox)
        End If
        If actualWB.Sheets("Sheet1").Range("A4").Value = "" Then
            Set Myfolder = Defaultfolder
        Else
            Set Myfolder = Defaultfolder.Folders(Sheets("Sheet1").Range("A2").Value)
        End If
        
        'Cerca prima cella libera
        x = 0
        Do
            x = x + 1
        Loop Until newWB.Sheets("Sheet1").Cells(x, 1) = ""
        
        'Imposta data/ora massima
        If newWB.Sheets("Sheet1").Cells(2, 1) > "" Then
            MaxDate = CStr(newWB.Sheets("Sheet1").Cells(2, 1))
            lung = Len(MaxDate)
            Pos = InStr(MaxDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & Right(MaxDate, Pos)
            Else
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & " 0" & Right(MaxDate, Pos - 1)
            End If
        Else
            MaxDate = ""
        End If
           
        On Error GoTo SaltaMail
        
        For Each obj In Myfolder.Items
            
            SrcDate = CStr(obj.ReceivedTime)
            
            lung = Len(SrcDate)
            Pos = InStr(SrcDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & Right(SrcDate, Pos)
            Else
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & " 0" & Right(SrcDate, Pos - 1)
            End If
            
            If SrcDate > MaxDate Then
                If actualWB.Sheets("Sheet1").Range("A8").Value = "" Or actualWB.Sheets("Sheet1").Range("A8").Value = obj.SenderEmailAddress Then
                    newWB.Sheets("Sheet1").Cells(x, 1) = obj.ReceivedTime
                    newWB.Sheets("Sheet1").Cells(x, 2) = obj.Subject
                    newWB.Sheets("Sheet1").Cells(x, 3) = obj.Body
                    newWB.Sheets("Sheet1").Cells(x, 4) = obj.To
                    newWB.Sheets("Sheet1").Cells(x, 5) = obj.CC
                    newWB.Sheets("Sheet1").Cells(x, 6) = obj.BCC
                    newWB.Sheets("Sheet1").Cells(x, 7) = obj.ReceivedByName
                    newWB.Sheets("Sheet1").Cells(x, 8) = obj.SenderName
                    newWB.Sheets("Sheet1").Cells(x, 9) = obj.SenderEmailAddress
                    If obj.Attachments.Count > 0 Then
                        For i = 1 To obj.Attachments.Count
                            obj.Attachments(i).SaveAsFile (actualWB.Sheets("Sheet1").Range("A6").Value & "" & obj.Attachments(i).Filename)
                        Next
                    End If
                    x = x + 1
                End If
            End If
            
    SaltaMail:
    
        Next
        
        On Error GoTo 0
        
        newWB.Close
    End Sub

    Now the error is changed and it’s throw by the row in red color.
    This is the new error shown:

    Name:  Error.jpg
Views: 5419
Size:  12.1 KB


  29. May 17th, 2019, 07:24 AM


    #29

    Re: Run-time error ’48’ Error in loading DLL

    You should really add «Option Explicit» as the first line in your forms, modules and classes

    Where is «actualWB» defined ?
    What is «Defaultfolder» ?
    Where did you define «newWB» ?

    You are mixing Late Bound with Early Bound so it seems.
    Otherwise you should get much more errors.

    How/Where can I found the outlook constant

    https://docs.microsoft.com/en-us/off…defaultfolders


  30. May 17th, 2019, 07:55 AM


    #30

    Re: Run-time error ’48’ Error in loading DLL

    Yes exactly, the sheet1 should refer to that is in the workbook containing the code

    the workbook containing the code is always thisworkbook, or you can set you own variable

    Code:

    if Thisworkbook.sheets("Sheet1").Range("A4").Value = "1" Then

    Sorry I’ve used the yellow text but the row not is visible..

    i could read it by highlighting it, or optionally quoting it, but better to use some other colour

    Now the error is changed and it’s throw by the row in red color.

    this would indicate no folder was assigned to defaultfolder, your new code, it appears, is now trying to get the values from the newly opened workbook, but in any case, if the cell a4 did not contain a numeric from 1 to 5, defaultfolder would be an empty variant, if defaultfolder was dimensioned as object, it would in this case be nothing and no error would occur, but it would not help your code, just have another error further down
    not that you really need defaultfolder and myfolder

    personally i would prefer a select case to all those elseifs

    Code:

    select case thisworkbook.sheets("sheet1").range("a4")
      case 1:  ifolder = olFolderInbox ' =6
      case 2:  ifolder = olFolderSentMail ' =5
      case 3: ifolder = olFolderDeletedItems  ' =3
      case 4: ifolder = olFolderJunk  ' don't know this one
      case 5: ifolder = olFolderOutbox  '  =4
      case else: msgbox "not 1 to 5 in cell A4" :exit sub  ' invalid
    end select 
    Set Myfolder = MioMapi.GetDefaultFolder(ifolder)

    if the outlook constants do not contain any value, either declare them or use the literal values

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  31. May 20th, 2019, 01:32 AM


    #31

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    Code:

    Option Explicit
    
    Sub bottone()
        Dim XL As Object
        Dim WB As Object
        Dim Myfolder As Object
        Dim MioOutlook As Object
        Dim MioMapi As Object
        
        Dim olFolderInbox As Integer ' =6
        Dim olFolderSentMail As Integer ' =5
        Dim olFolderDeletedItems As Integer ' =3
        Dim olFolderJunk As Integer ' don't know this one
        Dim olFolderOutbox As Integer '  =4
        
        Dim actualWB As Object
        Dim newWB As Object
        Dim ifolder As Integer
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
        
        Set XL = CreateObject("Excel.Application")
        Set actualWB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
        
        Select Case ThisWorkbook.Sheets("sheet1").Range("A4")
          Case 1:  ifolder = olFolderInbox ' =6
          Case 2:  ifolder = olFolderSentMail ' =5
          Case 3: ifolder = olFolderDeletedItems  ' =3
          Case 4: ifolder = olFolderJunk  ' don't know this one
          Case 5: ifolder = olFolderOutbox  '  =4
          Case Else: MsgBox "not 1 to 5 in cell A4": Exit Sub  ' invalid
        End Select
        Set Myfolder = MioMapi.GetDefaultFolder(ifolder)  
        
        'Cerca prima cella libera
        Dim x As Integer
        Dim MaxDate As Integer
        Dim lung As Integer
        Dim Pos As Integer
        
        
        x = 0
        Do
            x = x + 1
        Loop Until newWB.Sheets("Sheet1").Cells(x, 1) = ""
        
        'Imposta data/ora massima
        If newWB.Sheets("Sheet1").Cells(2, 1) > "" Then
            MaxDate = CStr(newWB.Sheets("Sheet1").Cells(2, 1))
            lung = Len(MaxDate)
            Pos = InStr(MaxDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & Right(MaxDate, Pos)
            Else
                MaxDate = Mid(MaxDate, 7, 4) & "/" & Mid(MaxDate, 4, 2) & "/" & Mid(MaxDate, 1, 2) & " 0" & Right(MaxDate, Pos - 1)
            End If
        Else
            MaxDate = ""
        End If
           
        Dim obj As Object
        Dim SrcDate As Integer
        On Error GoTo SaltaMail
        
        For Each obj In Myfolder.Items
            
            SrcDate = CStr(obj.ReceivedTime)
            
            lung = Len(SrcDate)
            Pos = InStr(SrcDate, " ")
            Pos = lung - Pos + 1
            If lung = 19 Then
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & Right(SrcDate, Pos)
            Else
                SrcDate = Mid(SrcDate, 7, 4) & "/" & Mid(SrcDate, 4, 2) & "/" & Mid(SrcDate, 1, 2) & " 0" & Right(SrcDate, Pos - 1)
            End If
            
            If SrcDate > MaxDate Then
                If actualWB.Sheets("Sheet1").Range("A8").Value = "" Or actualWB.Sheets("Sheet1").Range("A8").Value = obj.SenderEmailAddress Then
                    newWB.Sheets("Sheet1").Cells(x, 1) = obj.ReceivedTime
                    newWB.Sheets("Sheet1").Cells(x, 2) = obj.Subject
                    newWB.Sheets("Sheet1").Cells(x, 3) = obj.Body
                    newWB.Sheets("Sheet1").Cells(x, 4) = obj.To
                    newWB.Sheets("Sheet1").Cells(x, 5) = obj.CC
                    newWB.Sheets("Sheet1").Cells(x, 6) = obj.BCC
                    newWB.Sheets("Sheet1").Cells(x, 7) = obj.ReceivedByName
                    newWB.Sheets("Sheet1").Cells(x, 8) = obj.SenderName
                    newWB.Sheets("Sheet1").Cells(x, 9) = obj.SenderEmailAddress
                    If obj.Attachments.Count > 0 Then
                        Dim i As Integer
                        For i = 1 To obj.Attachments.Count
                            obj.Attachments(i).SaveAsFile (actualWB.Sheets("Sheet1").Range("A6").Value & "" & obj.Attachments(i).Filename)
                        Next
                    End If
                    x = x + 1
                End If
            End If
            
    SaltaMail:
    
        Next
        
        On Error GoTo 0
        
        newWB.Close
    
    End Sub

    I modified the code with your tips, but I obtain always the same error «Run-time error ‘5’: Invalid procedure call or argument»


  32. May 20th, 2019, 05:23 AM


    #32

    Re: Run-time error ’48’ Error in loading DLL

    I tried a stripped version of your code
    And got the same error 5, because iFolder = 0
    When I changed iFolder to 6 the code does not raise an error

    Code:

    Sub bottone()
        Dim XL As Object
        Dim WB As Object
        Dim Myfolder As Object
        Dim MioOutlook As Object
        Dim MioMapi As Object
        
        Dim olFolderInbox As Integer ' =6
        Dim olFolderSentMail As Integer ' =5
        Dim olFolderDeletedItems As Integer ' =3
        Dim olFolderJunk As Integer ' don't know this one
        Dim olFolderOutbox As Integer '  =4
        
        Dim actualWB As Object
        Dim newWB As Object
        Dim iFolder As Integer
        
        Set MioOutlook = CreateObject("Outlook.Application")
        Set MioMapi = MioOutlook.GetNamespace("MAPI")
        
    '    Set XL = CreateObject("Excel.Application")
    '    Set actualWB = XL.Workbooks.Open(Sheets("Sheet1").Range("A10").Value)
        
    '
    '    Select Case ThisWorkbook.Sheets("sheet1").Range("A4")
    '      Case 1:  iFolder = 6 'olFolderInbox
    '      Case 2:  iFolder = 5 ' olFolderSentMail ' =5
    '      Case 3: iFolder = 3 ' olFolderDeletedItems  ' =3
    '      'Case 4: ifolder = olFolderJunk  ' don't know this one
    '      Case 5: iFolder = 4 'olFolderOutbox  '  =4
    '      Case Else: MsgBox "not 1 to 5 in cell A4": Exit Sub  ' invalid
    '    End Select
         
        ' Hard coded to 6, no error
        iFolder = 6 'olFolderInbox ' =6
        Set Myfolder = MioMapi.GetDefaultFolder(iFolder)
        
    End Sub


  33. May 20th, 2019, 07:07 AM


    #33

    robycuccu is offline

    Thread Starter


    Junior Member


    Re: Run-time error ’48’ Error in loading DLL

    With hard coded to 6, I got this error: Run-time error ’91’: Object variable or With block variable not sent, on the follow line:Loop Until newWB.Sheets(«Sheet1»).Cells(x, 1) = «»


  34. May 20th, 2019, 07:28 AM


    #34

    Re: Run-time error ’48’ Error in loading DLL

    Because it’s not assigned to anything anywhere.

    And what is: thisworkbook ??

    It should be something like (untested!):

    Code:

    Set newWB = XL.WorkBooks.Add


  35. May 21st, 2019, 06:19 AM


    #35

    Re: Run-time error ’48’ Error in loading DLL

    And what is: thisworkbook ??

    thisworkbook is a built in excel object representing the workbook containing the code

    ? thisworkbook.fullname

    I modified the code with your tips, but I obtain always the same error

    did you test if the outlook constants were valid constants or empty variables, as i suggested
    you have now dimensioned them as variables, but not assigned any value to the variable
    if the constants have value you need to do nothing as they should just work correctly
    if the constants have no value then you should either assign them as constants (not variables) or use the literal values

    to test

    Code:

    debug.print olFolderInbox

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  36. May 21st, 2019, 07:33 AM


    #36

    Re: Run-time error ’48’ Error in loading DLL

    I don’t know which VBA robycuccu is using.
    Excel, Word, PowerPoint or Access??

    thisworkbook is a built in excel object representing the workbook containing the code

    ? thisworkbook.fullname

    ThisWorkWork only exists in Excel VBA.
    And when using Excel, why using the below code???

    Code:

    Dim XL as Object
    
    Set XL = CreateObject("Excel.Application")


  37. May 21st, 2019, 07:44 AM


    #37

    Re: Run-time error ’48’ Error in loading DLL

    from post #2

    are you doing this code in excel?
    do you really need a new instance of excel? you can just open the additionally required workbook in the same instance,

    from post #3

    Yes, exact I’m doing this code in excel…a new instance of excel is a request of my boss ..I’m agree with you that is not necessary.

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  38. May 21st, 2019, 08:01 AM


    #38

    Re: Run-time error ’48’ Error in loading DLL

    Oke, but what a mess it becomes with all implicit references mixed with explicit references.


  39. May 21st, 2019, 04:06 PM


    #39

    Re: Run-time error ’48’ Error in loading DLL

    what a mess it becomes with all implicit references mixed with explicit references.

    amen to that

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  • Home
  • VBForums
  • Visual Basic
  • Office Development
  • Run-time error ’48’ Error in loading DLL


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules


Click Here to Expand Forum to Full Width

I get the Error ’48’ when running on Computer #1, but
Do Not
get the error when running on Computer #2.  Both computers are running Windows 7 SP1.  Here is a summary of my problem:

1) Trying to run a rather complex VB6 Application (compiled)

2) The identical application software runs without problems on MANY (> 100) other W7 Computers, including my Computer #2.

3) The App fails on Computer #1 (when starting) with the following error message:

Run-Time Error ’48’

Error in loading DLL

I have identified the first line of code where the error occurs to the line that is
underlined and begins «For Each tdTables» in the code snippet below:

Public Sub ReLinkTables()

Dim tdTables As TableDef, strTemp As String, dbCountyHunter As Database, tdNew As TableDef, I As Integer, lngAttribute As Long

Dim strXX As String

Dim strMsg As String ‘ For Test Message Box String

‘ Following Will Be Common To ALL Standard Error Handling Routines
Dim blnErrorFixAttempted As Boolean, blnReportToTeam As Boolean
Const strModuleName = «ReLinkTables» ‘ Module Name Will Change For Each Module!

‘ Initialize Local Variables For This Routine
Const lngLinked = 1073741824
blnReLinkProblem = False

On Error GoTo ErrorHandler

Set dbCountyHunter = OpenDatabase(strDataFolder & «» & KLstrFilePrefix & strCallMine & KLstrFileSuffix, False, False, «;pwd=» & KLstrDBPassword & «»)

I = 0

For Each tdTables In dbCountyHunter.TableDefs
I = I + 1
strTemp = tdTables.Name
lngAttribute = tdTables.Attributes

If lngAttribute = lngLinked Then
dbCountyHunter.TableDefs(«» & strTemp & «»).Connect = «;DATABASE=» & strDataFolder & «County Hunters — Common.mdb;pwd=» & KLstrDBPassword & «»

dbCountyHunter.TableDefs(«» & strTemp & «»).RefreshLink
End If

Next

blnRelinkDone = True

End Sub

The purpose of this Subroutine is to re-link tables in 2 Access mdb files (if they should happen to not be linked properly).

In an attempt to narrow down which dll file might be causing the problem, I searched ALL dll and ocx files in the SysWOW64 folder for the string «TableDefs» and only found one file. This was file «MSRDO20.DLL» which is one of the dependent files for «MSRDO20.OCX»
in the same folder. Both of these files are present on the problem machine in the correct folder (SysWOW64). I believe both files are registered, but am not totally certain.

Inspired by the Microsoft article at
http://support.microsoft.com/kb/833220 (that didn’t fix Computer #1!) I found that I can reproduce the identical problem on Computer #2 by simply un-registering the file «dao360.dll» (in the C:Program Files (x86)Common Filesmicrosoft sharedDAO folder). 
However, going back and immediately re-registering the same file doesn’t cure the problem!  I have to load a restore point to regain normal operation on Computer #2

I have also tried to cure the problem by re-installing the VB application with the UAC at its lowest level and anti-virus programs inactive.  All unsuccessful!

Also, a «Repair Install» of Windows 7 is not an option for Computer #1 since it is an OEM installation of Windows.

I believe I have wandered into a «DLL Hell» situation here!

Please answer the following questions if you can:

1) Do you think I may have located the file (MSRDO20.DLL) which can’t load or is it dao360.dll?

2) If either is the culprit, what do you recommend I do to fix the problem?

3) If No, can you give me a better method to determine what the culprit dll file is or a better way to just solve the problem?

4) Is there a utility program which will check that all
Windows 7 SP1 WDAC system files
 are properly installed (especially those needed to support Visual Basic 6) and are the correct version, in the correct folder, and are correctly registered?

(Incidentally, I have tried SFC and it shows NO errors and doesn’t fix the problem)

5) If no such utility exists, can you point me to a resource (File Manifest?) that lists ALL system files (just those needed to support VB 6 operation) normally installed by Windows 7 along
with correct Version/date and the correct folder in which they should be found?

Many Thanks For Any Help!

Matt

Runtime Error

What is Runtime Error 48?

Common Problems

How to Fix Runtime Error 48

Runtime Error Support Guide

What is a Runtime Error?


Runtime Error 48 (Error in loading DLL) indicates that there is a software or hardware problem. Runtime errors can be caused by conflicts between two or more software programs, memory problems, or if your computer has been infected by malicious software such as a virus or trojan horse.

Common Problems


Runtime errors can result in both program and system crashes, slow computer performance, disruptive error messages, and high CPU usage. In the case of malicious software, there can be additional issues.

Fix Runtime Error 48


To fix Runtime Error 48 and ensure your computer functions error free, it is highly recommended that you download and run the Runtime Error 48 repair tool Advanced System Repair. Click the button below to download the software.

Runtime Error 48

STEP 1:

STEP 2:

Click ‘Scan’ to search for errors.

STEP 3:

Click ‘Fix All’ and you’re done!

Designed for Windows 11, 10, 8, 7, Vista & XP

  7 Comments on «Runtime Error 48 — Error in loading DLL»

DaViD says: Topic: Support 
Yay! All fixed!

OldTimer67 says: Topic: Support 
this was a big help

JULIANNE says: Topic: Support 
Thanks, this solved the problem and my headache!

Rock8t says: Topic: Support 
this got rid of the runtime error 48

Good_Girl says: Topic: Support 
I just wanted to let everyone know this worked for me

Blaminator says: Topic: Support 
Now i can play Call of Duty again :)

JennyB says: Topic: Support 
100% fixed, thanks!

Trademarks: Microsoft and Windows are registered trademarks of Microsoft Corporation. Disclaimer: RuntimeError.co is not affiliated with Microsoft Corporation, nor claim any such implied or direct affiliation. The information contained on this site is for informational purposes only. The owners of this site are compensated by relationships with the recommended software products.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Runtime error at 193 565 division by zero что это
  • Runtime error 4605 метод или свойство недоступны
  • Runtime error at 184 536
  • Runtime error at 17 2161 out of range виндовс 10
  • Runtime error 4605 word

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии