General Help regarding HMG, Compilation, Linking, Samples
Moderator: Rathinagiri
-
AUGE_OHR
- Posts: 2117
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
when call "WNetConnectionDialog" i can assign UNC Path to Drive-Letter
Code: Select all
FUNCTION NetConnect()
LOCAL nHandle := GetActiveWindow()
RETURN HMG_CallDLL( "Mpr.dll", DLL_OSAPI, "WNetConnectionDialog", nHandle, RESOURCETYPE_DISK )
Question : how to get "next Dialog" when press "search" for Resource in Network

- Get_UNV_Path.JPG (50.86 KiB) Viewed 618 times
have fun
Jimmy
-
andyglezl
- Posts: 1461
- Joined: Fri Oct 26, 2012 7:58 pm
- Location: Guadalajara Jalisco, MX
-
Contact:
Post
by andyglezl »
Maybe this can help, I just read it I haven't tried it ...
https://stackoverflow.com/questions/587 ... monitoring
With PowerShell...

- imagen_2021-11-03_121237.png (163.42 KiB) Viewed 564 times
.
.

- imagen_2021-11-03_122914.png (25.72 KiB) Viewed 561 times
.
.
Doing it from CMD ...

- imagen_2021-11-03_125522.png (17.87 KiB) Viewed 561 times
.
.
.
O te refieres solo a esto...
*--------------------------------------
Or do you mean just this ...
cFolder := GetFolder( "cTitle", "C:\", , .T., .F., CSIDL_NETWORK, BIF_RETURNONLYFSDIRS )
.
.

- imagen_2021-11-03_162137.png (8.33 KiB) Viewed 548 times
Andrés González López
Desde Guadalajara, Jalisco. México.
-
AUGE_OHR
- Posts: 2117
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
andyglezl wrote: ↑Wed Nov 03, 2021 5:18 pm
Or do you mean just this ...
Code: Select all
cFolder := GetFolder( "cTitle", "C:\", , .T., .F., CSIDL_NETWORK, BIF_RETURNONLYFSDIRS )[
YES, thats it, THX

have fun
Jimmy