Jump to content
Sign in to follow this  
kra55

Joining Strings...

Recommended Posts

kra55

Hey Everyone resolved the last issue :D....

So with the following code for some reason i cant join the strings......

As it is atm it will display 0 is the msg box

if i remove the second gettext it will get the text from Edit one.

So based on this i feel the second gettext is the issue but i dont know exactly what i am doing wrong.....

Thank you in advance ;)

Dim $Adddet = "Test"

WinActivate("Details", "")

$Adddet = ControlGetText("Details", "", "Edit1")

$Adddet = $Adddet + " " + ControlGetText("Details", "", "ComboBox1")

MsgBox(0, "Tutorial", $Adddet)

Share this post


Link to post
Share on other sites
enaiman

"&" is for concatenation not "+"

$Adddet = $Adddet & " " & ControlGetText("Details", "", "ComboBox1")


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
kra55

"&" is for concatenation not "+"

$Adddet = $Adddet & " " & ControlGetText("Details", "", "ComboBox1")

Thank you soooooo much ;)

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  

×