Message 1 of 4
im getting eLockViolation ?
Not applicable
05-31-2010
06:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
greetings to all,
i am getting this error when i am trying to execute this sample code by calling it from a windows form
[see attached file of the sample code from 2010 .net developers guide]
the scenario
1. i write the sample code in a class1
2. (create some objects here in autocad app)
3. then i create a form1 and using button events to call the method "selectobjectsonscreen"
4. i get this elockviolation error
this line
[ ' Open the selected object for write
Dim acEnt As Entity = acTrans.GetObject(acSSObj.ObjectId, _
OpenMode.ForWrite)]
can anyone please explain why i am getting this error?
any workaround will be greatly appreciated
thanks in advance
i am getting this error when i am trying to execute this sample code by calling it from a windows form
[see attached file of the sample code from 2010 .net developers guide]
the scenario
1. i write the sample code in a class1
2. (create some objects here in autocad app)
3. then i create a form1 and using button events to call the method "selectobjectsonscreen"
4. i get this elockviolation error
this line
[ ' Open the selected object for write
Dim acEnt As Entity = acTrans.GetObject(acSSObj.ObjectId, _
OpenMode.ForWrite)]
can anyone please explain why i am getting this error?
any workaround will be greatly appreciated
thanks in advance