Page 2 of 3

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 12:06 am
by Cheatmasterbw
I don't actually have the source. Follow these steps:

Create a new project
Go to Project => add reference.
Go to the browse tab, and look for the dll file, and add it as a reference.
Go back to the designer window.
Go to View => Code
Above everything, Put "Import Agust1337.Controls.HexEditor"

Try using this code:
Code: Select all
		Dim _aData As Byte() = New Byte(4095)
		Sub New()
			InitializeComponent()
			txtHex.InitializeComponent()
			txtAsc.InitializeComponent()
			txtHex.LinkDisplay(txtAsc)
			txtHex.LoadData(_aData)
		End Sub

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 1:44 am
by code it
-_-
More Trouble.
if I use agust code it will have 2 errors
and if use the one u gave me it gives me error and i did put `Import Agust1337.Controls.HexEditor`
hexeditorerror.png

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 1:49 am
by Cheatmasterbw
Imports MUST be above "public class ..."
Also try taking away the Namespace thing
Replace {} with nothing if it still doesn't work.

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 2:06 am
by code it
Taking out Namespace would have more errors
Fixed the import.
If i take away {} more errors.
Screenshot:
eukvbrhgevhh.png

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 2:10 am
by Cheatmasterbw
Never mind about the namespace thing, you can put it back. :lol:

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 2:12 am
by Cheatmasterbw
Also, In front of txtHex, try putting "agust1337.controls.hexeditor." if my previous post did not help.

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 3:46 am
by Usman55
Can I just ask what is a hex editor and what is it used for?

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 11:18 am
by Cheatmasterbw
Usman55 wrote:
Can I just ask what is a hex editor and what is it used for?
Take a look at this:
http://en.wikipedia.org/wiki/Hex_editor

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 12:31 pm
by mandai
How does having this in a richtextbox make it any better?

Re: Hex Editor DLL

Posted: Thu Dec 16, 2010 12:51 pm
by Agust1337
mandai wrote:
How does having this in a richtextbox make it any better?
I beg your pardon?