I am a drafter using autocad and I know a littttttle bit of VB6. We just happen to have it installed on our computers and I wanted to create an application that can do this:
-
Takes the # input from text1 and text2 and waits for the user to hit "Ok" (command click)
-
Upon clicking, the information from Text2 gets multiplied by 0.75, and the total sum is then compared to Text1 with a less than or equals to equation.
- the comparison then Decides if the sendkeys will say "G152B" or "CB152B" to Notepad
Without words i guess?...
text2.text * "0.75" = SUM (this is the part im not really entire sure how to do, variable maybe?)
text1 and text2 filled out by user, user hits ok
command1_click()
If Sum <= text1.text then
sendkeys "g152b" else
Sendkeys "cb152b"