VBNET2008 Validate File Extension
Hullo Good Friends,
I need your help. Please help me.
I am using VBNET2008 to develop Window application and I encounter coding problem as I don't know how to write the coding to check the File Extension.
Example of File name Sales.XLS. I want to check and confirm that the extension .xls exist
Please share with me the coding to validate and check the extension.
Thank You for your help
Split into its own thread
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
If you are trying to find out if a particular extension has a Registered application assigned to it, then you need to check the registry. The following link has a VB.Net routine that looks up the Registered Application for a particular extension.
Last Post: 05-30-2010, 10:35 PM
By JavaFaces in forum Java
Last Post: 02-14-2006, 08:04 AM
By Todd Chen in forum VB Classic
Last Post: 12-07-2001, 02:06 PM
By Sue in forum VB Classic
Last Post: 11-14-2001, 11:33 PM
By Cynthia Leslie in forum Java
Last Post: 06-09-2001, 07:43 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL