B Basseman Member Licensed User Feb 6, 2009 #1 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:sign0085:
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:sign0085:
D digitaldon37 Active Member Licensed User Longtime User Feb 6, 2009 #2 Basseman said: 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:sign0085: Click to expand... Filename Returns the file name without the path. Syntax: FileName (File) Example: Name = FileName (OpenDialog1.File)
Basseman said: 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:sign0085: Click to expand... Filename Returns the file name without the path. Syntax: FileName (File) Example: Name = FileName (OpenDialog1.File)
B Basseman Member Licensed User Feb 6, 2009 #3 Thanx alot... digitaldon37 said: Filename Returns the file name without the path. Syntax: FileName (File) Example: Name = FileName (OpenDialog1.File) Click to expand...
Thanx alot... digitaldon37 said: Filename Returns the file name without the path. Syntax: FileName (File) Example: Name = FileName (OpenDialog1.File) Click to expand...