Announcement

Collapse
No announcement yet.

Retrieve Data from other computer on the network

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Retrieve Data from other computer on the network

    Hello again everyone i have some question that i need to have answer but i cannot implement in my own.
    Example i have 2 computer connected on the network.
    Computer 1:
    This computer save the data on drive: C; example C:\Data.txt


    Computer 2:
    Using application made by AMS is that possible to retrieve/read the data from the Computer 1 and return it to the AMS application?


    If so, what plugin do i need to used and how to implement it?
    This is out of my curiousity how it works.. or if someone made it already glad if someone can share..

    Thank you.


    Regards
    Telco

  • #2
    Hi telco
    you just have to map your network drive paths eg

    Code:
    server = "\\\\Servername\\foldername\\foldername";
    
    Folder.Create(server.."\\"..mdy); -- mdy being a variable but you could replace that with "foldername" if you wanted a specific name.
    cheers

    Comment


    • #3
      On the Computer1: there is a file called data.txt which has a data on it. example: NAME: JOHN DOE

      then on Computer2, the AMS Application is executed and a button to get the data from the .txt file..


      Example application executed from Computer2:
      OnClick xbutton1
      result = TextFile.ReadToString(server"\\\");

      Dialog.Message("Notice", result, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);


      The Dialog will display
      NAME: JOHN DOE


      Is this thing called remote access? or something?

      Comment


      • #4
        Example application executed from Computer2:
        OnClick xbutton1
        result = TextFile.ReadToString(server"\\");

        Dialog.Message("Notice", result, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);


        The Dialog will display
        NAME: JOHN DOE


        Is this thing called remote access? or something?
        No remote access is like teamviewer -you have to get the path to you Computer 1 "C" drive
        to access your data file something like this

        Code:
        OnClick xbutton1
        result = TextFile.ReadToString("yournetworkname\\\\C;\\data.text")

        Comment


        • #5
          colc thanks,.. i cannot make it..
          Actually i have a desktop now, and a laptop. both are connected on the same router.
          so i try to access the data. i put the AMS app on my laptop and i cannot get the data..
          do i need to set the ip of the desktop to access it?

          Comment


          • #6
            Ok mate let me check I thought you had both computers hard wired

            Comment


            • #7
              Oh by the way... laptop is connected via wifi.. is that possible? or i need it to be wired connected also?

              Comment


              • #8
                I am just checking on setting up a home wireless network with shared drives and printer etc
                Long time since I done this stuff LoL

                Comment


                • #9
                  OK mate got it sorted. A few things to remember that your has to have permissions for read & write
                  Also a good youtube on how to map drive https://www.youtube.com/watch?v=VXEM_IROqpw
                  For setting up network and mapping drive just google, here's a couple of pics saves a hundred word

                  Click image for larger version

Name:	Drives.png
Views:	102
Size:	207.2 KB
ID:	301275 Click image for larger version

Name:	Drives 2.png
Views:	67
Size:	38.9 KB
ID:	301276

                  Pic1 is say Computer1 and pic2 Computer2 - my mapped drive computer2 [running apz] is Z so the path to Comp1 file is Z:\\Shared\\Data.txt
                  Also I included a small sample below
                  [ATTACH]n301277[/ATTACH]
                  Cheers
                  Attached Files

                  Comment


                  • #10
                    thanks colc i will try that if my sister returned my laptop..
                    Thank you

                    Comment


                    • #11
                      Nice screencapping, colc. Can I ask what program you're using to add those very nice label graphics to your screencaps? Or is that a trade secret, LOL?

                      Comment


                      • #12
                        hi Bio I am using FastStone Capture Vers8.9, Hey just captured Faststone with Greenshot another good prog(free)
                        Click image for larger version

Name:	faststone.png
Views:	73
Size:	3.4 KB
ID:	301305 cheers

                        Comment


                        • #13
                          Hello guys.. i have a problem.. my desktop has no password, but when i try to create a map drive it ask me a password.. What password should i enter?

                          Comment


                          • #14
                            Originally posted by colc View Post
                            hi Bio I am using FastStone Capture Vers8.9, Hey just captured Faststone with Greenshot another good prog(free) ...
                            Awesome! Thanks, colc. I'll check those out. Am quite smitten by your label graphics. LOL.
                            .................................................. ...

                            @telco,
                            I'm not familiar with the intricacies of network drive-mapping, so can't help you there, buddy. I'd imagine the Glebe0id is probably way better informed on the topic and therefore more equipped to handle your query. So will leave you in his capable hands!

                            Comment


                            • #15
                              @colc,

                              Just been playing around with FastStone Capture. It's quite remarkable. ScreenCapture, ScreenRecorder, ImageEditor & VideoEditor, ALL-in-ONE!. And packed into a tiny 3.2mb installer that extracts to just 11mb worth of program files. Wow, it's kind of like the TARDIS from Dr Who, isn't it? (Its outward appearance really belies its inner secrets!) Is there anything it doesn't do?
                              LOL, I wonder if it time-travels like the TARDIS, too?

                              Nice find, buddy. Soared straight to the top of my list of favourite apps. And will be regularly used once I get the hang of all its intricacies.


                              Many thanks. This one's going straight to the pool-room!

                              Comment

                              Working...
                              X