Sign in to follow this  
Followers 0
JamesWilcox

How to you pass a directory and file name to a text control?

2 posts in this topic

How to you pass a directory and file name to a text control? I need to pass a filename, and filepath to a control, how do you do it? Please help me....

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Perhaps _PathSplit might help.

You then take that and, using GUICtrlSetData, you can update the data to the control.

Here's and example of it being used:

#include <file.au3>
#include <array.au3>
Dim $szDrive, $szDir, $szFName, $szExt ; creates variables
$TestPath = _PathSplit(@ScriptFullPath, $szDrive, $szDir, $szFName, $szExt) ; gets the info on file
_ArrayDisplay($TestPath,"Demo _PathSplit()")oÝ÷ Ù«­¢+Ø¥¹±Õ±Ðí¥±¹ÔÌÐì(¥¹±Õ±ÐíÉÉä¹ÔÌÐì)¥´ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáÐ(ÀÌØíQÍÑAÑ ô}AÑ¡MÁ±¥Ð¡MÉ¥ÁÑÕ±±AÑ °ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáФ(ÀÌØí±°ôU%
Ñɱ
ÉÑ1° ÅÕ½ÐìÅÕ½Ðì°ÄÀ°ÌÀ¤ìÉṈ̃°)U%
ÑɱMÑÑ ÀÌØí±°°ÅÕ½Ðí¥ÉѽÉäèÅÕ½ÐìµÀìÀÌØíÍé¥ÈµÀì
HµÀìÅÕ½Ðí¥±9µèÅÕ½ÐìµÀìÀÌØíÍé9µ¤ìÍ¡½ÝÌ¥ÉѽÉä¹¥±¹µ
Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0