Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddPort
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00995563
Message ID:
00995965
Views:
22
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...
Previous
Reply
Map
View

Click here to load this message in the networking platform