My program allows users to upload some files so other users can download it. Is there a way that I can scan the files for virus upon upload/download within the program? How can I go about this?
EDIT: Actually is there a way for the program to use the installed Virus program located on the users computer?
I need to scan either a drive are folder and search for .theme .VStyle and shellstyle.dll and there folder/subfolder names.The code scans for all .Theme files on the drive or in a folder, when it finds it it stores the folder name that file is in and also the name of the .theme .
I am working on a small music player software that runs from the thumbdrive and does not need to be installed. The problem is that when ever i scan the directory for files, it will not scan unless I am running it on a computer that has previously compiled the code. Regardless of whether visual studio is installed or not. Below is the rountine for the scan that is not working. It seems to stop at the 'ForEach ti in hi.getfiles'.
UserInput.Close() Dim Found As String = "" Dim C As String = My.Computer.FileSystem.SpecialDirectories.MyMusic Dim Directory As String = My.Computer.FileSystem.CurrentDirectory
I have an immediate requirement in my project.I need to scan any file for virus.if a virus exists then that file should be deleted and not saved in the server.this should be done within the code.
I'm getting ready to take a class in VB.NET and I had a friend ask me if I could make a little something for him, so I said sure not knowing what it was at first.
I know I can use a GetDirectories() to list all the files/folders in a given directory. The part I'm not to sure about is how to list them with list headers of Path, Size, etc, and have them sortable.
I am using the .getdirectory to scan my whole c drive for certain files to be backup. e.g *.doc. however when i run the code, i hit into error. stating folder access error. one of the folder which cause the error is system information volume.
continuing my project my AV can detect viruses by its filenames.. or fileextensions.. and its a incorrect form of detecting a virus..how will my program detect viruses by its behavior?.. least the common viruses like worms and trojans..
I want to write a simple program, which should inform me before any files getting open (like as User account control in Windows Vista or Windows 7). I came to know that all antiviruses use this technique to detect viruses before they are affecting the system. My program must ask me as "Are you allow this file to run?" and allow it if I allow otherwise terminate the file.
I have a requirement from my vendor to scan an image through my application. Then this image should appear in the picture box given on the same page. Also I want to read it as bit stream.
I am trying to scan images in VB.NET. I searched this site for almost an hour and found questions, but little in the way of answers, but some redirection which did not resolve the issue.
I downloaded the example here [URL] which has 7 projects doing a whole bunch of things. I do not have the scanner attached to my PC. Nor can I run any of these examples which do way more than I am trying to do. Then I went here [URL], found the VB version on planetsourcecode, but it will not run. I tried to duplicate what it does, but I couldn't get either of these line to be recognized:
I understand that the differences between .NET and VB are huge, but what I fail to understand is why no one has been able to post an example of how to scan? My company is not willing to purchase any 3rd party tools and my boss believes it can be done through the api, which some posts seem to imply but fail to show how.
I'm using a TcpListener and TcpClient to search for a connection on a certain port,and display a message when a connection is made, but i do not know how to do this. My code so far:
Dim port As Integer = 81 Dim serverSocket As New TcpListener(port) Dim clientSocket As TcpClient Dim c As Integer Dim ic As Integer
Now i'm working in an one softwarec concern.. now my TL gave one new concepy.., ie.., scan the document through our web application only. But i don't have any idea about that scannre.
i want to scan my whole C: drive using getdirectory(). but i got access denied when i reach some system file. how can i skip all that file to let my code run well.
I have been developing an antivirus using vb.net. The virus scanner works fine but I was thinking of ways to optimize the scanning speed (because large files take forever)
Can I build software to scan document or photo without EZTwain library on VB.NET ? because Twain library make scan in another window also I can't put multiple choice for the input format...
imagine i have an image of an whole family, but then i crop just one face, to use, now i have the photo of the whole family, and the photo of a face, which is part of the big photo. what i want is an app that can scan the big image, looking for the small image, and then return if it found it, and the rectangle where the small pictures, fits, in the big picture. any ideas?
Basically, I want to be able to say: here, I want to be able to chose my drive (in this case C:) and i want to be able to get the following extentions: .txt. Also i want it to list ALL .txt files in the C drive in either a textbox or listbox.
I want to be able to scan a folder and its sub directories for all the files that exist in it. the results are then fed into a list box or any similar control[code]...
I want to create a program that scan a file inside a file.. let me explain more details. I have file and extension is .opi and I know inside that file .opi there are many file's with extension .ojs and .oji. How to display that all file's .ojs and .oji into a listbox?
I made an application with some help here (It's a music player with a button to add .mp3 songs and when I press a song in the listbox it plays. Now I want to add something to it. I added an extra button with 'Scan all .mp3 files' and this has to scan all .mp3 files from the HDD and add it to the listbox.
This is my code I have now whitout 'Scan All .mp3 files'.
Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click