nrp wrote:
> Rolf,
>
> thanks for your reply. I think the WNetConnectionDialog API function
> is exactly what I need, but it needs a handle to the owner window as
> an input parameter, and I have no idea how to obtain this via labview
> (another Win32 function I suppose???)
Search on the Developer Exchange for windows API utility or go directly to
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EF4556A4E034080020E74861&p_node=ZONE&p_source=external
There are functions to retrieve the Windows handle of a window by name.
Bascially you query the Title of a VI through a VI property node and
pass that to the Get Window Handle.vi or similar function. The returned
int32 is the actual window handle.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390