Make A Program That Searches For File?
Feb 13, 2009i want to make a programme that search for file then delete it but i dont know what is the code of search
View 2 Repliesi want to make a programme that search for file then delete it but i dont know what is the code of search
View 2 RepliesI want to make a program that searches for a RGB color and clicks on it, WITHIN the program.
View 2 Repliesi'm trying to make a program that searches for a specific file in a specific file, so when the program loads it "writes" in checked list box the names of the drives installed to the computer, but what i want to do is: when the user checks the box, i want it to search for the file in that drive, but i don't know how to do it...
I'm using:
Imports System.IO
Imports System.Collections.ObjectModel
Public Class Form1
[Code].....
how to make it search in the other drives using the checked listbox?
I have a windows form which to summarize lets the user open a file containing 32 bit hashes, then search for one of them. The hash is then converted to its string representation. The application is giving the results I would expect but I'd like to make it execute faster than it does now; some files can be pretty big > 100 MB.
I'm doing the file read using a BackgroundWorker object to display progress updates and ensure that the UI is available during the process. But for that i need to add a System.Threading.Sleep(1) instruction in the loop; otherwise the application freezes with big files. And System.Threading.Sleep(1) creates a noticeable lag. Any suggestions on how to make searches fast without freezing the UI? Getting speeds comparable to hex editor programs for example.
I was wondering how I could make an application that searches a certain website for a specific string. Or, if I could, list the search results in a listbox. Reason for: I wan't to make an application that searches serial websites for certain serials. Like 'Craagle'.
View 2 RepliesI'm writing a script that's designed to search an entire file, and respond with found if he found a match. However, he only seems to search the first line for matches. here's the
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If FindStringInFile("C:Usersdanl.FATLANDDocumentsvare.txt", TextBox1.Text) Then
[Code].....
I am creating a class that searches a binary file for a specific customer number. I am using a binary search that keeps on slicing the file in half until I find the customer number while is sorted. Once it finds it I am positioning it at the first instance of that Customer number as there can be multiple records with the same Cus Number.
Now here is my question. I now need to loop through this Customers records and do some data base searches. Since I want to make my class as generic as possible what should I pass back to the calling class? An Array with all their records. If I do this I have to loop twice, once in the class and once when it passes the array bac to the original calling class?
[Code]....
I need some guidance on the best way to proceed with searching a file content. I have a large file (see attachment) that is in text form, some of these files could be upto 50 times as big, therefore creating a huge file. These files contain information that is produced from another application and therefore I am unable to change the format of the file.
[Code]...
I need to write a program that requests a high number and a low number from the user, then the program searches the array and finds all elements within the two numbers. The program is used to search for past presidents, so if I type 43 for low number and 44 for high number, the program will display:
George Walker Bush
Barack Hussein Obama
I think I have an idea of how to search up to a certain point, but not to stop at a certain point....Here is the code that I have for that particular sub procedure:
Quote:
Private Sub btnDisplayRqst_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplayRqst.Click
Dim sr As IO.StreamReader = IO.File.OpenText("PRESIDENTS.TXT")
[CODE]...
How do I make a program that opens a file in the folder the program is stored?
View 6 RepliesI am making trying to make a program that can read the file information directly from a specified file, but I am having a lot of difficulty reading things like file comments.An example of this can be found in windows XP when you alternate / right click on any file and click on properties. You'll get a lot of extra information.Now I have a few questions about this.
1.Can this information even be read in VB.NET
2.If so how
3.If not do I need to create some kind of data file to store the file information
Here is what I did so far
[Code]...
I create a project using query sql ( Select, Update,Delete,Insert ) in many various way. example by Select with condition ..etc someone work in programing field. tell me that you are not profession in using vb.net , because you have to use OOP instead all of these Sql query. because if you want to make any update on your program after start to work on the Pc you will open your project on design and change the code. but in OOP you will make update on class and then put it as DLL file in the file of program.
View 5 RepliesI am searching a large text file for a word user inputs. When I test the following code, the app is searching the text file more than 1 X. I only need it to search the text file from beginning to end 1X. Then return the queried results.[code]
View 3 RepliesHow to make in dll file in vb.net (vb2005 or vb2008)
View 3 RepliesI've just completed my first project (horay for me), and have compiled it, although i'm not sure if i've done it correctly. What its done is made a directory with 'setup' and 'sliding scale' (sliding scale is the file name) with another directory of 'application files'. Now none of it uses any form of databases, all it does is allows the user to input 5 sets of figures and then calculates a price. How if possible can I get it to be just sliding scale.exe so that way others can use it without having to download this .net framework stuff (if thats made any sense)?
View 6 Replieshow do I make my program in VB to a .exe file?
View 5 RepliesWhat I want is to make a custom file with my program. This file we will pretend is called InfiniteMapFile.INMP and the file has no contents therefore we need to add contents. There are 3 pixture boxes and 3 text files. The data for each of these files needs to go into InfiniteMapFile.INMP with the associated names, then later on be taken out if needed. Here is a diagram:
you can see what I mean by putting the files within it, I would have made my file look more like a box, but we're not 5 years old and I'm sure all of you will understand.Just knowing how to combine multiple files in general will help.
How do I make a program a default program for a file? As in if I had just a basic .txt file editor, I could make the program the default program for the extension .txt. I have tried just doing it in Default Programs, in Windows 7, and Windows XP. But when you click on the file it opens the program, but does not load the file. I plan on actually releasing the beta 2 a Office Suite I created.
View 17 RepliesI need to do in order to make my program in VB.NET an executable or an installable?
View 6 RepliesI'm trying to make a file explorer for my program. Let's say I use an install disk to get this on my computer. How would that program set up the explorer so you can view and search My Computer, C:, and/or disk drive?
View 12 Replieshow to make a program generating exe file?I want to do something where i can click to a button and exe file will be generated napr.in C:
View 29 RepliesI want to make a program that deletes file(s) i ''Trash'' in VB08. If you know some codes just reply.
View 15 RepliesI am trying to make a program that goes to an excel file, copies the given range and pastes (Values!!) to another excel file. I am doing it in a loop because information from 12 different files gotta be in this one workbook. this is what i got so far
For intCounter As Integer = 0 To 11
With appXL
.Visible = False
[Code]....
It does the job, but every time I close the Roll Up file it gives me an error "A formula in this worksheet contains one or more invalid references." I guess it is because it copies the formulas as well...
Someone know how to make or if it possible to make a .swf file decompiler in vb.net? the actionscript that the program decompilated paste it into a textbox1.
View 11 RepliesI need to make my program open a file, write a length of 142 bytes over an existing 142 bytes and save. Please help. I have gotten no where with it so far...
View 3 Replieshow do make a program that allows me to post a quote out of a file and put it on todays quote and a new one will come up
View 2 RepliesError while try to make setup file on program.The error message is [code]...
View 1 Repliesi want to know how to make a program in VB.NET that change a icon for a file ...Like a simple Icon Changer And, do i need a stub for this ?
View 16 RepliesI have made a media player in vb and I need to make it the default player for *.mp3, *.avi etc.
View 1 Repliesim slightly new to VB, i was wondering how I make the program check a file for an update, i kknow there is an option in the app settings, but when I go on it it doesnt recognize .vb or .exe files to check from.
If i uploaded updates to a server, how would It check that for updates? and what file type would i need to upload it as?