|
Trouver une ressource
Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !
ANNONYM MAIL V3.0.0 [BETA]
Information sur la source
Description
Ho ho ho ! Le pére noël est passé les petits gars :-) ... Bon depuis 3 mois je fais que de bosser dessus et voilà enfin j'ai finit .... C'est un prog de mails , on peut tout envoyer , à n'importequi avec n'importe quelle mise en page ... bréf le réve ... Fichier joints ... et annonymat . Les codes-source ne sont pas celles de tout le prog car ça serait trop lourd ... et bon je garde quelques secrets mais les principales fonction y sont ... Pour bientôt je les mettrais sur mon site dans les tutoriaux ... >>http://www.multimania.com/myhackerside/show.htm Et pour aller télécharger tout le prog : >>http://www.multimania.com/myhackerside/progs/ann3.htm Pour télécharger diréct le zip ... >>http://www.multimania.com/myhackerside/progs/annonymV3.zip Sinon les options seront plus détaillées sur le site ... Bonne prog à tous ... PS : Nix enléves pas cette source ...
Source
- ' Fontion de conversion du RTF en HTML ....
- ' Cette source est déjà sur le site mais je l'ait changé pour l'incruster dans mon prog
-
- Public Function convertRTFtoHTML() As String
-
- Dim a
- Dim IsBold As Boolean
- Dim IsUnderline As Boolean
- Dim IsItalic As Boolean
- Dim vlStr As String
- Dim Coul As Long
- Dim Prop As String
- Dim Taille As Integer
- Dim FontN As String
- Dim Algn As Integer
-
- On Error Resume Next
-
- Main.Temp.TextRTF = Main.Text5.TextRTF
- Main.Temp.BackColor = Main.Text5.BackColor
-
- If Not Right(Main.Temp.Text, 1) = "" Then
- Main.Temp.SelStart = Len(Main.Temp.Text)
- Main.Temp.SelText = " "
- End If
-
- Main.ProgressBar1.Min = 0
- Main.ProgressBar1.Max = Len(Main.Text5.Text)
- Main.ProgressBar1.Value = 0
- Main.Label48.Caption = "Conversion RTF ---> HTML en cours ..."
- Main.Label49.Caption = "Progression : 0 %"
- Main.Picture6.Visible = True
-
- IsItalic = False
- IsUnderline = False
- IsBold = False
-
- vlStr = vlStr & vbCrLf & "<HTML><body bgcolor=" & Chr(34) & Reg_Colors(Main.Temp.BackColor) & Chr(34) & ">" & vbCrLf
- Prop = Prop & "<FONT "
-
- Taille = Main.Temp.SelFontSize
- Coul = Main.Temp.SelColor
- FontN = Main.Temp.SelFontName
-
- If Main.Temp.SelFontSize = 8 Then Prop = Prop & "SIZE=1"
- If Main.Temp.SelFontSize = 10 Then Prop = Prop & "SIZE=2"
- If Main.Temp.SelFontSize = 12 Then Prop = Prop & "SIZE=3"
- If Main.Temp.SelFontSize = 14 Then Prop = Prop & "SIZE=4"
- If Main.Temp.SelFontSize = 16 Then Prop = Prop & "SIZE=5"
- If Main.Temp.SelFontSize = 22 Then Prop = Prop & "SIZE=6"
- If Main.Temp.SelFontSize = 36 Then Prop = Prop & "SIZE=7"
- Prop = Prop & " COLOR=" & Chr(34) & Reg_Colors(Coul) & Chr(34)
- Prop = Prop & " FAMILY=" & Chr(34) & "SERIF" & Chr(34) & " FACE=" & Chr(34) & FontN & Chr(34)
- Prop = Prop & " LANG=" & Chr(34) & "1" & Chr(34) & ">"
-
- vlStr = vlStr & Prop
-
- For a = 0 To Len(Main.Temp.Text)
-
- Main.ProgressBar1.Value = a
- Main.Label49.Caption = "Progression :" & Str(Int((a * 100) / Len(Main.Temp.Text))) & " %"
- Prop = ""
- Main.Temp.SelStart = a
- Main.Temp.SelLength = 1
-
- '---- la progra incrustée ----
- If Format(Mid(Main.Temp.Text, a + 1, 10), "<") = "<--prog-->" Then
- For i = a + 10 To Len(Main.Temp.Text)
- If Format(Mid(Main.Temp.Text, i, 13), "<") = "<--endprog-->" Then Exit For
- Next i
- ' on met l'incrustation du texte dans le fichier HTM
- vlStr = vlStr & Mid(Main.Temp.Text, a + 11, i - (a + 11))
- a = i + 13
- GoTo Suite
- End If
- Props:
- '----- C'est la reconnaissance de caractére gras -----
- If Main.Temp.SelBold = True And IsBold = False Then
- Prop = Prop & "<B>"
- IsBold = True
- End If
- If Main.Temp.SelBold = False And IsBold = True Then
- Prop = Prop & "</B>"
- IsBold = False
- End If
-
- '----- C'est la reconnaissance de caractére italique -----
- If Main.Temp.SelItalic = True And IsItalic = False Then
- Prop = Prop & "<I>"
- IsItalic = True
- End If
- If Main.Temp.SelItalic = False And IsItalic = True Then
- Prop = Prop & "</I>"
- IsItalic = False
- End If
-
- '----- C'est la reconnaissance de caractére souligné -----
- If Main.Temp.SelUnderline = True And IsUnderline = False Then
- Prop = Prop & "<U>"
- IsUnderline = True
- End If
- If Main.Temp.SelUnderline = False And IsUnderline = True Then
- Prop = Prop & "</U>"
- IsUnderline = False
- End If
-
- '----- C'est la reconnaissance des tailles -----
- '----- C'est la reconnaissance des fonts -----
- '----- C'est la reconnaissance des couleurs -----
- If Not Main.Temp.SelFontSize = Taille Or Not Main.Temp.SelColor = Coul Or Not Main.Temp.SelFontName = FontN Then
- Prop = Prop & "</FONT><FONT "
- Taille = Main.Temp.SelFontSize
- Coul = Main.Temp.SelColor
- FontN = Main.Temp.SelFontName
- If Main.Temp.SelFontSize = 8 Then Prop = Prop & "SIZE=1"
- If Main.Temp.SelFontSize = 10 Then Prop = Prop & "SIZE=2"
- If Main.Temp.SelFontSize = 12 Then Prop = Prop & "SIZE=3"
- If Main.Temp.SelFontSize = 14 Then Prop = Prop & "SIZE=4"
- If Main.Temp.SelFontSize = 16 Then Prop = Prop & "SIZE=5"
- If Main.Temp.SelFontSize = 22 Then Prop = Prop & "SIZE=6"
- If Main.Temp.SelFontSize = 36 Then Prop = Prop & "SIZE=7"
- Prop = Prop & " COLOR=" & Chr(34) & Reg_Colors(Coul) & Chr(34)
- Colortt = Reg_Colors(Coul)
- Prop = Prop & " FAMILY=" & Chr(34) & "SERIF" & Chr(34) & " FACE=" & Chr(34) & FontN & Chr(34)
- Prop = Prop & " LANG=" & Chr(34) & "1" & Chr(34) & ">"
- End If
-
- '----- C'est la reconnaissance des allignements -----
- If Not Main.Temp.SelAlignment = Algn Then
- Algn = Main.Temp.SelAlignment
- If Algn = 0 Then Prop = Prop & "<P ALIGN=LEFT>"
- If Algn = 1 Then Prop = Prop & "<P ALIGN=RIGHT>"
- If Algn = 2 Then Prop = Prop & "<P ALIGN=CENTER>"
- End If
-
- '----- C'est la reconnaissance des sauts de ligne -----
- If Mid(Main.Temp.Text, a + 1, 2) = vbCrLf Then
- If a > 0 Then Prop = Prop & "<Br>" & vbCrLf
- End If
-
- vlStr = vlStr & Prop & Main.Temp.SelText
-
- Suite:
- DoEvents
-
- Next ' <<< lire une nouvelle lettre
-
- vlStr = vlStr & "</B></I></U></FONT></HTML>"
- convertRTFtoHTML = vlStr
-
- Main.Picture6.Visible = False
- End Function
-
- ' Alors quelques explications :
- ' Main.text5 -> c'est le texte RTF visible
- ' Je travaille sur un Main.Temp pour que l'utilisateur ne vois pas la lecture
- ' Picture6 c'est la boîte noire que vous verez apparaître pour vous dire les progressions en cours ...
-
- '----- Ici quelques fonctions qui me serven,t à changer les couleurs
-
- Function Reg_Colors(Col As Long) As String
- Dim ValO, ValI As String
- ' juste convertisseur de couleurs normales en
- ' coulleurs d'internet
- ValO = "000000" & Hex(Col)
- ValI = Right(ValO, 2) & Mid(ValO, Len(ValO) - 3, 2) & Mid(ValO, Len(ValO) - 5, 2)
- Reg_Colors = "#" & ValI
- End Function
-
- Function HexToInt(H As String) As Long
- Dim H1, H2 As String
- H1 = Left(H, 1)
- H2 = Right(H, 1)
- Dim I1, I2 As Integer
- I1 = Val(H1)
- I2 = Val(H2)
- If H1 = "A" Then I1 = 10
- If H1 = "B" Then I1 = 11
- If H1 = "C" Then I1 = 12
- If H1 = "D" Then I1 = 13
- If H1 = "E" Then I1 = 14
- If H1 = "F" Then I1 = 15
- If H2 = "A" Then I2 = 10
- If H2 = "B" Then I2 = 11
- If H2 = "C" Then I2 = 12
- If H2 = "D" Then I2 = 13
- If H2 = "E" Then I2 = 14
- If H2 = "F" Then I2 = 15
- HexToInt = (I1 * 16) + I2
- End Function
-
- ' Voilà c'est juste une conversion Integer ---> Hexa
- ' Qui peuvent surement être amméliorées ...
-
- ' <<------ Je me demandais comment faire pour le fichiers joints ...
- ' alors j'ai trouvé une source qui met en place ça .... donc c'est niquel ...
-
-
- Public Function UUEncodeFile(strFilePath As String) As String
-
- Dim intFile As Integer 'file handler
- Dim intTempFile As Integer 'temp file
- Dim lFileSize As Long 'size of the file
- Dim strFileName As String 'name of the file
- Dim strFileData As String 'file data chunk
- Dim lEncodedLines As Long 'number of encoded lines
- Dim strTempLine As String 'temporary string
- Dim i As Long 'loop counter
- Dim j As Integer 'loop counter
-
- Dim strResult As String
-
- strFileName = Mid$(strFilePath, InStrRev(strFilePath, "\") + 1)
-
- strResult = "begin 664 " + strFileName + vbLf
-
- lFileSize = FileLen(strFilePath)
- lEncodedLines = lFileSize \ 45 + 1
-
- Main.ProgressBar1.Min = 0
- Main.ProgressBar1.Max = lEncodedLines
- Main.ProgressBar1.Value = 0
- Main.Label48.Caption = "Transfert de " & strFilePath & " ..."
- Main.Label49.Caption = "Progression : 0 %"
- Main.Picture6.Visible = True
-
- strFileData = Space(45)
-
- intFile = FreeFile
-
- Open strFilePath For Binary As intFile
-
- For i = 1 To lEncodedLines
- Main.ProgressBar1.Value = i
- Main.Label49.Caption = "Progression :" & Str(Int((i * 100) / lEncodedLines)) & " %"
- DoEvents
- If i = lEncodedLines Then
-
- strFileData = Space(lFileSize Mod 45)
- End If
-
- Get intFile, , strFileData
-
- strTempLine = Chr(Len(strFileData) + 32)
-
- If i = lEncodedLines And (Len(strFileData) Mod 3) Then
-
-
- strFileData = strFileData + Space(3 - (Len(strFileData) Mod 3))
- End If
-
- For j = 1 To Len(strFileData) Step 3
- DoEvents
- strTempLine = strTempLine + Chr(Asc(Mid(strFileData, j, 1)) \ 4 + 32)
-
- strTempLine = strTempLine + Chr((Asc(Mid(strFileData, j, 1)) Mod 4) * 16 _
- + Asc(Mid(strFileData, j + 1, 1)) \ 16 + 32)
-
- strTempLine = strTempLine + Chr((Asc(Mid(strFileData, j + 1, 1)) Mod 16) * 4 _
- + Asc(Mid(strFileData, j + 2, 1)) \ 64 + 32)
-
- strTempLine = strTempLine + Chr(Asc(Mid(strFileData, j + 2, 1)) Mod 64 + 32)
- Next j
-
- strTempLine = Replace(strTempLine, " ", "`")
-
- strResult = strResult + strTempLine + vbLf
-
- strTempLine = ""
- Next i
-
- Close intFile
-
-
- strResult = strResult & "`" & vbLf + "end" + vbLf
-
- UUEncodeFile = strResult
- Main.Picture6.Visible = False
- End Function
-
- ' Donc la c'est simple appellez cette fonction avec le fichier à insérer ...
-
- ' <<<-------- ca serait super flateur si y'en as qui se demandent comment j'ai fait l'intro avec du rtf ... style sub 7
- ' mais je suis sur que la plus part s'en tappe ... mais je la donne comme - même car c'est trop simple :-)
-
- ' Alors vous avez besoin de deu richtext box et d'un timer ...
-
- ' Mettez ça dans le timer ....
- Text18.SelStart = Len(Text18.Text) + 1
-
- TmpRich.SelStart = Text18.SelStart
- TmpRich.SelLength = 1
-
- Text18.SelFontName = TmpRich.SelFontName
- Text18.SelFontSize = TmpRich.SelFontSize
- Text18.SelItalic = TmpRich.SelItalic
- Text18.SelAlignment = TmpRich.SelAlignment
- Text18.SelBold = TmpRich.SelBold
- Text18.SelColor = TmpRich.SelColor
-
- Text18.SelText = Mid(TmpRich.Text, Text18.SelStart + 1, 1)
-
- If Len(Text18.Text) = Len(TmpRich.Text) Then Timer1.Enabled = False
-
- ' TmpRich c'est un richbox qui contient le texte que vous voulez afficher ... vous le mettez en visible = False
- ' Text18 c'est aussi un richtext sauf que lui il est vide au début ... et c'est dedans que les infos vont s'afficher ...
-
-
' Fontion de conversion du RTF en HTML ....
' Cette source est déjà sur le site mais je l'ait changé pour l'incruster dans mon prog
Public Function convertRTFtoHTML() As String
Dim a
Dim IsBold As Boolean
Dim IsUnderline As Boolean
Dim IsItalic As Boolean
Dim vlStr As String
Dim Coul As Long
Dim Prop As String
Dim Taille As Integer
Dim FontN As String
Dim Algn As Integer
On Error Resume Next
Main.Temp.TextRTF = Main.Text5.TextRTF
Main.Temp.BackColor = Main.Text5.BackColor
If Not Right(Main.Temp.Text, 1) = "" Then
Main.Temp.SelStart = Len(Main.Temp.Text)
Main.Temp.SelText = " "
End If
Main.ProgressBar1.Min = 0
Main.ProgressBar1.Max = Len(Main.Text5.Text)
Main.ProgressBar1.Value = 0
Main.Label48.Caption = "Conversion RTF ---> HTML en cours ..."
Main.Label49.Caption = "Progression : 0 %"
Main.Picture6.Visible = True
IsItalic = False
IsUnderline = False
IsBold = False
vlStr = vlStr & vbCrLf & "<HTML><body bgcolor=" & Chr(34) & Reg_Colors(Main.Temp.BackColor) & Chr(34) & ">" & vbCrLf
Prop = Prop & "<FONT "
Taille = Main.Temp.SelFontSize
Coul = Main.Temp.SelColor
FontN = Main.Temp.SelFontName
If Main.Temp.SelFontSize = 8 Then Prop = Prop & "SIZE=1"
If Main.Temp.SelFontSize = 10 Then Prop = Prop & "SIZE=2"
If Main.Temp.SelFontSize = 12 Then Prop = Prop & "SIZE=3"
If Main.Temp.SelFontSize = 14 Then Prop = Prop & "SIZE=4"
If Main.Temp.SelFontSize = 16 Then Prop = Prop & "SIZE=5"
If Main.Temp.SelFontSize = 22 Then Prop = Prop & "SIZE=6"
If Main.Temp.SelFontSize = 36 Then Prop = Prop & "SIZE=7"
Prop = Prop & " COLOR=" & Chr(34) & Reg_Colors(Coul) & Chr(34)
Prop = Prop & " FAMILY=" & Chr(34) & "SERIF" & Chr(34) & " FACE=" & Chr(34) & FontN & Chr(34)
Prop = Prop & " LANG=" & Chr(34) & "1" & Chr(34) & ">"
vlStr = vlStr & Prop
For a = 0 To Len(Main.Temp.Text)
Main.ProgressBar1.Value = a
Main.Label49.Caption = "Progression :" & Str(Int((a * 100) / Len(Main.Temp.Text))) & " %"
Prop = ""
Main.Temp.SelStart = a
Main.Temp.SelLength = 1
'---- la progra incrustée ----
If Format(Mid(Main.Temp.Text, a + 1, 10), "<") = "<--prog-->" Then
For i = a + 10 To Len(Main.Temp.Text)
If Format(Mid(Main.Temp.Text, i, 13), "<") = "<--endprog-->" Then Exit For
Next i
' on met l'incrustation du texte dans le fichier HTM
vlStr = vlStr & Mid(Main.Temp.Text, a + 11, i - (a + 11))
a = i + 13
GoTo Suite
End If
Props:
'----- C'est la reconnaissance de caractére gras -----
If Main.Temp.SelBold = True And IsBold = False Then
Prop = Prop & "<B>"
IsBold = True
End If
If Main.Temp.SelBold = False And IsBold = True Then
Prop = Prop & "</B>"
IsBold = False
End If
'----- C'est la reconnaissance de caractére italique -----
If Main.Temp.SelItalic = True And IsItalic = False Then
Prop = Prop & "<I>"
IsItalic = True
End If
If Main.Temp.SelItalic = False And IsItalic = True Then
Prop = Prop & "</I>"
IsItalic = False
End If
'----- C'est la reconnaissance de caractére souligné -----
If Main.Temp.SelUnderline = True And IsUnderline = False Then
Prop = Prop & "<U>"
IsUnderline = True
End If
If Main.Temp.SelUnderline = False And IsUnderline = True Then
Prop = Prop & "</U>"
IsUnderline = False
End If
'----- C'est la reconnaissance des tailles -----
'----- C'est la reconnaissance des fonts -----
'----- C'est la reconnaissance des couleurs -----
If Not Main.Temp.SelFontSize = Taille Or Not Main.Temp.SelColor = Coul Or Not Main.Temp.SelFontName = FontN Then
Prop = Prop & "</FONT><FONT "
Taille = Main.Temp.SelFontSize
Coul = Main.Temp.SelColor
FontN = Main.Temp.SelFontName
If Main.Temp.SelFontSize = 8 Then Prop = Prop & "SIZE=1"
If Main.Temp.SelFontSize = 10 Then Prop = Prop & "SIZE=2"
If Main.Temp.SelFontSize = 12 Then Prop = Prop & "SIZE=3"
If Main.Temp.SelFontSize = 14 Then Prop = Prop & "SIZE=4"
If Main.Temp.SelFontSize = 16 Then Prop = Prop & "SIZE=5"
If Main.Temp.SelFontSize = 22 Then Prop = Prop & "SIZE=6"
If Main.Temp.SelFontSize = 36 Then Prop = Prop & "SIZE=7"
Prop = Prop & " COLOR=" & Chr(34) & Reg_Colors(Coul) & Chr(34)
Colortt = Reg_Colors(Coul)
Prop = Prop & " FAMILY=" & Chr(34) & "SERIF" & Chr(34) & " FACE=" & Chr(34) & FontN & Chr(34)
Prop = Prop & " LANG=" & Chr(34) & "1" & Chr(34) & ">"
End If
'----- C'est la reconnaissance des allignements -----
If Not Main.Temp.SelAlignment = Algn Then
Algn = Main.Temp.SelAlignment
If Algn = 0 Then Prop = Prop & "<P ALIGN=LEFT>"
If Algn = 1 Then Prop = Prop & "<P ALIGN=RIGHT>"
If Algn = 2 Then Prop = Prop & "<P ALIGN=CENTER>"
End If
'----- C'est la reconnaissance des sauts de ligne -----
If Mid(Main.Temp.Text, a + 1, 2) = vbCrLf Then
If a > 0 Then Prop = Prop & "<Br>" & vbCrLf
End If
vlStr = vlStr & Prop & Main.Temp.SelText
Suite:
DoEvents
Next ' <<< lire une nouvelle lettre
vlStr = vlStr & "</B></I></U></FONT></HTML>"
convertRTFtoHTML = vlStr
Main.Picture6.Visible = False
End Function
' Alors quelques explications :
' Main.text5 -> c'est le texte RTF visible
' Je travaille sur un Main.Temp pour que l'utilisateur ne vois pas la lecture
' Picture6 c'est la boîte noire que vous verez apparaître pour vous dire les progressions en cours ...
'----- Ici quelques fonctions qui me serven,t à changer les couleurs
Function Reg_Colors(Col As Long) As String
Dim ValO, ValI As String
' juste convertisseur de couleurs normales en
' coulleurs d'internet
ValO = "000000" & Hex(Col)
ValI = Right(ValO, 2) & Mid(ValO, Len(ValO) - 3, 2) & Mid(ValO, Len(ValO) - 5, 2)
Reg_Colors = "#" & ValI
End Function
Function HexToInt(H As String) As Long
Dim H1, H2 As String
H1 = Left(H, 1)
H2 = Right(H, 1)
Dim I1, I2 As Integer
I1 = Val(H1)
I2 = Val(H2)
If H1 = "A" Then I1 = 10
If H1 = "B" Then I1 = 11
If H1 = "C" Then I1 = 12
If H1 = "D" Then I1 = 13
If H1 = "E" Then I1 = 14
If H1 = "F" Then I1 = 15
If H2 = "A" Then I2 = 10
If H2 = "B" Then I2 = 11
If H2 = "C" Then I2 = 12
If H2 = "D" Then I2 = 13
If H2 = "E" Then I2 = 14
If H2 = "F" Then I2 = 15
HexToInt = (I1 * 16) + I2
End Function
' Voilà c'est juste une conversion Integer ---> Hexa
' Qui peuvent surement être amméliorées ...
' <<------ Je me demandais comment faire pour le fichiers joints ...
' alors j'ai trouvé une source qui met en place ça .... donc c'est niquel ...
Public Function UUEncodeFile(strFilePath As String) As String
Dim intFile As Integer 'file handler
Dim intTempFile As Integer 'temp file
Dim lFileSize As Long 'size of the file
Dim strFileName As String 'name of the file
Dim strFileData As String 'file data chunk
Dim lEncodedLines As Long 'number of encoded lines
Dim strTempLine As String 'temporary string
Dim i As Long 'loop counter
Dim j As Integer 'loop counter
Dim strResult As String
strFileName = Mid$(strFilePath, InStrRev(strFilePath, "\") + 1)
strResult = "begin 664 " + strFileName + vbLf
lFileSize = FileLen(strFilePath)
lEncodedLines = lFileSize \ 45 + 1
Main.ProgressBar1.Min = 0
Main.ProgressBar1.Max = lEncodedLines
Main.ProgressBar1.Value = 0
Main.Label48.Caption = "Transfert de " & strFilePath & " ..."
Main.Label49.Caption = "Progression : 0 %"
Main.Picture6.Visible = True
strFileData = Space(45)
intFile = FreeFile
Open strFilePath For Binary As intFile
For i = 1 To lEncodedLines
Main.ProgressBar1.Value = i
Main.Label49.Caption = "Progression :" & Str(Int((i * 100) / lEncodedLines)) & " %"
DoEvents
If i = lEncodedLines Then
strFileData = Space(lFileSize Mod 45)
End If
Get intFile, , strFileData
strTempLine = Chr(Len(strFileData) + 32)
If i = lEncodedLines And (Len(strFileData) Mod 3) Then
strFileData = strFileData + Space(3 - (Len(strFileData) Mod 3))
End If
For j = 1 To Len(strFileData) Step 3
DoEvents
strTempLine = strTempLine + Chr(Asc(Mid(strFileData, j, 1)) \ 4 + 32)
strTempLine = strTempLine + Chr((Asc(Mid(strFileData, j, 1)) Mod 4) * 16 _
+ Asc(Mid(strFileData, j + 1, 1)) \ 16 + 32)
strTempLine = strTempLine + Chr((Asc(Mid(strFileData, j + 1, 1)) Mod 16) * 4 _
+ Asc(Mid(strFileData, j + 2, 1)) \ 64 + 32)
strTempLine = strTempLine + Chr(Asc(Mid(strFileData, j + 2, 1)) Mod 64 + 32)
Next j
strTempLine = Replace(strTempLine, " ", "`")
strResult = strResult + strTempLine + vbLf
strTempLine = ""
Next i
Close intFile
strResult = strResult & "`" & vbLf + "end" + vbLf
UUEncodeFile = strResult
Main.Picture6.Visible = False
End Function
' Donc la c'est simple appellez cette fonction avec le fichier à insérer ...
' <<<-------- ca serait super flateur si y'en as qui se demandent comment j'ai fait l'intro avec du rtf ... style sub 7
' mais je suis sur que la plus part s'en tappe ... mais je la donne comme - même car c'est trop simple :-)
' Alors vous avez besoin de deu richtext box et d'un timer ...
' Mettez ça dans le timer ....
Text18.SelStart = Len(Text18.Text) + 1
TmpRich.SelStart = Text18.SelStart
TmpRich.SelLength = 1
Text18.SelFontName = TmpRich.SelFontName
Text18.SelFontSize = TmpRich.SelFontSize
Text18.SelItalic = TmpRich.SelItalic
Text18.SelAlignment = TmpRich.SelAlignment
Text18.SelBold = TmpRich.SelBold
Text18.SelColor = TmpRich.SelColor
Text18.SelText = Mid(TmpRich.Text, Text18.SelStart + 1, 1)
If Len(Text18.Text) = Len(TmpRich.Text) Then Timer1.Enabled = False
' TmpRich c'est un richbox qui contient le texte que vous voulez afficher ... vous le mettez en visible = False
' Text18 c'est aussi un richtext sauf que lui il est vide au début ... et c'est dedans que les infos vont s'afficher ...
Conclusion
Donc je sait que c'est long mais si vous cherchez des bouts de codes c'est mieux de venir sur le site et prendre juste le bout qu'il vous faut ... Je veux pas filer les sources mais vous n'avez qu'à me dire ce qui vous intéresse si jamais j'aurais oublié une fonction interressante ... Je vous donne quelques liens sur mon site : Page Principale : www.multimania.com/myhackerside/show.htm Page des Progs de Hack: www.multimania.com/myhackerside/progs/crack.htm Bon surf et bonne prog ... PS : Si vous avez des bugs n'hesitez pas à me le dire ... j'ai envie de bien régler cette version ... donc c'est un peu comme si vous seriez les premiers testeurs ... et c'est pour ça que c'est la version beta ...
Sources du même auteur
Sources de la même categorie
Sources en rapport avec celle ci
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
Mail anonyme [ par Apophis ]
slt,Comment faire pour envoyer un mail de manière autonome de préférence (sans outlook) ou l'on peut mettre le nom que l'on veut? (le code présent sur
ENVOYER UN MAIL ANONYME [ par omnikod ]
envoyer des mails anonymes ? www.omnikod.fr.fm
Mail SMTP par WINSOCK [ par mcroteau ]
J'ai présentement un problème. J'utilise Winsock pour envoyer des mails. Si j'envoie le mail par un serveur Exchange, la date d'envoie n'est pas la bo
envoyer mail smtp avec fichier attaché [ par vlej3008 ]
Tout est dans le titre..Ce que je souhaiterai, c'est envoyer un mail en smtp (ça je sais séjà le faire), mais avec un fichier attaché (format texte, p
authentification SMTP [ par PatDeLaYaute ]
Bonjour,je suis en train de faire un formulaire d'envoi de mail à partir de mon projet.Le problème pour envoyer le mail j'utilise le serveur de l'hebe
Envoyer Email avec SMTP en VBA [ par algo69 ]
Salut tt le mondePourriez vous me dire comment envoyer un email en utilisantSMTP avec vba.Merci
Envoyer un email via VBA [ par Appolon ]
Bonjour,Voici mon code:Dim myOlApp As New Outlook.ApplicationDim myItem As Outlook.MailItemSet myItem = myOlApp.CreateItem(olMailItem)'tu crée l'objet
Envoyer un email via VBA [HELP] [ par Appolon ]
Bonsoir,Voici mon code:Dim myOlApp As New Outlook.ApplicationDim myItem As Outlook.MailItemSet myItem = myOlApp.CreateItem(olMailItem)'tu crée l'objet
Envoyer un email en choisissant l'expéditeur [ par GigaCool ]
Bonjour à tous , J'ai un ptit souci . J'ai developpé une application d'envoi de message aux agent d'une banque , messages relatif à leur conso télépho
emailing vb2005 [ par medclubiste ]
salut tout le mondeSOS SOS , j'ai vraiment besoin de votre aide c'est une question de vie ou de mort pour moi, en fait je developpe une application po
|
Téléchargements
Logiciels à télécharger sur le même thème :
Comparez les prix Nouvelle version
|