Scan Files For Viruses?
Jan 3, 2011
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?
View 2 Replies
ADVERTISEMENT
Apr 1, 2009
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 .
View 4 Replies
Nov 23, 2011
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
[code]....
View 13 Replies
Dec 25, 2005
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.
View 5 Replies
Mar 7, 2011
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.
View 3 Replies
Aug 12, 2010
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.
View 8 Replies
Sep 10, 2010
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..
View 1 Replies
Feb 28, 2009
am trying to scan a directory and copy all excel files to a single directoryhere is the codeTry
For Each foundFile In My.Computer.FileSystem.GetFiles("e:datainventory_resultsarchive", FileIO.SearchOption.SearchAllSubDirectories, "*.xls")
[Code]....
View 3 Replies
Apr 6, 2011
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.
View 2 Replies
Jan 11, 2010
How Do I scan with WIA using VB.NET?
View 4 Replies
Mar 6, 2012
I'm looking for a way to scan a certain area of a PDF or Tif,
and extract the OCR regonizied text which will help me rename these documents I have.
What tools or libaries can I use in .NET to make a quick short program to rename
TIF or PDF files into their appropriate name coming from a portion of text that is on each file.
View 2 Replies
Jan 31, 2010
i'm trying to "Scan for hardware changes" programatically and all I can find so far is: [URL]
I'm not sure how to use it in a vb.net app though. this is for Windows 7 functionality and i'm not sure how to set up the API calls
there's this: [URL] but it doesn't tell you how to implement it
View 8 Replies
Dec 15, 2011
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.
View 3 Replies
Jan 4, 2010
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:
Imports TwainGui.vb.TwainLib
Imports TwainGUI.vb.GdiPlusLib
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.
View 24 Replies
Mar 7, 2012
is there a way to add a progressbar to the scan button?i watched tons of videos and i cant figure it out
Using FB As New FolderBrowserDialog
If FB.ShowDialog = Windows.Forms.DialogResult.OK Then
For Each Ext As String In ListBox1.Items
[Code].....
View 1 Replies
Jul 14, 2009
I want to write code in vb.net to scan drive.
View 2 Replies
Dec 17, 2010
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
[Code]..
View 1 Replies
Mar 9, 2009
Using this Pixels Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]...
This will scan the whole screen for my specified colors. How can I make it scan the AxShockwaveFlash only?
View 8 Replies
Nov 29, 2010
I need to add scan option in VB application which i am developing.
How can i, Can anybody giveme detail code for this.
View 3 Replies
Aug 10, 2009
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.
View 1 Replies
Jan 30, 2011
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.
View 1 Replies
Jan 23, 2012
I have this idea in my mind, that I can activate a window, and then scan that window for a pixel at certain coordinates.
Is it possible to do this in vb.net?
Something like:
If.GetPixel(X,Y,COLOR,) = True Then
MsgBox (Pixel Found)
Else
Loop Until Error = False
I know that won't work, but that's my idea.
View 3 Replies
Jun 11, 2012
how I can scan a image I loaded in my picture box for a certain pixel (say red)
View 4 Replies
Oct 30, 2009
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)
View 3 Replies
Apr 24, 2012
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...
View 1 Replies
Aug 15, 2009
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?
View 3 Replies
Mar 19, 2009
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.
View 1 Replies
Feb 19, 2011
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]...
View 2 Replies
Jul 12, 2011
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?
View 2 Replies
Feb 24, 2010
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
[Code]....
View 13 Replies