Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[VB.NET] How to add EOF support [TUT]

Thank you for this [TUT]

But I have a question Can I add this code on my source crypte
I've added class in my Project And I've written this code
But I do not know where to type this code[ TheEOF = ReadEOFData(OFD.Filename) ]

[img]http://www.m1111.net//uploads/images/m1111.net-88280d30de.jpg[/img]

Maneater reply
heres an example where to put it which is in the textbox, which is the location of your file you want to be crypted

TexBox1_click was used as button, so when textbox one is clicked it opens Openfiledialog

Code
Private Sub TextBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Click
  'Creates and opens a open file dialog.
  With ofd1
    ofd1.DefaultExt = "exe"
    ofd1.Filter = "Executable Files (*.Exe)|*.Exe"
    ofd1.FilterIndex = 1
    ofd1.FileName = ""
    If ofd1.ShowDialog(Me) = 1 Then
    TextBox1.Text = ofd1.FileName
    F = .SafeFileName
    TheEOF = ReadEOFData(ofd1.FileName)
    End If
  End With
    End Sub
really nice tutorial ill give it a thumbs up*
lol some people do not even know how to fix that small problem n nice 1 m8.
this should end the nvr ending question of some people looking for eof
Very nice. Now its nothing big and its not an error its a warning, And i know i could use it anyways but i want to get rid of them aha, the warnings are
Function 'ReadEOFdata' doesn't return value on all code paths
&&
Variable 'Buf' is used before it has been assigned a value
Any help is much appreciated !
Thank you for the great tut.
nice tutorial, very helpful! ^^
(Apr 18, 2011 09:26 AM)tonig123 Wrote:  nice tutorial, very helpful! ^^

Please don't post in older threads.
We only want new threads at the top, boy.

- Thank you 😟
Hey,

one question if i want to use this in a Codedom Crypter should i paste the last Snippet before ICompiler compiles it? Or where else?

But by the way nice Tutorial :).
Dim ReadFile As String = IO.File.ReadAllText(FilePath)

i get a empty path when debugging trying to open the dialog to add a file. Any help oh and im using Codem source to try it out on.
(May 11, 2010 05:26 PM)xSilent Wrote:  52 views and only 2 comments, really.

Not everybody has something to say, most people don't even read the thread, they just click on it to make it appear as read.

EDIT: Andddd I'm dumb, responding to posts from 2010. Thanks to whoever gravedug this.
no problem ahhaha anytime i was looking for a eof
This thread is absolutely terrible..

/Closed


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by SkunT3lloJun 29, 2021 01:59 PM 2 193 Jun 29, 2021 01:59 PM
Last Post: SkunT3llo
[Python] by TreasuretrioAug 2, 2020 08:01 PM 2 152 Aug 2, 2020 08:01 PM
Last Post: Treasuretrio
[C] by RealyWhiteJan 5, 2019 11:12 AM 9 338 Jan 5, 2019 11:12 AM
Last Post: Mayuko