# UIMessageBox shown on PCSDK?

**URL:** <https://tech-community.robotics.abb.com/t/uimessagebox-shown-on-pcsdk/4868>\
**Category:** Developer Tools\
**Created:** [May 16, 2012, 3:05pm UTC](https://tech-community.robotics.abb.com/t/uimessagebox-shown-on-pcsdk/4868 "2012-05-16T15:05:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![7seven](https://avatars.discourse-cdn.com/v4/letter/7/e68b1a/32.png) [@7seven](https://tech-community.robotics.abb.com/u/7seven)\
**Post date:** [May 16, 2012, 3:05pm UTC](https://tech-community.robotics.abb.com/t/uimessagebox-shown-on-pcsdk/4868/1 "2012-05-16T15:05:44Z")

</div>

Hello,

i’vo done some FP App’s but didin’t done any PCSdk stuff, so hope someone can help me out!

When my Rapidprogramm comes to the point…  
_answer:= UIMessageBox (_  
_Header:=“Sensormeasuremet OK? SPALT:=”+ValToStr(nValue)_  
_Message:=“Index-Number.:”+ValToStr(Index)_  
_BtnArray:=stMeasurement_  
_Icon:=iconInfo);_  
_GetSysData temp\_toolObjectName:=toolname;_  
_GetSysData temp\_wobObjectName:=wobname;_  
_ErrorPos:=CRobT(Tool:=temp\_toolWObj:=temp\_wob);_

…the UIMessageBox should be shown in my PC SDK! Is something like that possible?

Normally i seen the messagebox on my Flexpendant and then i have to made my choice on the Flexpendant Touchscreen…  
But i want to push the button “Ok” or “Not Ok” in my PCSDK App 🙂

Found something on Page 98 in the manual but i didn’t really understand that.

Has someone some similar code snippets in **VB** for that? Any snippets who can help me out in **VB** would be great! Then i puzzle something right for me :stuck\_out\_tongue\_winking\_eye:

Cheers “7”
