| View previous topic :: View next topic |
| Author |
Message |
hackman Expert Cheater
Reputation: 0
Joined: 11 Aug 2006 Posts: 163 Location: behind my copy of CE.....
|
Posted: Sun Jun 15, 2008 9:55 am Post subject: [HELP] VB.NET variable scanner |
|
|
Ok guys, so I have this crappy code, which is supposed to be a variable scanner, here it is.
| Code: | Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ioFile As New StreamReader("Textfile.txt")
Dim ioLine As String
Dim ioLines As String
ioLine = ioFile.ReadLine
ioLines = ioLine
While Not ioLine = ""
ioLine = ioFile.ReadLine
If AxShockwaveFlash1.GetVariable(ioLine) Then
MsgBox("It exists!")
End If
If Not AxShockwaveFlash1.GetVariable(ioLine) Then
MsgBox("It doesn't exist, Or you just need to update the text file")
End If
ioLines = ioLines & vbCrLf & ioLine
End While
MsgBox(ioLines)
ioFile.Close()
End Sub
End Class | and when i run it, it gives me an error when I try to scan, anyone know why? and I also need to know how to make is search for a variant of the variable such as, I search for _root.player.h and it finds _root.player.hp .Help would be GREATLY appreciated!
|
|
| Back to top |
|
 |
AndrewMan Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2007 Posts: 1257
|
Posted: Sun Jun 15, 2008 6:16 pm Post subject: |
|
|
What error message?
_________________
|
|
| Back to top |
|
 |
hackman Expert Cheater
Reputation: 0
Joined: 11 Aug 2006 Posts: 163 Location: behind my copy of CE.....
|
Posted: Sun Jun 15, 2008 8:44 pm Post subject: |
|
|
| "WindowsApplication1.vshost.exe has encountered a problem and needs to close. We are sorry for the inconvenience." I really don't know how to fix this, and I REALLY need it to work, thanks in advance!
|
|
| Back to top |
|
 |
|