dcsimg

Search:

Type: Posts; User: Modulus

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Re: How can I make a label fade through colors with a timer?

    Yes it's already enabled through the Timer's settings not code.
  2. How can I make a label fade through colors with a timer?

    Hi.

    I have a project which I'm working on, and I would like the label to fade through colours for a certain amount of time, until the main form shows. I'm using this code but it's not working (no...
  3. How can I disable any program from accessing the webcam?

    I was writing an application which is like a remote access tool, and one that disables lights. After some thought and some advice, I've decided to not add that feature. Instead, I want to know how...
  4. Replies
    11
    Views
    1,563

    Re: How can I disable the webcams lights?

    Hi, ident


    Thanks for your response. I've taken into your consideration, and yes, it does sound very illegal for what I'm trying to do here. I do agree this sounds very pedophillic, but I do not...
  5. Replies
    11
    Views
    1,563

    Re: How can I disable the webcams lights?

    There's a company based in Australia called Imminent Methods, who are the creators of the famous Imminent Monitor. They support plugins and offer plugins which can disable webcam lights.
  6. Replies
    11
    Views
    1,563

    Re: How can I disable the webcams lights?

    Ahh, right. Thank you. Should I just move it now to save them trouble?
  7. Replies
    11
    Views
    1,563

    How can I disable the webcams lights?

    Hello.


    Just before I start, I want to say that I'm not using this for ANY malicious purpose, I'm simply using it for a program I'm developing for parents to monitor what their kids do online and...
  8. Re: Why am I getting a System.NullReferenceException for this code?

    Ok, thanks.
  9. Why am I getting a System.NullReferenceException for this code?

    I have an application which uses the hosts file to block certain websites using this code:


    Private port As Integer = 80

    Private listener As HttpListener

    Private BlockUsers As...
  10. How can I detect certain images (from a detection algorithm) by taking a screenshot?

    I have a program which I'm writing, which scans images from a selected directory, then those photos are compared to an algorithm which detects pornographic imagery, and if an image is detected, a...
  11. Re: How can I display a MessageBox when a website being searched is blocked by host?

    Ok, right.

    I've actually found something which may help me. Gonna test it outt: https://stackoverflow.com/questions/26701747/block-webpages-and-display-error-page
  12. Re: How can I display a MessageBox when a website being searched is blocked by host?

    Ok, thanks for the tip.


    Quick question, how do anti-viruses abort connections to malware sites and then show a message? This is what I'm trying to accomplish. See with Avast how they block...
  13. How can I display a MessageBox when a website being searched is blocked by host?

    I have an application which adds text to the hosts file from a .txt file full of blacklisted websites.


    It works, however, when the website is blocked, I want a Message to come up saying "Website...
  14. Re: How can I remove text clones from the hosts file?

    I probably could, but I’m just not 100% sure how too.
  15. Re: How can I remove text clones from the hosts file?

    My bad, I only tried the second code sample you provided, not the first of #14. Will try now.
  16. Re: How can I remove text clones from the hosts file?

    I'm pasting in the code you've told me to!
  17. Re: How can I remove text clones from the hosts file?

    Nope, no errors. I used this code:



    If index >= 2 Then
    MessageBox.Show("Test.")
    Dim filePath = "C:\Windows\System32\drivers\etc\hosts"
    Dim allLines =...
  18. Re: How can I remove text clones from the hosts file?

    Still not deleting. Maybe there's a way to set a limit for the amount of times certain text is added?
  19. Re: How can I remove text clones from the hosts file?

    Could you leave me some code? I've read your post, and I understand what you're getting at. Some code would be really good thanks.
  20. Re: How can I remove text clones from the hosts file?

    line is the piece of text that is added into the hosts file. So, for example, line could be: 127.0.0.1 test.com

    So, in a simple way of explaining it, I want to remove 127.0.0.1 test.com
  21. Re: How can I remove text clones from the hosts file?

    I only want to remove
    line, not just from random places of the file.
  22. Re: How can I remove text clones from the hosts file?

    It's still not removing any cloned text. This is what my host file looks like:



    127.0.0.1 www.badwebsite.com

    127.0.0.1 www.badwebsite.com
    127.0.0.1 www.badwebsite.com
  23. Re: How can I remove text clones from the hosts file?

    Yes, it still is un-solved. I meant to post on vbforums but thought stackoverflow would be better.
  24. How can I remove text clones from the hosts file?

    I have a program which writes websites to the hosts file from a .txt file which has a list of websites, so that next time a website is searched, the connection is closed.

    It works great! However,...
  25. Replies
    2
    Views
    1,351

    Error BC30455 - What am I doing wrong?

    I have this code here:




    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    RefreshList()
    End Sub
  26. Re: How can I close a tab programmatically for Google Chrome?

    Ok, thanks.


    Maybe there is a way to send Control W to Chrome only?
  27. Re: How can I close a tab programmatically for Google Chrome?

    Ok, thanks.


    Maybe there is a way to send Control W to Chrome only?
  28. How can I close a tab programmatically for Google Chrome?

    I have a program that:


    Reads the history of Chrome File then, compares that history to a text file, and if any websites from the history match the websites in the text file, a
    MessageBox shows...
  29. Re: How can I show a MessageBox when a database has certain text using SQLite?

    I'm a newbie at VB.Net, could you link me to a reference? Thanks.
  30. Re: How can I show a MessageBox when a database has certain text using SQLite?

    I don't know if this is the right answer, but, I want my program to compare some text in a text file to the data in the database. If there is some data which is the same, a MessageBox shows.
  31. Re: How can I show a MessageBox when a database has certain text using SQLite?

    A text file. I want to have a list of whitelisted sites, such as, for example: www.youtube.com.
  32. How can I show a MessageBox when a database has certain text using SQLite?

    I have an application which reads all of the history off Google Chrome, using SQLite. This is the code I use to do so:



    Dim google As String =...
  33. VS 2017 Re: How can I read what is being searched in a web browser, and return it to a Messag

    Correct.
  34. VS 2017 Re: How can I read what is being searched in a web browser, and return it to a Messag

    No.

    I'm looking to read what the user types into the browser, and if the user types in a certain link, the redirect event will happen. I'm not using WebBrowser.
  35. VS 2017 How can I read what is being searched in a web browser, and return it to a MessageBox

    I have an application which I'm using to practice with, which will re-direct traffic from a certain website to a different website.


    1.

    User opens a web-browser and types in a link like...
  36. Re: I want to use a Function inside a sub, how is this done?

    Do you have any references on how to do this?
  37. Re: Is there a way to use Timer1_Tick manually in different sub?

    Sorry, forgot to mention this is my function name:



    Private Function GetMD5String(ByVal strFilename As String) As String
  38. Re: Is there a way to use Timer1_Tick manually in different sub?

    Ok, thanks.

    I've tried this code for alt()


    Private Sub alt()
    GetMD5String(strFilename)
    End Sub

    but it just says strFileName isn't declared.
  39. Is there a way to use Timer1_Tick manually in different sub?

    I have a program which uses a Timer1_Tick sub. However, I would like to manually configure this Timer in a function.

    For example,


    Private Function TestFunc()
    Timer1_Tick(whatever)
    ...
  40. Re: I want to use a Function inside a sub, how is this done?

    How do I hook it to the OS?
Results 1 to 40 of 52
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width