Solved

Remove and add an extension.

Posted on 2007-03-21
1
122 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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