Disable/Enable tsNet for Indy and Business editions

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Disable/Enable tsNet for Indy and Business editions

Post by [-hh] » Tue Sep 10, 2019 4:57 pm

If you have problems with a connection on Indy/Business but not on the Community edition of LC 9, then the culprit is possibly tsNet.

So you could make a checkbox button and try:

Code: Select all

-- Panos' method
on mouseUp
  if not the hilite of me then
    dispatch "revunloadlibrary" to stack tsnetliburl
  else
    dispatch "revloadlibrary" to stack tsnetliburl
  end if
end mouseUp
You can currently test that with "Sample stacks" from the LC toolbar.
  • Close the "Sample Stacks" window, DISABLE tsNet, open the "Sample Stacks" window and it will work,
  • Close the "Sample Stacks" window, ENABLE tsNet, open the "Sample Stacks" window and it will NOT work.
shiftLock happens

Post Reply

Return to “Internet”