PDA

View Full Version : VBasic hWnd


shadowcon
10-08-2009, 11:41 AM
okay, I'm writing a simple namespoofer in Vbasic, it's my second app overall and I've looked through the microsoft support and I can't really find how to inject to W3 and write to the memory. Well, all i've done so far is the main structure and the GUI for it...
this is as far as i've come so far (i only took the part where it happens something, not declarations of variables):


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'here it's supposed to check if W3 is found and write it to the variable W3Found
If W3Found = True Then
If ClickedRadio = False Then
MessageBox.Show("Please choose either BNet or LAN.")
Else
If ClickedLan Then
'change 093B4120 in memory to Text1
Else
'change 08B002DC in memory to Text1
End If
End If
Else
MessageBox.Show("W3 not found.")
End If
End Sub

Thx in advance