ok need help to figure this one out
Private Sub AcadDocument_Activate()
'this is my object an open active cad drawing.
End Sub
so how would I stream write or read to write so that my object will send all of its information to a c:\test.text file
and what refrances should I use?( i am using CAD VBA so i need to specify an refrance.
would this work
Dim FS as FILESTREAM
Dim SR AS Stream reader
FS = new FileStream (c:\test.text file'',_
system.IO.filemode.openorcreate,System.IO.fileaccess.write)EOF(1)
SR = New Streamreader (FS)
I am trying to use this so all text information in a bill of material is sent to a text file when drawing is saved.
Private Sub AcadDocument_Activate()
'this is my object an open active cad drawing.
End Sub
so how would I stream write or read to write so that my object will send all of its information to a c:\test.text file
and what refrances should I use?( i am using CAD VBA so i need to specify an refrance.
would this work
Dim FS as FILESTREAM
Dim SR AS Stream reader
FS = new FileStream (c:\test.text file'',_
system.IO.filemode.openorcreate,System.IO.fileaccess.write)EOF(1)
SR = New Streamreader (FS)
I am trying to use this so all text information in a bill of material is sent to a text file when drawing is saved.