Example: /MacExtras/Sparkle/UpdaterKit/Utilities/Drop file to see MD5 Checksum

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

/MacExtras/Sparkle/UpdaterKit/Utilities/Drop file to see MD5 Checksum


You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacExtras/Sparkle/UpdaterKit/Utilities/Drop file to see MD5 Checksum

This example is the version from Tue, 9th Feb 2015.

Project "Drop file to see MD5 Checksum.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
EventHandler Sub NewDocument() MsgBox "Please drop a file on this application to show the MD5 checksum." End EventHandler
EventHandler Sub OpenDocument(item As FolderItem) dim b as BinaryStream = BinaryStream.open(item, False) if b<>nil then dim s as string = b.Read(B.Length) dim c as string = MD5StringMBS(s) dim w as new MainWindow w.EditField1.text = c w.Show end if End EventHandler
Note "About"
Written by Christian Schmitz Copyright 2010 by Christian Schmitz Software GmbH
End Class
Class MainWindow Inherits Window
Control EditField1 Inherits TextField
ControlInstance EditField1 Inherits TextField
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim c as new Clipboard c.SetText EditField1.text c.Close End EventHandler
End Control
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
FileTypes1
Filetype Any
End FileTypes1
End Project

The items on this page are in the following plugins: MBS MacExtras Plugin.


💬 Ask a question or report a problem