C
Casper
Hi there.
I've been searching the internet for weeks now trying to find out the
fix to
my problem (below) but I don't seem to be getting anywhere!
I'm using Visual Basic 2005 2005 Express Edition (Beta) and am having
some
problems upgrading code from VB6 to VB.Net.
I'm pretty much a newb when it comes to VB, but I've completed a lot of
my
update program, I'm just having trouble with this final part.
The following module changes some of the binary values in the program,
but
VB is coming up with errors:
=START CODE =
Module Patch
Public Sub Patch()
Open "C:\Program Files\My Program\myprog.exe" For Binary As #1
Put #1, &HDFFE2, "¶"
Close #1
End Sub
Public Sub UnPatch()
Open "C:\Program Files\My Program\myprog.exe" For Binary As #1
Put #1, &HDFFE2, "·"
Close #1
End Sub
End Module
=END CODE=
Also, could someone tell me how to call the functions 'Patch' and
'UnPatch'
from the form.
Thanks in advance for your assistance.
Casper.
I've been searching the internet for weeks now trying to find out the
fix to
my problem (below) but I don't seem to be getting anywhere!
I'm using Visual Basic 2005 2005 Express Edition (Beta) and am having
some
problems upgrading code from VB6 to VB.Net.
I'm pretty much a newb when it comes to VB, but I've completed a lot of
my
update program, I'm just having trouble with this final part.
The following module changes some of the binary values in the program,
but
VB is coming up with errors:
=START CODE =
Module Patch
Public Sub Patch()
Open "C:\Program Files\My Program\myprog.exe" For Binary As #1
Put #1, &HDFFE2, "¶"
Close #1
End Sub
Public Sub UnPatch()
Open "C:\Program Files\My Program\myprog.exe" For Binary As #1
Put #1, &HDFFE2, "·"
Close #1
End Sub
End Module
=END CODE=
Also, could someone tell me how to call the functions 'Patch' and
'UnPatch'
from the form.
Thanks in advance for your assistance.
Casper.