para Posted January 15, 2005 Share Posted January 15, 2005 I want my program to start internet explorer with my specified page already inputed.The problem I run into is that some of the sites contain "=" signs and that is causing a problem.Run("explorer http://www.mysite/com/1142312=click/")That = sign before click makes it think that I want to run directory "click" and causes it not to work.I am 100% sure the = sign is what is messing it up, I have done alot of testing.This is beating my head in ... is this a bug?What can I do to fix this?Thanks a ton! -Para Link to comment Share on other sites More sharing options...
Insolence Posted January 15, 2005 Share Posted January 15, 2005 Maybe, Run("explorer 'http://www.mysite.com/1142312=click/'") ? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
para Posted January 15, 2005 Author Share Posted January 15, 2005 Naw same error just this time the site is in quotes. It talks about "Invalid Directory..." I tried what you mentioned, thanks for tryin to help out. Anyone else got any ideas? -para Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 15, 2005 Share Posted January 15, 2005 Naw same error just this time the site is in quotes. It talks about "Invalid Directory..."I tried what you mentioned, thanks for tryin to help out. Anyone else got any ideas?-para<{POST_SNAPBACK}>Hell test this dos comand pls i hope that help you out $rc = _RunDOS("start http://www.DirtyBanditos.de.vu/") Link to comment Share on other sites More sharing options...
phillip123adams Posted January 15, 2005 Share Posted January 15, 2005 Run("explorer http://www.mysite/com/1142312=click/")Try: IExplorer.exe:Run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.autoitscript.com/forum/index.php?showtopic=7599#entry53895"') Phillip Link to comment Share on other sites More sharing options...
ezzetabi Posted January 15, 2005 Share Posted January 15, 2005 (edited) Giving the job to Start program $site = 'http://www.hiddensoft.com' Run(@comspec & ' /c start ' & $Site,'',@sw_hide) Calling the dll directly. _ShellExecuteDllCall('http://www.hiddensoft.com', '', '', '') Func _ShellExecuteDllCall($sCmd, $sVerb, $sArg, $sFolder) Local $aRet $aRet = DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", $sVerb, _ "string", $sCmd, "string", $sArg, "string", $sFolder, "long", @SW_SHOWNORMAL) Return $aRet[0] EndFunc ;==>_ShellExecuteDllCall Edited January 15, 2005 by ezzetabi Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 15, 2005 Share Posted January 15, 2005 (edited) Giving the job to Start program$site = 'http://www.hiddensoft.com' Run(@comspec & ' /c start ' & $Site,'',@sw_hide)Calling the dll directly._ShellExecuteDllCall('http://www.hiddensoft.com', '', '', '') Func _ShellExecuteDllCall($sCmd, $sVerb, $sArg, $sFolder) Local $aRet $aRet = DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", $sVerb, _ "string", $sCmd, "string", $sArg, "string", $sFolder, "long", @SW_SHOWNORMAL) Return $aRet[0] EndFunc ;==>_ShellExecuteDllCall<{POST_SNAPBACK}>Hello ezzetabi,thx for your dll call exampel i a newbie on it Edited January 15, 2005 by DirtyBanditos Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now