Hi there,
I'm getting the hang of kixtart but maybe someone can help me out with this problem.
I use KiXGUI 1.0 also to get that nice interface.
Trough a function (a part is shown below) I read strings from a ini file:
Code:
Dim $tmpDrv
$Sec = ReadProfileString($inFile,$inSec,"")
$aMaps = Split($Sec,Chr(10),-1)
$ileft = 3
$itop = 6
For Each $a In $aMaps
$tmpDrv = ReadProfileString($inFile,$inSec,$a)
$aParms = Split($tmpDrv,",")
$act = Ubound($aParms)
If $act = 1
If Exist ($aParms[1])
Use $aParms[0] + ":" $aParms[1]
$path = $aParms[0] + ":" + $aParms[1]
$form.text = $form.text + $path + Chr(13) + Chr(10)
Else
$form.text = $form.text + "Error bij het aanmaken" + $aParms[1] + Chr(13) + Chr(10)
EndIf
EndIf
Next
$GroupMap = 1
EndFunction
Many of you will know this code. I ripped it from the internet.
With the use of the ini file it works fine, but when a macro is defined the string would not recognize the part of the string (\\servername\$USERID). Can someone help me out how to read or convert this so the username is given right?
Sorry for the worse english.
Martin