Jump to content


how to set focus NanoCAD with VB.NET?


  • You cannot reply to this topic
No replies to this topic

#1 Mucip İLBUĞA

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 08 July 2024 - 07:28 PM

Hi,
I have VB.NET exe program and has button on GUI.
When I press the button it creates line

Dim nokta1 As Object
Dim nokta2 As Object

nokta1 = utilty.GetPoint(, "1. Noktayı seç")
nokta2 = utilty.GetPoint(, "2. Noktayı seç")

mSpace.AddLine(nokta1, nokta2)


But when I press the button I need to click on NanoCAD screen in case of set focus on NanaoCAD from my Exe program.

I could not find th way to set focus on Nanocad after button click from my exe program?


Regards,
Mucip:)

#2 Mucip İLBUĞA

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 09 July 2024 - 09:28 PM

Hi,
Any feedback please?

Regards,
Mucip:)





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users