Continuing Project AV Can Detect Viruses By Its Filenames?

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


ADVERTISEMENT

System Watcher In C#.net - Detect Viruses Before They Are Affecting The System?

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

IDE Continuing Working On Project Under Renamed Directory

Nov 19, 2011

when you start a new projekt, vs2010 makes a new folder for the projekt. when i reach a certain point in my projekt i want to save that version of the projekt.

what i do is make a new folder and copy that projekt to it. projektfolder2 . when i start the projekt in the new folder the sln doesnt work anymore. the vbproj works then. and vs 2010 makes a new sln file one directory down of the old one between the other
projekt files.

View 12 Replies

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

Detect An Associated File With Project?

Sep 22, 2010

I have a simple program which runs notepad when clicking a button and i created a setup project for that program and assoicated files with extension let's say .xsn to the project and theni build the setup project and installed the software on my PC, now my question is when i run a .xsn file how can i let my program that it's being run by clicking on that file so i can for example read the contents of that file.

View 2 Replies

.net - Wait For A Different Form To Close Before Continuing On?

Jan 25, 2010

I have a little log in screen that pops up if a user selects a certain item on my main form. How do I get my code to stop executing til my log in form closes?This is what I am doing so far. Basically i want o execute the code after MyLogin closes.

BMSSplash.MyLogin.Show()
If isLoggedIn Then
BMSSplash.MyBuddy.Show()
Cursor.Current = Cursors.WaitCursor
End If

View 4 Replies

Add Item To ListView While Continuing Other Code?

Jan 22, 2011

