Solved

Renaming a file or DIR

Posted on 1998-06-18
5
198 Views
Last Modified: 2010-05-03
How can I rename a file or DIR through VB? (using VB3)
0
Comment
Question by:Corpse
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 500 total points
ID: 1463677
Name sOldName, sNewName
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463678
Oops, that should be:
Name sOldName As sNewName
0
 
LVL 1

Author Comment

by:Corpse
ID: 1463679
Thanks alot.  And I'll give you some extra points for how fast I got an answer.
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463680
500 points isn't exactly what I'd call "some".

Thank you very much!  :)
0
 
LVL 1

Author Comment

by:Corpse
ID: 1463681
Well, I was using this name "Corpse" for experts exchange but then lost the password, so, i use "CoRpSe" now, then I remembered the password so I figured I would get rid of some of those accumulated points.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now