Make A Program That Deletes File
Oct 10, 2009I want to make a program that deletes file(s) i ''Trash'' in VB08. If you know some codes just reply.
View 15 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 deletes all setting made by using the SaveSetting function. I don't use the MySettings class as it makes a setting for each user. This is basically what I need it to do:[code...]
View 9 RepliesI would like to know how can I make an executable file wich deletes itself and the folder it's inside.
I've tried launching cmd, making it wait for 3 seconds and then delete the directory, but it does nothing. The last lines of my code are:
Process.Start("cmd.exe", "/C ping 1.1.1.1 -n 1 -w 3000 > Nul && DEL /F /S " & Application.StartupPath)
Application.Exit()
I need to write a program which deletes itself while running...How to do in vb.net and what is the concept to do it..
View 4 RepliesSo I have been working on this small project for a little while now Basically I need this program to be able to delete a single folder or multiple folder depending on the text in the textbox.So far, I can do the single file just fine, this is the code for that.[code]Simple as it sounds...I haven't figured it out...then again I am pretty new to VB, being I started programming in it literally 2 weeks ago.I am guessing that I have to set a variable for the textbox...which leads me to believe I need to use something other than a textbox to do this...I was thinking of using a DataGridView...I not sure how I would make it check if there is anything in a cell then delete it if there is.
View 13 RepliesI am trying to write a program that deletes temp files from my entire c drive. windows 7 will not allow any file manipulation. access denied . everything works fine in windows xp. what needs to be changed in my code to allow anyone to install this program on their computer and run it without errors like this. I need to change my code to correct this not windows 7, as other people will be installing this on their systems and they can't be setting their c drives. every answer i've found online is either to change c drive to have no security or set the code to demand uac to run as administrator(which doesn't work )
View 7 Repliesi want to make a virus remover/scanner tht deletes files og scans for virus.. Just reply i you know some of codes or if you have a project.
View 15 Repliesi want to make a virus remover/scanner tht deletes files og scans for virus.. Just reply i you know some of codes or if you have a project.VB2008/2010..
View 11 RepliesHow 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 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 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...
i want to make a programme that search for file then delete it but i dont know what is the code of search
View 2 RepliesSomeone 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?
How i can make a program to verify if files of a text file exists ?
Example:
I have directories.txt who contains:
Line 1: C:PasswordsAccounts.txt
Line 2: D:GamesFifa 11fifa.exe
So i can to verify if these two files exist?
But not: my.computer.filesystem.fileExists("for each one")
I have this program:
Module Module1
Sub Main()
IO.File.Create("C: ext.txt")
[Code]....
How to make my program not to use the newly created file 'text.txt'? Notepad fails to open it, it says (The process cannot access the file because it is being used by another process).