I am working on a "de-bugging" back-end sorta thingy for my program, and I have a "dll" that executes most of the work for the program. For the ease of tech-support, I plan on trying to impliment a hidden back-door into the engine that is password protected and activated by a key-press. What I want to do is:
when the enter key is pressed, have the dll run the sub that is listed in the enter key, for example:
In the dll:
In the "back-door":
Any suggestions?
when the enter key is pressed, have the dll run the sub that is listed in the enter key, for example:
In the dll:
VB.NET:
Public Sub msg(ByVal text as string)
MsgBox(text)
End Sub
In the "back-door":
VB.NET:
Sub TextBox2KeyPress(sender As Object, e As KeyPressEventArgs)
If e.KeyChar = Chr(13) Then
'What comes next?
End If
End Sub
Any suggestions?