I can store some ObjectId from my drawing to text file. After that how we can get back ObjectId from string read from that text file. Or have a diferrent way to store the ObjectID. Somebody please help me, tks alot.
Try to save Handle instead,
string hdl= obj.Handle.ToString();
you can get object from text file using this method: