Sign in to follow this  
Followers 0
James

Using drop down boxes

5 posts in this topic

I think this will be my last question for today :P

I have a drop down box which has google and yahoo in. I basically need the user to type in what they want to search for and then select if it searchs Yahoo or Google.

$SearchInput = GUICtrlCreateInput("", 15, 10, 435, 21)
$Search = GUICtrlCreateButton("&Search", 536, 8, 72, 25, 0)
$Engine = GUICtrlCreateCombo("Pick one!", 456, 10, 73, 25)
GUICtrlSetData(-1, "Google|Yahoo")
oÝ÷ ØZ½æ®¶­s`¤66Rb33cµ6V&6 6VÆÄWV7WFRgV÷C·wwrævöövÆRæ6öÒ÷6V&6÷ÒgV÷C²fײuT7G&Å&VBb33cµ6V&6çWB

Thanks

Secure

Share this post


Link to post
Share on other sites



That doesn't work :P

First it is an idea more than exact code, but i did find one error here

If StringInStr(GUICtrlRead($Engine), "Google") Then

; the ")" after engine

but the Yahoo is not correct, you need to finish the line

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

ShellExecute("http://search.yahoo.com/search;_ylt=A0oGki6dHJRFEk0AtBxXNyoA?p=" & GUICtrlRead($SearchInput) & "&prssweb=Search&ei=UTF-8&fr=yfp-t-501&fp_ip=UK&x=wrt&meta=0")
oÝ÷ Øay0¢¹,~Øj(lGb´p¢¹,©ä³}ÿm«­¢+Ø)
ÍÀÌØíMÉ (%%MÑÉ¥¹%¹MÑÈ¡U%
ÑɱI ÀÌØí¹¥¹¤°ÅÕ½Ðí½½±ÅÕ½Ðì¤Q¡¸($%M¡±±áÕÑ ÅÕ½ÐíÝÝܹ½½±¹½´½ÍÉ ýÄôÅÕ½ÐìµÀìU%
ÑɱI ÀÌØíMÉ¡%¹ÁÕФ¤($%±Í($%M¡±±áÕÑ ÅÕ½Ðí¡ÑÑÀè¼½ÍÉ ¹å¡½¼¹½´½ÍÉ í}å±ÐõÁ½­¤Ù!)I¬ÁÑ    áa9å½ýÀôÅÕ½ÐìµÀìU%
ÑɱI ÀÌØíMÉ¡%¹ÁÕФµÀìÅÕ½ÐìµÀíÁÉÍÍÝõMÉ µÀí¤õUQ´àµÀíÈõåÀµÐ´ÔÀĵÀíÁ}¥ÀõU,µÀíàõÝÉеÀíµÑôÀÅÕ½Ðì¤(%¹%(

Edited by Secure_ICT

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