dkwokgs Posted October 6, 2006 Posted October 6, 2006 http://windowssdk.msdn.microsoft.com/en-us...y/ms720273.aspxhow to use AUTOIT to pull the "NPSearchDialog" resultI want to create a script to try check is the computer can browse a certain path on the network. I do not want to map. Please advise. Thanks
CoePSX Posted October 6, 2006 Posted October 6, 2006 You can use DLLCall to do that. Look at the helpfile and you'll understand how. [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
dkwokgs Posted October 6, 2006 Author Posted October 6, 2006 (edited) CoePSX said: You can use DLLCall to do that. Look at the helpfile and you'll understand how.I tried reading it. Sorry I am very new to dll. I do not understand how to call and which dll to call. Also tried searching but no luck. Please advise. Edited October 6, 2006 by dkwokgs
CoePSX Posted October 6, 2006 Posted October 6, 2006 I don't know the name of the library wich contains this functions, but here's a scrap: #cs DWORD NPSearchDialog( HWND hParent, LPNETRESOURCE lpNetResource, LPVOID lpBuffer, DWORD cbBuffer, LPDWORD lpnFlags ); #ce DllCall ("YOURDLLHERE.dll", "long", "NPSearchDialog", _ "hwnd", $hParent, _ "ptr", $lpNetResource, _ "ptr", $lpBuffer, _ "long", $cbBuffer, _ "ptr", $lpnFlags) [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
Nezoic Posted October 6, 2006 Posted October 6, 2006 CWorks said: it comes from mpr.dllCheck this out, I was having issues as well.http://www.autoitscript.com/forum/index.php?showtopic=33676
dkwokgs Posted October 13, 2006 Author Posted October 13, 2006 (edited) Nezoic said: Check this out, I was having issues as well.http://www.autoitscript.com/forum/index.php?showtopic=33676Thanks a lot. Cos I am very new to dlls. I am trying to learn how to call function. Is there a site which explain it in simple english with example?I am trying to find to initiate a browse function to check where a path is accessible to a user and return 1 or 0.eg. \\win3ksvr\data Thanks. Edited October 13, 2006 by dkwokgs
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