Saving file to Windows NT 2000 volume 
Author Message
 Saving file to Windows NT 2000 volume

My app is returning a nil object error when running a Mac and saving to a
Windows NT 2000 server volume. I can't figure out what the problem is. It
works fine when saving to a local Mac volume. Anyone else have problems with

Maybe I'm doing something wrong. Do I need to do something different saving
to a Windows Volume?

Here my save file method:

Sub writePSfile()
  Dim dlg as SaveAsDialog
  Dim f as FolderItem
  Dim fileStream As TextOutputStream
  dim name as string

  dlg=New SaveAsDialog
  //dlg.InitialDirectory=Volume(0).Child("Mac OS 9")  //
  dlg.promptText="Enter a filename"
  dlg.Title="Save postscript As"
  If f <> Nil then

    psCode=psCode +"%%EOF"  // DSC

    fileStream.WriteLine psCode
    //user canceled
  exception err as NilObjectException
    MsgBox "NIL!! Something is wrong!"
  End if

End Sub

David Austin


Sat, 13 Mar 2004 23:11:28 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Windows 2000/NT and batch files

2. "Out": passing from Windows NT 4.0 to Windows 2000

3. Hard links on Windows NT 4 and Windows 2000

4. windows 2000 strange behavior on save

5. Installing PLOB! on Windows 2000 (and save-object)

6. was Re: 4.01Graphics Problem with Windows 98 but not NT or 2000

7. 4.01 - Graphics Problem with Windows 98 but not NT or 2000

8. looking for windows NT/2000 binary for gawk 3.1.1 (or better)

9. Question Windows NT / 2000 / ME & Clarion

10. Clipper Processor hogging on Windows NT and 2000

11. Novell to Windows NT/2000

12. Windows NT/2000 Discussion List [WINNT-L@PEACH.EASE.LSOFT.COM]


Powered by phpBB® Forum Software