Solved

Remove and add an extension.

Posted on 2007-03-21
1
120 Views
Last Modified: 2010-04-23
strCSVZipFlatFileName = StrFileName & ".zip"


There is a bug above and we need to make sure that the below .csv is replace by .zip.
What should I do to replace the above to conform to this?
"C:\SourceControl_mcupryk\InHouseDev\INTRANET\Intranet_DEVEL_2005\StoreSupply\AssignmentEGCNumber\tmpdownload\P.safeway_assigned.20070321_1034.csv"
0
Comment
Question by:mathieu_cupryk
1 Comment
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18764241
strCSVZipFlatFileName = Replace(StrFileName, ".zip", ".csv")

or more .net~ish...

strCSVZipFlatFileName = StrFileName.Replace(".zip", ".csv")

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Check if number is currency 15 31
Form design in vb.net 7 34
Vb.Net Date Formatting Assistance 4 35
Help with LINQ and XML 10 27
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

896 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

19 Experts available now in Live!

Get 1:1 Help Now