Search:

Type: Posts; User: visualBEER310

Page 1 of 3 1 2 3

Search: Search took 0.11 seconds.

  1. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    Yes, that really does help. It helps it a lot, and the RAM is a lot lower however it still goes up high sometimes. And if a user had 1gb ram and it tried go up to 800mb... Yeah.
  2. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    Nope... I tried it, and it didn't really have much of an effect on it at all. It was like the line of code wasn't even there.
  3. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    I assume so? All I am really doing is I have a dictionary. The key is the byte, and then the returned value is the name of the PUP. What I want to do is check if the bytes in the file contains the...
  4. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    What do you mean? I tried using File.ReadAllBytes without the BitConverter.ToString and it won't work without it.
  5. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    Okay I'll try using GC.Collect(). I know what it is but yes I did read it was bad to use.
  6. Replies
    13
    Views
    2,230

    Re: Reading a file makes RAM Usage too high

    It's meant to scan directories like the desktop, the whole drive etc. So there are some massive files and .ISO and so on and it makes my RAM end up to about 3gb RAM within the first minute.

    I've...
  7. Replies
    6
    Views
    848

    Re: Automatic updates on new version

    Yes, that is what I was trying to mention in the previous post. Basically, you have to create a new project. Then, everytime a new update is available you need too re-upload the .exe file on your...
  8. Replies
    13
    Views
    2,230

    Reading a file makes RAM Usage too high

    Hi everyone.

    In my .NET app I need to load all the bytes in a file to a string using:

    BitConverter.ToString(File.ReadAllBytes("filepath"))
    to compare if it contains junk bytes (PUP) on my PC...
  9. Re: Read all bytes in a file and compare to a database

    Thank you, instead of a file per second it's now 180 files per 20 seconds which is a lot better (it's a scanner). However, I assume when my bytes database get's even bigger it will be slower at...
  10. Replies
    6
    Views
    848

    Re: Automatic updates on new version

    Okay, so below I will give you a code example on how you can go about using my suggested idea above. Hopefully it helps. Also, to speed up the process you could use threads however I have made this...
  11. Read all bytes in a file and compare to a database

    Hello! :)

    I have a problem with my code. Well, not so much a problem but the speed is incredibly slow of the task. I know why it's slow, but I don't know how to speed it up (it's already running...
  12. Replies
    6
    Views
    848

    Re: Automatic updates on new version

    What I do for a updater is I use a webclient to read text on a text file hosted online, and then if that is the same as the ProductVersion it's updated and if it isn't then a update is available....
  13. VS 2013 Re: [RESOLVED] Need help to encrypt a string

    I have also seen this theme, from a HackForums member. Although, yes, why would you need a theme after a few days of programming? You use things like themes to improve the UI, if your just learning...
  14. Re: Is possible to make this codec run fullspeed?

    No, I mean it's possible your PC could be infected altogether. As in, malware is monitoring when new files are created and infecting them. But I doubt it.
  15. Thread: Help!

    by visualBEER310
    Replies
    8
    Views
    1,478

    VS 2010 Re: Help!

    When you try to print totalMilesGallons, try adding a
    .ToString() so it converts it to a string/prints it as a string. Because, it might be that you are trying to print a decimal value in a string,...
  16. Re: Is possible to make this codec run fullspeed?

    I believe ident if he is saying it is malicious, as well as him mentioning he is a member at GeeksToGo, etc.

    While it is possible the Behavioural Analysis/Heuristics has made a false positive, is...
  17. VS 2013 Re: Need help to encrypt a string

    Did you get that theme from HackForums? :D Anyway...

    You could try using .Replace to replace certain characters with others. For example:


    TextBox1.Text.Replace("w", "&")...
  18. Re: How to use sound files that are accessible for all users

    As far as making a custom installer goes to match the theme of your project, you would have to assign it to a uninstaller, start menu/any metro icons you want on the start screen for windows 8/8.1...
  19. Re: How to use sound files that are accessible for all users

    You could make a installer which puts all your files in Program Files. For example, in the programfiles directory there will be a directory for your application and inside that folder (root folder of...
  20. Replies
    6
    Views
    1,012

    Re: Track down a process from it's task

    Okay, thank you :)
  21. Replies
    6
    Views
    1,012

    Re: Track down a process from it's task

    Yeah, after some searching and reading I learnt more on the topic of doing this. I found out that I could view files open in different processes which could track down when a process opens up the...
  22. Replies
    6
    Views
    1,012

    Re: Track down a process from it's task

    I don't expect anyone to know how to code anything like this, but head me in the right direction to how I would go about doing this (if they can).

    Thanks - just so people are aware to why I...
  23. Replies
    6
    Views
    1,012

    Track down a process from it's task

    Hi everyone.

    Okay so I'm not sure if you are familiar with the FileSystemWatcher control, but it only detects the newly created file/file changes, file deleted and renamed. But, it does not...
  24. Replies
    10
    Views
    3,292

    Re: block internet access

    I found the following code for you over on this MSDN link. The code will suspend a process, and can resume the process.

    Declarations, etc:

    <Flags()> _
    Public Enum ThreadAccess As...
  25. Replies
    5
    Views
    3,667

    Re: Panel animation (sliding)

    Thanks dday :)
  26. Replies
    5
    Views
    3,667

    Re: Panel animation (sliding)

    Yes, that was the word I meant to say. It's flickery, not laggy would suit the word. My apologies. I will try the Me.Refresh in there and the DoubleBuffered also. Thanks.
  27. Replies
    10
    Views
    3,292

    Re: block internet access

    I don't think he is making a virus. It could be identified as "suspicious", but I would say he is trying to make a firewall-type application.

    If you are looking to monitor connections etc when a...
  28. Replies
    5
    Views
    3,667

    Panel animation (sliding)

    I would like to make my panel slide to a certain width. I have already acomplished this, however it is quite buggy/laggy. As in, the controls behind the panel lag whilst it's sliding and it isn't...
  29. Replies
    3
    Views
    656

    VS 2010 Re: Unzip using 7zip

    Could you let us know of the code you have attempted to do this? We shall help you fix it afterwards.


    You should google it. There are many articles on doing this...
  30. Replies
    9
    Views
    1,055

    VS 2010 Re: How would I accomplish this?

    When you signed up to this forum, I think you were under the impression that your code will be made for you. I'm sure many others did this at first, in fact, I did something similar in the past as...
  31. Replies
    4
    Views
    1,185

    Re: Better way of MD5 hashing a file?

    It's supposed to be a advanced Task Manager which will tell the MD5, SHA1 etc of the application/s and other details like PID, RAM usage etc. As well as that, there is a option to be notified...
  32. Replies
    4
    Views
    881

    Re: 2 questions

    Considering @IanRyder has already answered your question/s, I don't feel a need for me to do the very same thing. I was going to correct about the Do While and While but he was quicker to fix it :D
    ...
  33. Replies
    4
    Views
    1,185

    Re: Better way of MD5 hashing a file?

    Okay, I'll do that now :)
    I should probably start a new thread for this, but would you know how to get the md5 of a file when it is read? For example, if another application reads the file or writes...
  34. Replies
    4
    Views
    1,185

    Better way of MD5 hashing a file?

    Hello vbforums! :)

    Today I would like to know if anyone has any improvements to my code of getting the MD5 to a file The way my app works is, using a FileSystemWatcher everytime a new file is...
  35. Replies
    1
    Views
    625

    Re: Create windows service

    I downloaded a C# example off CodeProject and it told me it wasn't compatible with my version of Visual Studio. I'm using the Express version - so it's on the Professional or Ultimate version and is...
  36. Replies
    1
    Views
    625

    Create windows service

    Hi.

    I've seen tutorials online on about making a Windows Service in .NET and they all refer to a Project Template known as "Windows Service project" or something similar which is shown on the...
  37. Re: Can a program be made that deletes itself and render any attempt at recovery usel

    Some malware deletes itself to prevent detection, however what I wrote above was incorrect, yes. I made a mistake and was talking about it deleting itself.

    ^^ if you were replying about malware...
  38. Replies
    17
    Views
    1,529

    VS 2013 Re: How to search and delete registries

    When you compare Norton to some others, it can be considered good, yes. I have tested it with live malware samples on a VM before and it didn't do too bad. While it missed a PUP (not sure if it even...
  39. Re: Count Charachters in RichTextBox and insert line

    You can create a new line in the RichTextBox by using the following code:


    RichTextBox1.Text += Environment.NewLine

    You can copy the text to the clipboard from the RichTextBox with the...
  40. Replies
    17
    Views
    1,529

    VS 2013 Re: How to search and delete registries

    Technically, in some cases, you could fix a PC using the registry in the sense that something like Task Manager is disabled, file permissions/extensions are messed up, etc... Like a Malware Trace...
Results 1 to 40 of 88
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width