[highlight=vbnet]
If IO.Path.GetExtension(TextBox1.Text).ToLower = ".encrypted" Then
MsgBox("File is encrypted!")
End If
[/highlight]
ok, what i am trying to do is this
You drag a file into textarea, it checks to see if the file's file type is ".encrypted"
and if it is it will msgbox File is encrypted
if not it will display the files text in textarea.
but i can not get filetype How would i?
~Mohandas GandhiA man is but the product of his thoughts what he thinks, he becomes.
~ ImmortalA Genius is nothing with out an idea, An idea is always an idea even without a genius.
[highlight=vbnet]
If IO.Path.GetExtension(TextBox1.Text).ToLower = ".encrypted" Then
MsgBox("File is encrypted!")
End If
[/highlight]
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
cosconub (02-02-2011)
thanks, worked nicly
Last edited by cosconub; 02-02-2011 at 09:40 PM.
~Mohandas GandhiA man is but the product of his thoughts what he thinks, he becomes.
~ ImmortalA Genius is nothing with out an idea, An idea is always an idea even without a genius.