Search results for query: *

  1. Z

    AES Encryption of a string

    ...outputFilePath = Path.Combine(outputFolderPath, txtOutputFileName.Text & ".ts") Dim inputFilePath = Directory.GetFiles(inputFolderPath, "*.ts") Dim IV(15) As Byte Dim key As Byte() = File.ReadAllBytes(txtKeyPath.Text) Dim Algo As AesManaged = New AesManaged...
  2. Z

    AES Encryption of a string

    Hello could you tell me how I can use this function? I have input decrypted .TS Files and also key file. And I want to have single output of ts file
  3. Z

    Resolved AES Decyption

    ...While inputFs.Position < countFiles newWorker.ReportProgress(counter / countFiles * 100) cryptoSR.CopyTo(outputFs) mReset.WaitOne()...
  4. Z

    Resolved AES Decyption

    I know a little about AES but without using function. I just can't really understand how function works. although it's obviously I can see the path and input. But I'm still learning how to implement it in my main code.
  5. Z

    Resolved AES Decyption

    Could someone help me. I found this code from somewhere but I don't know how I can use this in my input files I want to have the output file I really don't know much how to use function. Class Decrypter Public Shared Function AES128Decrypt(ByVal filePath As String, ByVal keyByte As...
  6. Z

    Resolved Merging multiple files into one using filestream

    Alright now I know :) thank you so much
  7. Z

    Resolved Merging multiple files into one using filestream

    Ah alright so it's really normal. I thought there's wrong with using filestream. Could you tell me about using block? as you mention in previous message
  8. Z

    Resolved Merging multiple files into one using filestream

    ...cryptoStream.CopyTo(outputFilestream) 'main file process newWorker.ReportProgress(CInt(counter / countFiles * 100)) 'progressbar counter += 1 If pauseProcess Then ss.Text = "Aborting process..."...
  9. Z

    Answered Progressbar only 51%

    Yeah that's whay I did :) I thought I'm wrong or just maybe there's some way
  10. Z

    Answered Progressbar only 51%

    ahm. could you give me sample to make changes for my progressbar? I'm processing files inside the listview So it's just normal? sometimes the process is faster Is there any method to make the process less cpu and ram usage?
  11. Z

    Screen Freezing

    This is old thread but this helps me understand the proper usage of background worker
  12. Z

    Answered Progressbar only 51%

    I've already fixed this Admin. What I did is just count the items inside the listview and it worked. But do you suggest some way to make the process faster? it looks like the progressbar is causing the process become slow
  13. Z

    Answered Progressbar only 51%

    ...Dim count = sourceitem2.FileName.Length 'PROGRESSBAR Dim value As Double = (counter / sourceitem2.FileName.Length) * 100 BackgroundWorker1.ReportProgress(CInt(value)) cryptoStream.CopyTo(outputFilestream)...
  14. Z

    Resolved Merging multiple files into one using filestream

    wow this is much easier. I got so much idea Thank you so much
  15. Z

    Resolved Merging multiple files into one using filestream

    ...Dim outputFolder As String = txtOutputFolder.Text + "\" + txtOuputFilename.Text + ".ts" Dim enumFiles = Directory.EnumerateFiles(inputFolder, "*.ts").ToArray Dim output As FileStream = New FileStream(outputFolder, FileMode.Create, FileAccess.ReadWrite) For Each files In enumFiles Dim...
  16. Z

    Resolved Merging multiple files into one using filestream

    ...outputFolder As String = txtOutputFolder.Text + "\" + txtOuputFilename.Text + ".ts" Dim enumFiles = Directory.EnumerateFiles(inputFolder, "*.ts").ToArray For Each files In enumFiles Dim input As FileStream = New FileStream(files, FileMode.Open...
  17. Z

    Answered RegEx from html source

    Can anyone help me what is the right RegEx for this? I want to get the highlighted user-agent inside the textarea tag <textarea name="custom-ua-string" id="custom-ua-string" autofocus class="input">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)...
  18. Z

    Answered RegEx Improve

    I tried also this (\d+) - (\w+) - (\w+ \d{1,3}, \d{4}) But sometimes, there's additional space between the title Example this 028 - DolceAmore - Mar 23, 2016 (no space title) 029 - Dolce Amore - Mar 24, 2016 (with space title)
  19. Z

    Answered RegEx Improve

    Thanks again for the answer I tried it but it's not capture all the episode - title - date Here's the example https://regex101.com/r/1ueSsN/1 The total needed to capture is 140 but only 99 result with your given regex
  20. Z

    Answered RegEx Improve

    Can anyone tell me the other regex for this strings. 005 - TitleOfTheSeries - Feb 19, 2016 I tried my regex and it worked but maybe there's much simple than this (\d+\s-\s\w.\w.\w.\w\w+\s-\s?\s\w+\s\d+,\s\d+)
Back
Top