Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

say I wanted to change an extension from .wpd to .txt.

 

I know how to read a filename, at that point I'd have to search for the .wpd and if found, replace it.

 

I'm not sure how to do the replacing in .net.

 

Could anyone help me out ?

Posted

Thats was one theory I had. I was looking for the least drain on resources... I guess I figured it was quicker/easier for VB.Net to just rename it rather than make a copy of it, then delete it...

 

I don't care, they're all small files and my boss didn't give me any speed or resource considerations, just trying to make it as streamlined as possible.

 

Hey, that might work out fine... let the boss get the crappy version, he's happy... later on I figure out how to rename properly and the process is done in half the time and I look smart :P

 

I'm sure Dilbert would have a name for this, and it would involve Weasel :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...