Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: LAN module: How to ... dissipate a vaporware around ThinBASIC

  1. #1

    LAN module: How to ... dissipate a vaporware around ThinBASIC

    To best support our "professional user", we started the ThinBASIC_LAN module.
    The attempt of the new module is give a frendly approach to first discovery the network and then manage it.

    It's build from the scratch so for now we have only the following function:
    • LAN_GetUserInformation()
    • LAN_GetMachineInformation()
    • LAN_GetGroupInformation()
    • LAN_GetDCName()
    • LAN_GetUseInformation()
    • UPDATED 16/09/2007
    • LAN_GetUniversalName()
    • LAN_GetConnectionName()
    • LAN_GetRemainingName()
    • UPDATED 17/09/2007
    • LAN_GetUser()
    • UPDATED 18/09/2007
    • LAN_ConnectDialog()
    • LAN_DisconnectDialog()
    • UPDATED 20/09/2007
    • LAN_GetLastExtendedError()
    • LAN_AddConnection()
    • LAN_CancelConnection()


    Both the five functions required at least Windows NT Workstation and off course a network available.
    If you wish to use the function LAN_GetUseInformation() in order to gathering USE information from a remote computer, then the remote computer must support remote RPC calls using the legacy Remote Access Protocol mechanism.
    Note that the LAN_GetUseInformation() function lists all current connections between the local computer and resources on remote servers (must be at least one active) .

    Any comments and/or suggestions will be very appreciated.

    Regards,
    Roberto
    Attached Files Attached Files
    http://www.thinbasic.com

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,086
    Blog Entries
    5
    Rep Power
    725

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Hi Roberto,

    this seems like a good set.
    I have not real LAN at home, just few PCs connected to internet via router ( but PCs cannot see each other ).
    Even in such a situation your module is able to give some interesting information, which is nice ( mostly the LAN_QueryInformation.tbasic, others return empty info ).


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Well, I'll add some new functions ASAP (may be available also with Windows 98 PC).

    Ciao,
    Roberto
    http://www.thinbasic.com

  4. #4
    thinBasic MVPs
    Join Date
    Sep 2006
    Posts
    3,289
    Blog Entries
    2
    Rep Power
    343

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Hi Roberto,

    I have two PC's connected with a wireless lan and I can see the other PC's folder showing in the LAN_UseEnum script

  5. #5
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    64
    Posts
    3,869
    Rep Power
    401

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    I don't have my network setup Roberto, but will report back when it is up.

    As something totally not relating to anything here, but something I think of when I see Roberto...
    There was a really funny movie with Adam Sandler, The Waterboy. He is from a poor cajun family in the deep south.
    His Dad leaves his Mom and goes to New Orleans to make money for the family. He first writes home and signs the letter Bob.
    Then a few letters later he uses, Robert and then finally he writes to say he won't be coming home and wishes them a good life and signs it Roberto.
    You can tell he fit into New Orleans and went upscale from his roots and it was very funny. I hope the humor of this scene comes across in writing
    I thought it was a clever way of showing how people can change when they move somewhere else, some good writing to come up with that.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  6. #6

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    I know, a football team water boy, really a funny movie.

    Added to the ThinBASIC lan module the following functions:

    • LAN_GetUniversalName()
    • LAN_GetConnectionName()
    • LAN_GetRemainingName()


    Primary scope of these functions is retrive the full UNC name of file on local or remote share, retrive only the share or the remaining name on the share.
    Please note that both functions are available on Windows 98 so in the upgraded zip file you'll find also the thinBasic_LAN9x.dll.
    If you wish to work in Windows 98 rename it to thinBasic_LAN.dll before putting into the \thinBasic\Lib folder.

    Ciao,
    Roberto

    http://www.thinbasic.com

  7. #7

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Added LAN_GetUser() function that retrieves the current default user name, or the user name used to establish a network connection.
    The function is available from Windows 98, the above ThinBasic_LAN.zip file is updated.

    Ciao,
    Roberto
    http://www.thinbasic.com

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,086
    Blog Entries
    5
    Rep Power
    725

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Hi Roberto,

    thanks for your continuous work on LAN module!


    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #9
    thinBasic MVPs
    Join Date
    Sep 2006
    Posts
    3,289
    Blog Entries
    2
    Rep Power
    343

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    Hi Roberto, latest enhancements doesn't show anything here.

  10. #10
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10

    Re: LAN module: How to ... dissipate a vaporware around ThinBASIC

    LAN_GetUser will return the user name used to mount a LAN resource.

    Imagine you have shared a resource on \\Server, so something like \\Server\ShareName
    Imagine a client has mounted and mapped \\Server\ShareName as drive S:
    LAN_GetUser("S:") will return the user associated with that mounted resource.

    If you do not have any mounted S: drive, than LAN_GetUser will not show you anything.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Page 1 of 3 123 LastLast

Similar Threads

  1. WMI module: some preview vaporware
    By ErosOlmi in forum WMI
    Replies: 10
    Last Post: 15-10-2007, 16:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •