|
-
Jun 15th, 2010, 07:28 PM
#11
Thread Starter
PowerPoster
Re: How to Write an encripted Text File???
Well just looked over it right now, even!!
But there is one more thing, I must ask...
With trying to read a certain Byte from a String, how do you go and do that???
Code:
Public Sub Text1_Change()
On Error Resume Next
If Form3.Text1.Text = Dir(App.Path & "\program\usernames\" & Form3.Text1.Text & ".pas") <> "" Then
Call OpenFile1
Else
Exit Sub
End If
End Sub
Public Sub OpenFile1()
On Error Resume Next
Dim Item1 As String
Form3.Label1.Caption = "This Server Console is now accessing your Login Details!!"
Form3.Text1.Enabled = False
Form3.Text2.Enabled = True
Open App.Path & "\program\usernames\" & Form3.Text1.Text & ".pas" For Input As #1
Input #1, Item1
Item1 = Form3.Text3.Text
Close #1
Form3.Label1.Caption = "This Server Console has now found your Login Details!!"
End Sub
Public Sub Text2_Click()
On Error Resume Next
If Form3.Text2.Text = "" Then
Form3.Text3.Text = ""
Form3.Command1.Enabled = True
Form3.Command3.Enabled = True
Form3.Text1.Enabled = False
Form3.Text2.Enabled = False
End If
End Sub
Public Sub FixUpEncription1()
Form3.Label1.Caption = "Please wait until this process has been completed!!"
If Form3.Text3.Text = "1" Then Form3.Text4.Text = "!"
If Form3.Text3.Text = "2" Then Form3.Text4.Text = "@"
If Form3.Text3.Text = "3" Then Form3.Text4.Text = "#"
If Form3.Text3.Text = "4" Then Form3.Text4.Text = "$"
If Form3.Text3.Text = "5" Then Form3.Text4.Text = "%"
If Form3.Text3.Text = "6" Then Form3.Text4.Text = "^"
If Form3.Text3.Text = "7" Then Form3.Text4.Text = "&"
If Form3.Text3.Text = "8" Then Form3.Text4.Text = "*"
If Form3.Text3.Text = "9" Then Form3.Text4.Text = "("
If Form3.Text3.Text = "0" Then Form3.Text4.Text = ")"
If Form3.Text3.Text = "a" Then Form3.Text4.Text = "1"
If Form3.Text3.Text = "b" Then Form3.Text4.Text = "2"
If Form3.Text3.Text = "c" Then Form3.Text4.Text = "3"
If Form3.Text3.Text = "d" Then Form3.Text4.Text = "4"
If Form3.Text3.Text = "e" Then Form3.Text4.Text = "5"
If Form3.Text3.Text = "f" Then Form3.Text4.Text = "6"
If Form3.Text3.Text = "g" Then Form3.Text4.Text = "7"
If Form3.Text3.Text = "h" Then Form3.Text4.Text = "8"
If Form3.Text3.Text = "A" Then Form3.Text4.Text = "Z"
If Form3.Text3.Text = "B" Then Form3.Text4.Text = "X"
If Form3.Text3.Text = Form3.Text4.Text Then
Form3.Label1.Caption = "Process is complete!!"
End If
End Sub
This is what process, I am going to add in the code. But don't have any Byte selecting inside an Array, as yet. Just getting the core stuff down, into it as of now...
Then after this, I guess that I am required to add in Array sorting code, that will be able to select the differnet elements that I have defined in the above code???
Last edited by ThEiMp; Jun 15th, 2010 at 10:39 PM.
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|