Message 1 of 4
InitializeUserInput
Not applicable
02-12-2001
09:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using Acad 2000i Win 98
When the user enters a keyword ie CL or UN the following code behaves
differently on different systems. On mine it behaves fine and returns
Err.Description = User input is a keyword
On others it returns
Err.Description = Automation Error
Is there something I'm missing on the other system. Obviously I only want to
handle the first error situation
ThisDrawing.Utility.InitializeUserInput 1, "CL UN"
On Error Resume Next
vertices = ThisDrawing.Utility.GetPoint(vertices(count - 1), " next
point:")
When the user enters a keyword ie CL or UN the following code behaves
differently on different systems. On mine it behaves fine and returns
Err.Description = User input is a keyword
On others it returns
Err.Description = Automation Error
Is there something I'm missing on the other system. Obviously I only want to
handle the first error situation
ThisDrawing.Utility.InitializeUserInput 1, "CL UN"
On Error Resume Next
vertices = ThisDrawing.Utility.GetPoint(vertices(count - 1), " next
point:")