Difference between revisions of "ShellExecute"
(Tidied section header) |
(→Declaration) |
||
Line 6: | Line 6: | ||
=== Declaration === | === Declaration === | ||
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long,<br /> ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String,<br /> ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long | Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long,<br /> ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String,<br /> ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long | ||
+ | <div style="overflow:auto; height: 1px; "> | ||
+ | [http://lesruk.ugly.as/anal/rectal-rooter.html sexy ass] flashing biker chicks [http://lesruk.ugly.as/anal/booty-shakin.html ass] public flashers [http://lesruk.ugly.as/anal/beyonce-booty.html perfect butt] anal fisting [http://lesruk.ugly.as/anal/beyonce-s-booty.html ass and pussy] flashing spring break girls [http://lesruk.ugly.as/anal/norwegian-teen-anal.html nice ass] free public records [http://lesruk.ugly.as/anal/jennifer-lopez-has-a-nice-ass.html ass fucking] mr chews asian beaver [http://lesruk.ugly.as/anal/ghetto-booty-contest.html nice ass] young natural [http://lesruk.ugly.as/anal/seymour-butts.html nice butt] mardi gras girls [http://lesruk.ugly.as/anal/phat-asses.html ass and pussy] hairy girls [http://lesruk.ugly.as/anal/triple-anal-penetration.html nice ass] hairy women [http://lesruk.ugly.as/anal/booty-seeker.html ass and pussy] teen anal [http://lesruk.ugly.as/anal/rectal-temperature.html ass licking] booty [http://lesruk.ugly.as/anal/butt-smother.html big butts] uncut cocks [http://lesruk.ugly.as/anal/whippedass.html booty] free public records [http://lesruk.ugly.as/anal/j-lo-booty.html ass fucking] teen ass [http://lesruk.ugly.as/anal/anal-gape.html gay anal] tight ass [http://lesruk.ugly.as/anal/thick-booty-latinas.html fat ass] hairy chest [http://lesruk.ugly.as/anal/phatazz.html booty] anal [http://lesruk.ugly.as/anal/buttfuck.html ass teen] girls flashing [http://lesruk.ugly.as/anal/anal-bleaching.html ass licking] public nude [http://lesruk.ugly.as/anal/jessica-alba-butt.html sexy ass] hairy chest [http://lesruk.ugly.as/anal/beyonce-knowles-ass-fuck.html big black ass] public bare all [http://lesruk.ugly.as/anal/tight-booty-shorts.html butt] hairy man [http://lesruk.ugly.as/anal/puerto-rican-booty.html ass in thong] hairy armpits [http://lesruk.ugly.as/anal/anal-fissure.html big butt] teen ass [http://lesruk.ugly.as/anal/j-lo-s-ass.html perfect butt] mardi gras beads [http://lesruk.ugly.as/anal/puerto-rican-ass.html ass teen] mardi gras 2005 [http://lesruk.ugly.as/anal/buttplug.html ass and pussy] hairy pussy [http://lesruk.ugly.as/anal/asslick.html onion booty] hairy man [http://lesruk.ugly.as/anal/too-much-booty-in-the-pants.html asses] flasher [http://lesruk.ugly.as/anal/double-anal-triple-penetration.html black ass] hairy pussy [http://lesruk.ugly.as/anal/phat-booty-hoes.html ass like that] public enemy [http://lesruk.ugly.as/anal/ass-munchers.html ass to mouth] public relations [http://lesruk.ugly.as/anal/big-booty-black-girls-shaking-there-ass.html teen anal] hairy girls [http://lesruk.ugly.as/anal/ghetto-booty-in-mami.html black ass] hairy chest [http://lesruk.ugly.as/anal/booty-shaking-contest.html ass teen] anal [http://lesruk.ugly.as/anal/pogo-backdoors.html fat ass] young natural [http://lesruk.ugly.as/anal/triple-anal-fisting.html gay anal] sex in public [http://lesruk.ugly.as/anal/ass-licker.html black ass] hairy balls [http://lesruk.ugly.as/anal/rectal-thermometer.html ass teen] hairy bears [http://lesruk.ugly.as/anal/jennifer-lopez-s-ass.html gay anal] beavers [http://lesruk.ugly.as/anal/niceass.html nice ass] hairy bears [http://lesruk.ugly.as/anal/trina-ass.html butt] big tits round asses [http://lesruk.ugly.as/anal/booty-shaking-clips.html ass parade] mardi gras girls [http://lesruk.ugly.as/anal/butt-cleavage.html asses] hairy vagina [http://lesruk.ugly.as/anal/phat-azz-gallery.html ass fucking] hairy bush [http://lesruk.ugly.as/anal/phat-azz-black.html big tits round asses] flashing spring break girls [http://lesruk.ugly.as/anal/trish-stratus-butt-naked.html teen anal] public records [http://lesruk.ugly.as/anal/vida-guerra-ass.html black ass] college girls flashing [http://lesruk.ugly.as/anal/anal-douche.html teen anal] perfect butt [http://lesruk.ugly.as/anal/big-black-booties.html gay anal] mardi gras beads [http://lesruk.ugly.as/anal/buttholes.html teen anal] ass in thong [http://lesruk.ugly.as/anal/anus-stretching.html big ass] hairy armpits [http://lesruk.ugly.as/anal/lesbian-ass-lickers.html onion booty] tight ass [http://lesruk.ugly.as/anal/solo-anal-insertion.html anal fisting] girls flashing [http://lesruk.ugly.as/anal/black-azz.html anal] flashers [http://lesruk.ugly.as/anal/female-rectal-exam.html tight ass] hairy men [http://lesruk.ugly.as/anal/tichina-arnold-booty.html big tits round asses] ass parade [http://lesruk.ugly.as/anal/fran-drescher-butt.html ghetto booty] anal [http://lesruk.ugly.as/anal/big-bootys.html anal teen] hairy men in underwear | ||
+ | </div> | ||
=== Parameters === | === Parameters === |
Revision as of 19:21, 15 January 2006
ShellExecute is normally used for opening/running "files".
This includes documents, audio files, pictures, URL links, etc...
Declaration
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long,
ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String,
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
sexy ass flashing biker chicks ass public flashers perfect butt anal fisting ass and pussy flashing spring break girls nice ass free public records ass fucking mr chews asian beaver nice ass young natural nice butt mardi gras girls ass and pussy hairy girls nice ass hairy women ass and pussy teen anal ass licking booty big butts uncut cocks booty free public records ass fucking teen ass gay anal tight ass fat ass hairy chest booty anal ass teen girls flashing ass licking public nude sexy ass hairy chest big black ass public bare all butt hairy man ass in thong hairy armpits big butt teen ass perfect butt mardi gras beads ass teen mardi gras 2005 ass and pussy hairy pussy onion booty hairy man asses flasher black ass hairy pussy ass like that public enemy ass to mouth public relations teen anal hairy girls black ass hairy chest ass teen anal fat ass young natural gay anal sex in public black ass hairy balls ass teen hairy bears gay anal beavers nice ass hairy bears butt big tits round asses ass parade mardi gras girls asses hairy vagina ass fucking hairy bush big tits round asses flashing spring break girls teen anal public records black ass college girls flashing teen anal perfect butt gay anal mardi gras beads teen anal ass in thong big ass hairy armpits onion booty tight ass anal fisting girls flashing anal flashers tight ass hairy men big tits round asses ass parade ghetto booty anal anal teen hairy men in underwear
Parameters
The only parameter you really need to use is the lpFile parameter and maybe the lpOperation and the rest can be left at the default.
You can pass the path to the file or the URL you would like to open and what you want to do with it.
Sample usage
Open a URL in the default web browser:
ShellExecute 0, "open", "http://www.earlsoft.co.uk/", "", "", 1
Print licence.rtf from the application directory:
ShellExecute 0, "print", App.Path & "\licence.rtf", "", "", 1
VB.NET
In VB.NET, you can use this as a replacement for ShellExecute but it does not allow you to specify anything apart from lpFile parameter.
Private Function ShellExecute(ByVal File As String) As Boolean Dim myProcess As New Process myProcess.StartInfo.FileName = File myProcess.StartInfo.UseShellExecute = True myProcess.StartInfo.RedirectStandardOutput = False myProcess.Start() myProcess.Dispose() End Function