|
-
How do I take a specific part of text from a label and store it in a variable???
Hello guys!!!
I need your help here...
I have a label which takes a path from a file in my hard drive.
Example: C:\Documents and Settings\All Users\Desktop\none.exe
I want to store this path in to a variable but with out the last part
with file.
Example: C:\Documents and Settings\All Users\Desktop
I don't want to write it manualy.
Example:
Dim A as String
A = "C:\Documents and Settings\All Users\Desktop"
I want to write it like this:
DIM A as String
A = Label1.Caption
So, how can I take a specific part of text from this label and
store it in "A" variable???
Thanx!!!
Last edited by Simonetos; 09-27-2005 at 06:12 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks