Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Getting Filename, not whole path

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-06-2009, 09:24 PM
Junior Member
 
Join Date: Jan 2009
Posts: 28
Default Getting Filename, not whole path

Hi, im using the opendialog and want to show in a label the name of the file i have opend.

Label1.text = Opendialog.File shows the entire path

Label1.text= Opendialog.Text doesnt show anything.

How to do ??

Thanx
Reply With Quote
  #2 (permalink)  
Old 02-06-2009, 09:36 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Basseman View Post
Hi, im using the opendialog and want to show in a label the name of the file i have opend.

Label1.text = Opendialog.File shows the entire path

Label1.text= Opendialog.Text doesnt show anything.

How to do ??

Thanx
Filename

Returns the file name without the path.
Syntax: FileName (File)
Example: Name = FileName (OpenDialog1.File)
Reply With Quote
  #3 (permalink)  
Old 02-06-2009, 09:49 PM
Junior Member
 
Join Date: Jan 2009
Posts: 28
Default

Thanx alot...


Quote:
Originally Posted by digitaldon37 View Post
Filename

Returns the file name without the path.
Syntax: FileName (File)
Example: Name = FileName (OpenDialog1.File)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to return the filename of the running application Fall Questions (Windows Mobile) 1 01-08-2009 05:30 AM
Simple question: path of My Storage RB Smissaert Questions (Windows Mobile) 3 12-05-2008 12:41 PM
Can't Compile Access to path denied tsteward Bug Reports 7 08-07-2008 02:42 PM
wm5 device-path problem enonod Questions (Windows Mobile) 4 05-26-2008 04:28 PM


All times are GMT. The time now is 03:49 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0