New topic: 

Help Please: Connecting To LAN

<http://forums.realsoftware.com/viewtopic.php?t=47173>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        lenpartico          Post subject: Help Please: Connecting To 
LANPosted: Tue Mar 05, 2013 9:57 pm                         
Joined: Fri Sep 30, 2005 10:49 pm
Posts: 495                Hello,

I have a Mac and a PC connected to a Windows Local Server..

On the Mac I can put this code in a Pushbutton

  Dim Bool as Boolean
  Dim i,n as Integer
  n = VolumeCount
  
  if UBound(ListOfVolumes) = n-1 then Return 'No change
  
  if UBound(ListOfVolumes) < n-1 then 'Volume mounted
  For i = 0 to n-1
  Dim f as FolderItem
  f = Volume(i)
  
  If f.name = "My App Folder" Then  //'MAHServer  'OBGYNOK  'Casualty  'Doctor
    app.gMyAppFolderOnServer = f
    Bool = True
    Exit
  end if
  Next
  
  end if
  
  If not Bool then
  msgbox """My App Folder"" could not be found." + Chr(13) + Chr(13) +_
  "Please ensure that this computer is logged on to the server and try again."
  Quit
  end if

and if  "My App Folder" is available I could now access files from that folder 
save files to it.

That does not work on the PC. How can I do likewise from my PC?

On the PC  "My App Folder" is located at Network -> 192.168.1.103 ->  "My App 
Folder"
I can mount  "My App Folder" by typing \\192.168.1.103 in Run from the Start 
Menu


Thanks.

Lennox   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to