Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di Orione
    Registrato dal
    Oct 2002
    Messaggi
    148

    Errore di caricamento dll

    Ciao a tutti ho un errore strano. Di seguito posto il mio script

    Option Explicit

    'Global variables
    Dim strComputer, objReg

    strComputer = "." ' Can be changed to name of remote computer.

    'Connect with WMI service and StdRegProv class.
    Set objReg = GetObject("winmgmts:{impersonationLevel=impersonat e}!\\" & strComputer & "\root\default:StdRegProv")

    'Delete from the registry the RunAs value, so use the launcher user
    'XXXXX
    DeleteValue objReg, "AppID\{B6EACB30-42D5-11d0-9517-0020AFAA4B3C}"
    'YYYYY
    DeleteValue objReg, "AppID\{A05BB6D6-2F8A-11D1-9BB0-080009D01446}"


    '**************

    Sub DeleteValue (ByRef objReg, strKeyPath)


    'Local constants and variables
    Const HKEY_CLASSES_ROOT = &H80000000
    Const strValueName = "RunAs"
    Dim strValue

    Dim intReturn




    intReturn = objReg.GetStringValue(HKEY_CLASSES_ROOT, strKeyPath, StrValuename, strValue)


    If intReturn = 0 Then
    intReturn = objReg.DeleteValue(HKEY_CLASSES_ROOT, strKeyPath, strValueName)
    End If

    End Sub

    Precedentemente ho postato il mio file vbs che dovrebbe cancellarmi il valore della voce di registro se quest'ultima esiste ma quando arrivo al comando *** intReturn = objReg.GetStringValue(HKEY_CLASSES_ROOT, strKeyPath, StrValuename, strValue) ***

    mi da il seguente errore:
    Errore 800A0030 Impossibile caricare la dll

    Qualcuno ha idee?
    Ciao e grazie

  2. #2
    Utente di HTML.it L'avatar di oregon
    Registrato dal
    Jul 2005
    residenza
    Roma
    Messaggi
    36,480
    Il computer di destinazione con quale sistema operativo lavora?

  3. #3
    Utente di HTML.it L'avatar di Orione
    Registrato dal
    Oct 2002
    Messaggi
    148
    Ciao mi produce lo stesso errore sia su un computer con installato win 2000 sia su un computer con XP

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.