Search results for query: *

  1. Z

    AES Encryption of a string

    Alright. thank you I'm gonna try it tomorrow. Admin could you please evaluate my codes if I'm doing wrong or nothing. Here's the progress of my fixing some problem with the memory usage and processing takes long. I also put some of your suggested codes and format. Private Sub...
  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

    The reason why I want to know how it's works. because I want to clean and separate my ugly codes like this. outputPath = Path.Combine(txtOutputPath.Text, txtOutputFilename.Text & ".ts") Dim newWorker As BackgroundWorker = DirectCast(sender, BackgroundWorker) Dim IV(15) As Byte...
  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

    Sir could tell me what else I can improve with this codes? I tried everything and change codes but still the process is slow on 1GB files here's the code: Private Sub BGW_DoWork(sender As Object, e As DoWorkEventArgs) Handles BGW.DoWork outputPath = Path.Combine(txtOutputfolder.Text...
  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%

    Could someone help me fix this codes? It's only getting 51% result when the process is done Dim counter As Double = 1 Dim outputFolder As String = txtFileOutput.Text + "\" + txtFileName.Text + ".ts" Dim encryptionKey As Byte() = File.ReadAllBytes(txtKeyFile.Text) Dim...
  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

    I already fixed with this. I didn't notice the flush and close filestream Dim counter As Double = 1 Dim inputFolder As String = txtSource.Text Dim outputFolder As String = txtOutputFolder.Text + "\" + txtOuputFilename.Text + ".ts" Dim enumFiles = Directory.EnumerateFiles(inputFolder...
  16. Z

    Resolved Merging multiple files into one using filestream

    Hey guys could someone help me fix this codes? I'm getting a little problem. The output isn't merging the input files Private Sub CopyMyFiles() Dim inputFolder As String = txtSource.Text Dim outputFolder As String = txtOutputFolder.Text + "\" + txtOuputFilename.Text + ".ts"...
  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