Jump to content

Recommended Posts

Posted

Dim s

Dim a As Integer

Private Sub Form_Load()

s = ObterHandleChavePrincipal("HKEY_CURRENT")

s = CriarChave("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System")

s = DefenirValorDWORD("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System", "REG_DWORD", 0)

End Sub

Este pequeno codigo dá-me erro e nao sei o que hei de fazer,alguem me pode ajudar?

Qualquer coisa esfrega a lampada!!!Visite Banco de Software e desfrute do software disponível xD

Posted

hhhhmmmm, estas a utilizar um modulo, entao vê se no modulo essas funções são publicas (private ou public), se forem private muda para public ou então se estiveres a utilizar uma class tens de a declarar na form que a queres utilizar.

Cumps

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.