Click here to Skip to main content
15,900,110 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Crystal Reports Pin
darkelv8-Jun-06 4:21
darkelv8-Jun-06 4:21 
QuestionTyping in Unicode... Pin
padma_016-Jun-06 23:06
padma_016-Jun-06 23:06 
QuestionUsing popup calendar control in nested datagrids Pin
bala246-Jun-06 22:47
bala246-Jun-06 22:47 
Questionget windows directory path Pin
Mridang Agarwalla6-Jun-06 21:26
Mridang Agarwalla6-Jun-06 21:26 
AnswerRe: get windows directory path Pin
sathish s6-Jun-06 21:47
sathish s6-Jun-06 21:47 
Questionhow to rename a txt file VB.NET Pin
Member 22716556-Jun-06 21:16
Member 22716556-Jun-06 21:16 
AnswerRe: how to rename a txt file VB.NET Pin
sathish s6-Jun-06 21:52
sathish s6-Jun-06 21:52 
GeneralRe: how to rename a txt file VB.NET Pin
Member 22716556-Jun-06 23:31
Member 22716556-Jun-06 23:31 
Thanks for ur responce
I am vc++ programmer new to .net

i did the same but

I am getting exception

The process cannot access the file because it is being used by another process...

this is the code


oFile1.Delete("C:\WINDOWS\Doctors.txt")

System.IO.File.Move("C:\Windows\tempdoc.txt", "C:\Windows\Doctors1.txt")
'oFile1.Move("c:\Windows\tempdoc.txt", "C:\Windows\Doctors1.txt")


even the both r giving the samte error

Can you Please Advice me

GeneralRe: how to rename a txt file VB.NET Pin
J4amieC6-Jun-06 23:34
J4amieC6-Jun-06 23:34 
GeneralRe: how to rename a txt file VB.NET [modified] Pin
Member 22716556-Jun-06 23:51
Member 22716556-Jun-06 23:51 
GeneralRe: how to rename a txt file VB.NET [modified] Pin
J4amieC7-Jun-06 0:23
J4amieC7-Jun-06 0:23 
GeneralRe: how to rename a txt file VB.NET Pin
sathish s6-Jun-06 23:43
sathish s6-Jun-06 23:43 
GeneralRe: how to rename a txt file VB.NET [modified] Pin
Member 22716556-Jun-06 23:58
Member 22716556-Jun-06 23:58 
Questionhelp on Date ? Pin
Ron.S6-Jun-06 20:50
Ron.S6-Jun-06 20:50 
AnswerRe: help on Date ? Pin
sathish s6-Jun-06 21:57
sathish s6-Jun-06 21:57 
QuestionHow to create a file in VB having header information Pin
himuskanhere6-Jun-06 20:45
himuskanhere6-Jun-06 20:45 
QuestionChange access form when change screen resolution Pin
Mekong River6-Jun-06 16:12
Mekong River6-Jun-06 16:12 
QuestionWeb custom controls in VB.net ASP 2.0 Pin
David Pretorius6-Jun-06 14:32
David Pretorius6-Jun-06 14:32 
Questionhelp files Pin
_tasleem6-Jun-06 13:06
_tasleem6-Jun-06 13:06 
AnswerRe: help files Pin
Joshua Quick6-Jun-06 14:50
Joshua Quick6-Jun-06 14:50 
QuestionHELP! Errors while attempting to import a DLL Pin
b_girl6-Jun-06 11:11
b_girl6-Jun-06 11:11 
AnswerRe: HELP! Errors while attempting to import a DLL Pin
progload6-Jun-06 12:21
progload6-Jun-06 12:21 
GeneralRe: HELP! Errors while attempting to import a DLL Pin
b_girl6-Jun-06 12:55
b_girl6-Jun-06 12:55 
GeneralRe: HELP! Errors while attempting to import a DLL Pin
progload6-Jun-06 14:13
progload6-Jun-06 14:13 
QuestionSet tab stop in vb.net [modified] Pin
New_Coder6-Jun-06 9:19
New_Coder6-Jun-06 9:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.