Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a class that emulates the SET command ?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00504523
Message ID:
00504765
Views:
17
>Some time ago, Ed Rauh was kind enough to provide me with some code for managing data sessions (which works beautifully, I might add). Thread# 316297, Message# 316405.

Unfortunatley, thats not somethign you can just plug into your code and see how many sessions are avialable. The way I do it is like this:
on error lnDS = lnDS - 1
lnDS = MAX_DATASESSIONS
for x = 1 to MAX_DATASESSIONS
	lcSetDS = "set datasession to " + str(x)
	&lcSetDS
endfor
?lnDS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform