Hi Grayson.
Use string below on 110
Integer.TryParse(XCordFinalNum.Text, XCordFinal)
------------------------------
Roman Yaroshenko
chief specialist
RBC-TV
Moscow Russian Federation
------------------------------
Original Message:
Sent: 11-14-2023 18:21
From: Grayson Counts
Subject: Textbox To Integer Line Object Scripting
Hello,
I am currently trying to write a script that allows me to draw a passing arc for our scoring drive graphic. I receive the data in through a text box and I'm looking to use the values in those text boxes as some of the values for my lines. I get the alert stated here in the image. This was my attempt as Dim ing an integer and then having it equal the text box value but it still is not working. I don't know if applying the text box values to the coordinates of an object and then pulling those coords might work. Any help here would be greatly appreciated. 
------------------------------
Grayson Counts
Phoenix United States
------------------------------