# userhook pickmaster problem  \[PickMaster 3\]

**URL:** <https://tech-community.robotics.abb.com/t/userhook-pickmaster-problem-pickmaster-3/1380>\
**Category:** PickMaster\
**Created:** [August 10, 2007, 3:50pm UTC](https://tech-community.robotics.abb.com/t/userhook-pickmaster-problem-pickmaster-3/1380 "2007-08-10T15:50:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarelvandenBosc](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@CarelvandenBosc](https://tech-community.robotics.abb.com/u/CarelvandenBosc)\
**Post date:** [August 10, 2007, 3:50pm UTC](https://tech-community.robotics.abb.com/t/userhook-pickmaster-problem-pickmaster-3/1380/1 "2007-08-10T15:50:07Z")

</div>

[2007-08-10\_155032\_Createchbarcode1.zip](http://forums.robotstudio.com/webwiz/CarelvandenBosc/2007-08-10_155032_Createchbarcode1.zip)

Hello,

I made a Userhook program position adjuster for pickmaster.

My problem is the program run’s oke in the Hooktester.exe but will not run in pickmaster.

There are 2 problems:

1. Configure behaviour

When I use “configure” in Hooktester.exe the variable’s will be set oke. When I use configure (is called “edit”) in pickmaster I get my form en can change the value’s but will not be set in the program. Somehow disconneted.

1. ProductionStart behaviour

When I use “start” in Hooktester.exe the program starts and the timer is running. I get a normal form (windows window). when I use pickmaster I get a foggie form (only rectangle, no content) and timer does not run.

Used software versions:

hooktester.exe version: 1.0.0.0

Pickmaster version: 3.12.0008

Userhook programming : visual Sharp version .Net 2003

Possibe reasons:

A. different software version hooktester.exe and pickmaster ? I do not know the versions.

B. Not possbible to run windows forms in pickmaster userhook ?

C. Not possible to run timer events in pickmaster userhook ?

possible solutions:

Problem 1: can be get around by using a ini file to store the configuration and then reread this file when starting again (if it will become possible to start, see problem 2).

Problem 2: I do not see any solution yet.

I put the userhook dll in createchbarcode.zip (it is a position ajuster with I/O , but the timer also works without any I/O connection)

Toine Roetman
