Hello Anatoliy
Yes it works for me too. and i can top that one:
? "AddPort:", AddPort(Null, 0, "Standard TCP/IP Port")
this will bring up a dialog box to add a network port.
but my problem is, i need to to this automaticly/programaticly in the background. i have the port address, server name, etc at the time. but i just cant figer out how to do this (on a windows98 and up machine)
Thanks.
>This code worked for me
>DECLARE INTEGER AddPort IN winspool.drv;
> STRING pName, INTEGER hWindow,;
> STRING pMonitorName
>
>? "AddPort:", AddPort(Null, 0, "Local Port")
>
>It displays a dialog box...