Solved

Remove and add an extension.

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

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

19 Experts available now in Live!

Get 1:1 Help Now