TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nick Snyder
NA
1
0
Deleting files in vb.net
Jul 18 2007 6:22 PM
I have a small program that's only purpose is to delete another executable in the startup menu. Dim user As String = SystemInformation.UserName Dim firstpart As String = "c:\documents and settings\" Dim third As String = "\Start Menu\Programs\startup\LP2007.exe" Dim full As String = firstpart & user & third System.IO.File.Delete(full) While this works fine on my computer that i'm developing on, when i go to test this on a different machine I get a fatal error saying that it can't find the specified file. Can anyone shed some light as to why this is happening? Thanks
Reply
Answers (
1
)
Error Executing an Insert Statement
use bitmap or draw directly?