Home
Forums
Programming
Web Development
Tutorials
Snippets
Blogs
Freelance
Jobs
Lounge
Login
Join for Free!
Programming Help
C and C++
Visual Basic
Java
VB.NET
C#
ASP.NET
PHP
ColdFusion
Perl and Python
Ruby
Databases
Other Languages
Game Programming
Software Development
Computer Science
Industry News
Web Development
Web Development
HTML & CSS
JavaScript
Graphic Design
Flash & ActionScript
Blogging
SEO & Advertising
Web Servers & Hosting
Site Check
What's Here?
Members:
136,561
Replies:
479,685
Topics:
74,754
Snippets:
2,567
Tutorials:
677
Total Online:
1,901
Members:
78
Guests:
1,823
[X]
My Assistant
Loading. Please Wait...
Dream.In.Code
>
Programming Help
>
Visual Basic
Welcome to Dream.In.Code
Getting VB Help is Easy!
Join 136,561 VB Programmers for FREE!
Get instant access to thousands
of VB experts, tutorials, code snippets, and more! There are 1,901 people online right now.
Registration is fast and FREE...
Join Now!
Chat
LIVE
With a VB Expert
delete file using VB
delete file using VB, VB
Options
HemantKumarPrajapat
11 May, 2008 - 10:41 PM
Post
#1
New D.I.C Head
Joined:
11 May, 2008
Posts:
1
Sir,
Please send me code, that how can i delete any .exe file from any particular location from our system.
thanks
This Post Was Helpful!
Register for Free to Make These Ads Go Away!
Zhalix
RE: Delete File Using VB
11 May, 2008 - 10:59 PM
Post
#2
D.I.C Head
Joined:
7 May, 2008
Posts:
218
Thanked:
9 times
My Contributions
I'd use the kill function. It works like this
Kill "C:\....."
So if you wanted to delete a .exe named "Apple" that was stored in C:\Program Files then...
CODE
Kill "C:\Program Files\Apple.exe"
This post has been edited by
Zhalix
: 11 May, 2008 - 11:00 PM
This Post Was Helpful!
Display Mode:
Standard
·
Switch to: Linear+
·
Switch to: Outline
Track this topic
·
Email this topic
·
Print this topic
·
Subscribe to this forum
Time is now: 12/2/08 11:37PM
Invision Power Board
v2.1.7 © 2008 IPS, Inc.
Licensed to: MediaGroup1
Advertising
|
Terms of Use
|
Privacy Policy
|
About Us
|
Site Map
Forum Index:
Programming Help
|
C and C++
|
Visual Basic
|
Java
|
VB.NET
|
C#
|
ASP.NET
|
PHP
|
ColdFusion
|
Perl and Python
|
Ruby
|
Databases
|
Other Languages
|
Game Programming
|
Software Development
|
Computer Science
|
Industry News
|
Programming Tutorials
|
C++ Tutorials
|
Visual Basic Tutorials
|
Java Tutorials
|
VB.NET Tutorials
|
C# Tutorials
|
PHP Tutorials
|
Linux Tutorials
|
ColdFusion Tutorials
|
Windows Tutorials
|
HTML/JavaScript Tutorials
|
CSS Tutorials
|
Flash Tutorials
|
Web Promotion Tutorials
|
Photoshop Tutorials
|
Software Development Tutorials
|
Database Tutorials
|
Other Language Tutorials
|
Copyright 2001-2008
MediaGroup1 LLC
, All Rights Reserved
A
MediaGroup1 LLC
Production - Version 6.0.2.1.36
Search
Updated!
w00t
Over 509,000 Pages!
Advanced Forum Search
Live VB Help!
VB Tutorials
Visual Basic 6 Library Functions – String Type
Visual Basic 6 Quick Reference (Cheat Sheet)
File Handling in Visual Basic 6 Part 1 - Sequential Files
Visual Basic 6 Library Functions – Numeric Type
Connecting to a SQL Server database using ADODB
Creation of Simple Splash Screen - VB2005
Resize Form & Controls For Screen Size - VB6
DISASSEMBLING VISUAL BASIC APPLICATIONS
Visual Basic 6 -Determining Each Character in VB
Non-Repeating Random Numbers
35 More VB Tutorials...
Reference Sheets
VB Snippets
Reading a Text file Line by Line
Shutdown Computer from VB
RoundUp and RoundDown functions in VB 6.0
Open & Saving .txt files
Starting an *.exe file from VB6 code
calculator
Analog Clock
Open/Close your CD-Drive.
Open/Close your CD-Drive door.
TextBox Telephone Number Formatting
110 More VB Snippets...
DIC Chatroom
Join our IRC Chat
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
sharpy
(50)
KYA
(50)