Deleting -
Delete Code:
My.Computer.FileSystem.DeleteFile("C:\tempsysfile.html", FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin)
How could i make this code to delte without asking confirmation code?
tanks
Delete/Kill .dat files -
Morning/Evening All (depending on where you all are !!)
Can anyone please enlighten me as to how i would go about deleting a .dat file from the application folder (i.e within the code - not manually) ?
During the running of my program i am saving certain data to a file, but once th
speedest way of deleting folders in windows xp using VB -
Hi all,
I want to delete certain folders from C:\Temp\. the folders may be 1 mb to 10 mb.
I know few ways of deleting through VB.
I use windows XP.
I want to know the speedest way of deleting the folders.
I tried using the dos deltree.exe it is faster than any other way
Error codes when deleting files. -
Does anyone have or know VB6 error codes when deleting files?
I need to differentiate between trying to delete files in various ways such as when the file is open or deleting one on a CD etc?
Is there such a thing as a list? Thanks
deleting from .txt's -
i need to delete a part at the very bottom of a .txt without deleting the whole .txt or rewriteing the .txt.....the catch...the .txt is very large.....but to make it easier it will always be that same thing that needs to be deleted
How to block deleting Shortcuts onWindows Desktop -
Hi!
I have WinXP installed here..
I was wondering how to block deleting (removing) files from a user Account's Desktop...
I mean : I made an account for a user (In Windows) and then an Administrator account.. the user can't delete any files from the Administrator account.. but
Hrm Maybe -
When can you or cant you use the Adodc1.refresh property?
I've noticed that sometimes it works perfectly.
And then there are times where after deleting rows, it doesnt seem to like to be used.. or is that me?
Is there a command to use instead of refresh when deleting?
deleting duplicates -
Is there any way to delete duplicate records instead of using the wizard and then flaging those records and then deleting them, (i'm using access'97)
Matt
Deleting a folder and all of it's contents -
How do I do this?
I know that I could loop through each and every folder deleting each file using the Kill method, but this would be a pain. Is there any way to do this better?
Flustor
datagrid adding, and deleting [* Urgent *] -
Hello
I am using a datagrid that is connected to the access database by using the data environment.
I am using the data environment so that l can display reports about the information in the datagrid. (That bit works ok)
Problem:
I am experiencing problems with adding, updat
Problems deleting from Master/Detail grid -
Hi All,
I am having a problem deleting from a master detail form I have. The form is a staff members details with all of their leave entitlement displayed within a grid below.
When I select delete it only delete's the top record from the datagrid and not the record I selected. T
Prevent user from adding and deleting in datagrid -
Hi,
I have a vb.net application. I use data adapter to generate a dataset and bind the dataset to a datagrid. The user can edit the records that are shown in the datagrid. But Adding new and deleting are not allowed.
How to prevent the user from adding and deleting record in a vb.n
Deleting the last entry in a DB -
Ok, this may sound pretty daft, but it has me going...
when using the Data1 control, i can get everything right except deleting the last entry without it asking me to debug... for what its worth i just cant get my mind around it...
Reading and Writing and Deleting from registry -
I need to read and write from the registry as well as deleting entrys. Anyone got a simple example on how to do it.
I also need to know which encryption method I should use to store passwords in the registry?
updating, adding, and deleting, using the datagrid [*V-Urgent] -
Hello
I have a problem that l cannot solve, and need you help.
I have done everything on this project. But l am having a lot of trouble, adding, deleting and updating record using the datagrid which has a connection to the data environment.
I have sent my project with this, an
deleting files and stuffs -
Ok, I am writing a programe to clean a system of certain files for a netowork. But I have no clue how to go about deleting files that I know the name and dir of.. A little help would be nice..
Deleting entries in a a list box -
as the tiel says....how do u go about deleting entries from a text box?
[need help] deleting from listbox -
when im writing the code:
List1.RemoveItem List1.ListIndex
List2.RemoveItem List2.ListIndex
then this code deleting that all what i have at the listbox.. whay?
im want delete only one time.. i know that code deleting one time but its not so somebody can give me another code
One final plea for ideas on installation -
I have gotten several ideas on what to try and have tried them all, deleting all VS products, deleting the Framework. I have done the deletions recommended on the web site that another person referred me to.
When I do a reinstall I still get the error about missing templates.
I
Access Object List -
Hi folks,
Im trying to write a generic form to make deleting temporary objects from a database prior to roll-out. I.e. give the user a list of all tables/queries residing in the database with checkboxes next to them, then deleting all of the objects they select (I find it quite irri
deleting directories -
When using the rmdir function, an error is generated if the directory that you are attempting to delete contains any files or sub directories.
Is there any way of automatically deleting a direcoty and all its sub directoies (i am aware of how to use kill c:\directory\*.*)?
[2005] Im stuck with Editing and Deleting -
I read a tutorial in a web, and i finished only the Add new record in MSAccess, but when im going to do the Editing the whole program now is not working, so i cant go any further in deleting. Someone have a fastest lecture of how to use the Edit and Delete in Oledb MSAccess.
This is
Resolved-Deleting files -
hi just a quickie,
i do some work on a file then delete the file but get error file being used by another process. Any one know how to solve this.
I am disposing of any objects IE image object.
Iv hit this problem more than once and never been able to sole it other than waiting 5 M
deleting datas of autonumber field -
hi guys,
is there anyway to Autonumber field to start with 1 after deleting all the records from the table
saj
Deleting a file on a disk -
I'am trying to get vb to delete a file on the disk at a:\moved and the file is ShellTest.exe.
What i'am i doing wrong!
************************************
Private Sub cmdDelete_Click()
Dim DelVal As Variant
Dim fil1 As Variant
MsgBox "Deleting"
Deleting a directory -
When I have had to use code to delete all files in a particular directory, I have made my program select each file 1 by 1 and go down the file list deleting them, this is ok for small directories but for larger ones it takes quite a long time, I was wondering is there a way to get rid
Deleting Database Record -
Hello,
Im having trouble deleting a record from an access database, im showing the data using a dbgrid named dbdel, i have little experience in database programming and im not sure what to do, i have searched the help files but could not find the answer.
Thanks for any help!!
Deleting registry strings -
I have read about a million posts and I tell you, just about everything is covered. The only thing missing is deleting registry STRINGS. What I am tring to do is first put my app in the .\..\..CurrentVersion\run folder (which has been answered). Then I want to remove it. I know about
question about internet explorer -
I've noticed that my username and other stuff that I put in search engines are being saved somewhere. I mean, when I type something in the textboxes like in username or google, previous text that I've typed are still being shown. I tried deleting history, deleting cookies and interne
Deleting Duplicate Records -
Hello,
I am having a Table ABC with one Field Named FieldID,
There are many duplicate record in that Filed.
I want to Delete some of them.
for. eg. Value 3 is repeating 7 times
I want to Delete 2 Row of them.
If I am deleting manually it is giving error.
How can I delete.
Pl
Adding Text to a Box Without Deleting What's in it -
I'm havibng trouble figuring out how to add text to a text box without deleting the contents of the text box, thanks!
[2005] Deleting TextBoxes -
Hello All,
OK, with help I'm now able to add additional TextBoxes during 'Run-Time' now I need to, depending on a certain condition, remove some or all of those created. I did a search and found code from Hack that clears them but I cannot find anything on deleting them, can anyone
how to delete row in datagrid conected to adodc -
Adodc1.Recordset.Delete <== when there's no rows, and delete button is pressed, error msgbox comes up, how can i check to see if there is a current row b4 deleting? and stop that error message box b4 deleting? any simple solution for this, please help out..appreciated
HELP! CancelUpdate is DELETING the record! -
I can't BELIEVE this! I just re-installed Visual Basic 6.0 on my PC, added SP4; & now in my ADO project when I use the .CancelUpdate command it's DELETING the #$*#( record! Anyone else have this problem?? If so, how can I fix it, PLEASE! I was in the final stage of rolling out
Deleting Contents Of All Tables (More Newbie Stuff) -
Hi all,
Is there an easy way to delete the contents of a group of tables (as opposed to deleting the tables themselves)? I have a database that contains quite a number of tables and I'd rather not have to write an SQL command for each table.
Any help is appreciated,
Thanks.
Deleting Win XP Pro User profiles -
Is there a way to programatically delete all user accounts on a computer, except the admin account?
I have tried just deleting the releavent folders in Documents and Settings, but the accounts remain listed in the Profiles section of the Control Panel.
Thanks
deleting leading zero's -
Hi
I have question about deleting the leading 0. For example, I have
MR: 01234567
actullay I don't want the 0 in front the MR. It can have from 3 to 10 numbers some time the user puts only 7 number. Is there anyway, where the user puts the 0 even by mistake but the program deletes
Deleting all rows from a table -
I am using the ADO control on a MS Access database. I want to remove all rows from a table with 1 ( if possible SQL) command. Currently I am deleting row by row but it is too slow. So I wonder if there is a method or SQL command to make this in one shot. Please provide VB code required
Deleting records from a database (Microsoft Access) -
Hi ive created a program to store movie names and their categories. Ive used a recordset to connect to the database from vb6 but i am having trouble deleting a record from the database from vb6.
If there is any other information you wish to know then please ask but if anyone knows an
Datagrid - Deleting Rows -
Does any body know how to prevent a user from deleting rows from a datagrid?
Deleting a file -
Anyone can tell me if there is an api function for deleting a file?
Thanks