Page 1 of 1
Changing Strings With a Button?
Posted: Wed Apr 05, 2006 6:33 pm
by getlowdogg
Hello everyone. I do not know how to say this, but some how I want to know how to make it so when you click a button, it changes strings in the file. Like the strings is HEX, if there is any difference. I am using the language BASIC. Someone please help me! Thanks!
~ Jason
Posted: Sat Jun 03, 2006 12:44 pm
by ugly-nerd
Im assuming this is in visual basic.
Code: Select all
Dim BR As New BinaryReader(New FileStream(FILEPATH, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite))
BR.BaseStream.Position = (DECIMAL OFFSET HERE)
BR.Write(Value you want)
Use a DECIMAL to HEXADECIMAL converter.
Posted: Sun Jun 04, 2006 2:43 pm
by VoiDeD
2 month bump? Ah well.
BASIC, not VB.NET..
getlowdogg, I'd suggest you drop BASIC and learn C/C++, but if thats a bit too hard for you, then C#. And I'd say as a last resort learn VB.NET.
Posted: Sun Jun 04, 2006 6:58 pm
by Zenaku213
Yea VoiDeD is absolutley write. C or C++ is the best to start out with, VB is way to hard to begin with.
Posted: Mon Jun 05, 2006 3:50 pm
by 0mfc0
Zenaku213 wrote:VB is way to hard to begin with.
I seriously hope you were being sarcastic

Posted: Tue Jun 06, 2006 5:29 pm
by ugly-nerd
Are you stupid? Visual basic and .net are the same thing for binary reading, that works in vb 2005 and vb 2003 .net... and C# is pretty much the same thing as VB, just a bit faster. C++ isnt much harder either. VB IS the way to start out, for a little bit.
Posted: Tue Jun 06, 2006 5:30 pm
by VoiDeD
ugly-nerd wrote:Are you stupid? Visual basic and .net are the same thing for binary reading, that works in vb 2005 and vb 2003 .net... and C# is pretty much the same thing as VB, just a bit faster. C++ isnt much harder either. VB IS the way to start out, for a little bit.
Sigh.. He said he wanted it in BASIC..
getlowdogg wrote:I am using the language BASIC.
Zenaku213 wrote:Yea VoiDeD is absolutley write. C or C++ is the best to start out with, VB is way to hard to begin with.
It is actually.. If you want to learn a real language.
Posted: Tue Jun 06, 2006 6:47 pm
by JK-47
I highly doubt this user is even active yet....
I think we should just stop contributing to the bump..