Jump to content

mholmes

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral
  1. this works but I really would like to get it to auto quick scan for me Private Sub Button3_Click_1(sender As System.Object, e As System.EventArgs) Handles Button3.Click If bol32 = False And bol64 = False Then MsgBox("Please Select A OS Type", MsgBoxStyle.Exclamation, "Error: No OS Selected") Else Try If bol32 = True Then Process.Start("C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe") ElseIf bol64 = True Then Process.Start("C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe") End If Catch MsgBox("Failed To Start Malwarebytes Process", MsgBoxStyle.Critical, "Processing Error") End Try End If End Sub
  2. not sure if im in the right place or not but having issue getting malwarebytes to run in command line. Pardon my sloppy code: Private Sub Button3_Click_1(sender As System.Object, e As System.EventArgs) Handles Button3.Click If bol32 = False And bol64 = False Then MsgBox("Please Select A OS Type", MsgBoxStyle.Exclamation, "Error: No OS Selected") Else Try If bol32 = True Then Shell("C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe /quickscan") ElseIf bol64 = True Then Shell("C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe /quickscan") End If Catch MsgBox("Failed To Start Malwarebytes Process", MsgBoxStyle.Critical, "Processing Error") End Try End If End SubIts telling me the file path does not exsist. When I go into command prompt I get the same thing. Pretty sue the shell command is correct but not sure where I made my mistake.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - 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.