0 Replies Latest reply on Aug 2, 2003 6:16 AM by 364365

    how to use ordsys.ordimage in vb

    364365
      Hi All,
      my program:

      Dim MyDatabase As OraDatabase
      Dim MyDynaset As OraDynaset
      Dim Myblob As OraBlob
      Set MyDynaset = MyDatabase.CreateDynaset("SELECT* FROM photos WHERE id = 1 ", ORADYN_NOCACHE)
      Set MyImage = MyDynaset.Fields("image").Value
      Set Myblob = MyImage.Source.localData
      Myblob.CopyFromFile (Text1.Text)

      but return an error ORA:24334.
      i don't know how to use ordsys.ordimage type in vb
      help me

      Thanks
      shxizh