Hi. Im doing a login form with decryption. So i did a modification to my login code for decryption. Before i did the decryption, the login form is functioning well. But after i edit it to insert decryption code it suddenly cannot connect to database. Im still a begginer in vb.net so maybe there is something that Im missing because there is no error in the code so I dont know where did I do wrong. Here i put decryption code(just in case) and my login code **Decryption Code** Private Function Decrypt(ByVal cipherText As String) As String 'Firstly the encrypted …

Member Avatar
Member Avatar
+1 forum 2

Im currently doing an application which is when user plugged in usb drive, login form will pop up so user need to login first but if user failed login for three times, webcam will automatically capture. The problem here, **how to make the webcam to automatically capture after user failed to login after three times**? I already found code for webcam from google but I dont know how to connect these to code to solve my problem. This is the code for login without errors (in case u wanna see my code) Imports System.Data.OleDb Public Class Login Private Sub LoginButton_Click(ByVal …

Member Avatar
Member Avatar
+0 forum 1

I got this problem while trying to disable or enable ports. It works well when Im using my friend's laptop but when I tried using my laptop, it give this error. Why was this happen and how to solve it? Thanks ^^ Private Sub DisableBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DisableBtn.Click Microsoft.Win32.Registry.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR", "Start", 4, Microsoft.Win32.RegistryValueKind.DWord) 'this line gives error MessageBox.Show("Port are disable", "USB Disable", MessageBoxButtons.OK, MessageBoxIcon.Information) Me.Hide() Login.Show() End Sub Private Sub EnableBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EnableBtn.Click Microsoft.Win32.Registry.SetValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR", "Start", 3, Microsoft.Win32.RegistryValueKind.DWord) 'this line gives error MessageBox.Show("Port are enable", "USB Enable", MessageBoxButtons.OK, MessageBoxIcon.Information) …

Member Avatar
Member Avatar
+0 forum 1

The End.