CASE %IDC_LOOKUP
LOCAL zString AS ASCIIZ * %MAX_PATH
zString = "http://www.mapquest.com/maps?1c="+IDC_CITY+"&1s="+IDC_STATE+"&1a="+IDC_ADDORINTERSECT+"&1z="+IDC_STARTZIP+"&2c="+IDC_CITY+"&2s="IDC_ENDINGSTATE+"&2a="+IDC_ENDADDINTERSECT+"&2z="+IDC_ENDINGZIPLOCATION
ShellExecute BYVAL %Null, "open", zString, BYVAL %Null, BYVAL %Null, %SW_ShowNormal
END SELECT
Compile failed on line that starts with zString
I assume I am making a mistake on how to get the text out of the edit fields
my edit fields are called IDC_NAME, etc. How do I get the text out of the edit field and put the string in the URL that I am going to launch.
LOCAL zString AS ASCIIZ * %MAX_PATH
zString = "http://www.mapquest.com/maps?1c="+IDC_CITY+"&1s="+IDC_STATE+"&1a="+IDC_ADDORINTERSECT+"&1z="+IDC_STARTZIP+"&2c="+IDC_CITY+"&2s="IDC_ENDINGSTATE+"&2a="+IDC_ENDADDINTERSECT+"&2z="+IDC_ENDINGZIPLOCATION
ShellExecute BYVAL %Null, "open", zString, BYVAL %Null, BYVAL %Null, %SW_ShowNormal
END SELECT
Compile failed on line that starts with zString
I assume I am making a mistake on how to get the text out of the edit fields
my edit fields are called IDC_NAME, etc. How do I get the text out of the edit field and put the string in the URL that I am going to launch.
Comment