I have coded a low-level mouse hook. Each time the user clicks (let's say) the left mouse button, a custom event gets fired which is then handled by a form in my application. On the form is a ListView control with the following columns: Time - Application - Button.

I want that ListView to contain the last 1000 mouseclicks made, so each time the CustomMouseClickEvent gets fired, I check for the itemcount of the ListView, I add an item to the ListView and I resize all three columns. Problem is however that this extremely delays the processing of the mouseclick messages.

I'm wondering if it's possible to raise the CustomMouseClickEvent and then handle it in my application while at the same time the mouseclick message is passed on to the next hook to get processed by the systen?

View 2 Replies

Sub Not Continuing After Another Sub With Msgbox.yesno Is Called

Jun 18, 2012

I've been having a problem lately where if I call a sub with a msgbox.styleyesno, it won't go back to the original sub that called it. This is my code:

[Code]...

View 2 Replies

VS 2010 - Getting The Combobox Data Before Continuing

Nov 9, 2010

I have a button on a form and 3 comboboxes, each populated with a list. The outcome I'm attempting to programme is, descriptively; Button Click

[Code]...

View 3 Replies

Wait Until Form Is Close Before Continuing?

Apr 5, 2010

I have something like this:

For Each Entry In CheckedListBox1.CheckedItems
SheetName = Entry.ToString()
Form2.Show()
Next

but I don't want to continue the loop until Form2 is closed. I tried something like this:

For Each Entry In CheckedListBox1.CheckedItems
SheetName = Entry.ToString()
Form2.Show()
Do

[code]....

But that just froze everything and used up all my CPU.

View 2 Replies

VS 2008 Checking Thread Completion Before Continuing?

Apr 22, 2012

I'm having trouble checking the completion of multiple threads before executing more code.As an example, I started two threads:

**************************
Dim Thread1 As New System.Threading.Thread(AddressOf wordpress_checker_thread)
Thread1.Start()

[code].....

View 3 Replies

Wait For Batch File To Close Before Continuing?

Feb 1, 2012

I'm trying to run a batch file via VB and I need to wait for it to complete/exit before progressing. The issue I believe I am having is that when a batch file is executed, it opens cmd.exe and not the batch file.

This is what I am executing with VB
My.Computer.FileSystem.DeleteFile(My.Application.Info.DirectoryPath & "PingCheckmachines.txt")
FileCopy(My.Application.Info.DirectoryPath & "machines.txt", My.Application.Info.DirectoryPath & "PingCheckmachines.txt")
Dim psi As New ProcessStartInfo(My.Application.Info.DirectoryPath & "PingCheckgo.bat")
psi.RedirectStandardError = True
psi.RedirectStandardOutput = True
psi.CreateNoWindow = False .....

The problem I am having is that it will just delete ping.bat before it completes.
How do I go about monitoring the process from the batch file I call. Then once it exits, continue with the script?

View 3 Replies

VS 2008 - Put App In Some Kind Of Wait State For A Certain Key On The Keyboard Before Continuing?

Mar 31, 2010

Can i put my app in some kind of wait state for a certain key on the keyboard before continuing? But that key can be targeted to any window, not just my app. My app would be out of focus and i hit that key on the keyboard and it would act.

View 7 Replies

VS 2010 Waiting For A Screen Re-draw To Finish Before Continuing?

Oct 16, 2011

I'm writing a simple program that takes a screenshot of tab1 of the GUI, then takes a screenshot of tab2, then tab3, etc. I've got the screenshot code down pat, but the problem with my current code is that it's taking the screenshot of each tab before the screen has a chance to fully redraw, so the resulting images are screwed up.Is there a way to get the program to wait for each tab (and all the controls in it) to be fully visible before each screenshot is taken?I'd like to avoid using a timer for this, as the screen redraw speed will vary depending on the user's computer, and the contents of each tab, etc.[code]

View 2 Replies

Waiting For A Shelled Process To Finish Before Continuing With Application?

Mar 7, 2011

I'm currently making a Computer Cleaner, my program launch's rundll32.exe's to clean IE's history.

Like to clear the add-on settings I would put:

Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351")

But I need to wait for it to wait before letting it to go on to the next thing like clear cookies, which would be: Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2")

View 3 Replies

VS 2010 Tell Web Browser To Wait For New Page/specific Url To Load Before Continuing?

Feb 17, 2012

making verified accounts for my marketing and now I am hooked into improving as it is turning into a very good program I am just stuck with one thing which I can see being a very simple solution but I have search forum after forum and tonnes of Google searches all worded different to solve my my.It really is simple at present I use different buttons to automate different parts/pages of the account creation I am now setting it up so I click say for example a "go" button and it fills in the first page (and heres where I'm stuck waits for a specific url or even just a new url to load before continuing with the next bit of code

View 15 Replies

VS 2008 Make A Program Stop Or Pause For A Period Of Time Before Continuing The Code Without A Timer?

Jun 13, 2009

Out of curiosity, is there a way i can make a program stop or pause for a period of time (which i would choose) before continuing the code WITHOUT a timer.I think I've seen this done before, but I'm not positive.Also note that I'm talking about a forms application (not a console app if that would be any different.)

View 3 Replies

Drag And Drop Filenames Into VB App

Nov 11, 2009

I'm a relative novice at coding in visual basic 2008 and am trying to implement dragging and dropping filenames from windows explorer into a listbox within my VB app. My customer wants to do this as opposed to selecting filenames from a directory browsing window.

View 3 Replies

Forms :: Getting A List Of FileNames?

Apr 22, 2009

I have this peice of code..

Private Sub OpenFileDialog2_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog2.FileOk
ListBox1.Items.Add(OpenFileDialog2.FileNames)

[Code].....

View 2 Replies

Get Filenames Case Insensitive?

Sep 9, 2011

I am using this code to get a list of files in a folder:

Dim files() As String = (From file In New IO.DirectoryInfo(myFolder).GetFiles Where file.Extension = ".exe" Select file.Name).ToArray

This works fine, but the problem is that it selects only files with the extension of "exe" & skips files that have an "EXE" extension. Is there any way to make it case-insensitive, to make it return any combination of upper/lower case letters in the extension?

View 2 Replies

Get Filenames From Opendialogform In A String

Oct 25, 2011

How can i get all the filnames in array as a string? [code]

View 1 Replies

Get Names From OpenFileDialog.FileNames?

Sep 23, 2009

When the user selects a file it should add a item with the name of the file to a listview. But when the user selects multiply files it just takes the name of the first file, so all items get the same name.[code]...

View 5 Replies

How To Add String Of Filenames To ListBox

Jan 22, 2009

I have a string of filenames separated by commas that I want to add to a listbox. This is how I'm currently doing it:
vb.net
Dim FileNameArray() As String
myFileNames = tblOpenTemplate.Rows(0).Item("filenames").ToString
FileNameArray = myFileNames.Split(",")
For i As Integer = 0 To UBound(FileNameArray)
.ListBoxFileNames.Items.Add(FileNameArray(i).ToString)
Next i

But I've been reading about using:
vb.net
Dim FileNameArray As New List(Of String)
How to populate this with string of filenames?

View 7 Replies

Use Filenames To Query Access?

Apr 11, 2011

I have this app that suppose to read images from folders and display them. What I'm trying to do now is to use the file names and use them to query the database. [code]...

View 4 Replies

VS 02/03 OpenFIledialog To ImageList To FileNames?

May 12, 2010

I am using VB.net 2003 to work with a bunch of images. Using OpenFileDialog I populate an ImageList of image files. I can easily scroll through the images, but I would like to get a list of names of the image files so that I can work with these image files later in the program. I've looked at several good postings in the CodeBank, but have found nothing that I can figure out how to use for what I want. My 'textbook' on vb.net 2003 is Sams Teach Yourself Microsoft Visual Basic .Net 2003 in 21 days. While I view this book as excellent it does not give the info that I need in any way that I can figure out how to use,

View 9 Replies

VS 2008 How To Get All Filenames In A Directory

Dec 13, 2009

is their a code that would do this?

View 5 Replies

Browse For Folder Dialog And Get Filenames?

Mar 31, 2009

I need to display the Browse for Folder dialoge on button click event. I have some how managed to start File Dialog form, however that is not what I need.

View 3 Replies

Compare 2 Picturebox/image Filenames, Vb?

Apr 9, 2012

Is there a way to compare two images/filenames

I have two pictureboxes both with images in them i want to see if the image in picturebox1 is the same or has the same filename as the image in picturebox2

for labels i would do if label1.text = label2.text then

is there anyway to do somthing like if picturebox1.imagename = picturebox2.imagename then ?

View 3 Replies

Copy Files From A List Of Filenames?

Apr 9, 2011

I am sure this is a simple question to the more advanced, however, to the less advanced I am having a problem. I have to come up with a quick program (that works) for my job (I am a systems admin) that will either look in a database or excel sheet (which ever is easier) and find copy files from one directory to another. I know how to move, copy and delete, however, I need it to look for the specific filename.

[Code]...

View 5 Replies

Create Folders Based On Filenames?

May 4, 2011

The code below creates multiple folders based on different file names and moves those files into the new folders. For example, files ABC and XYZ are moved into a newly created folder named ABC and XYZ. I want to advance the code to allow slightly different file names to go into a common folder. Example, I want file ABC_rock, ABC_soil, and ABC_water to be put into a folder named ABC still, AND file XYZ_rock, XYZ_soil, and XYZ_water to be put into a folder named XYZ. I do not want a separate folder created for ABC_rock, ABC_soil, and ABC_water.[code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved