# User Hook  Compatibility  \[PickMaster 3\]

**URL:** <https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680>\
**Category:** PickMaster\
**Created:** [February 11, 2008, 3:56pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680 "2008-02-11T15:56:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscar\_f](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oscar\_f](https://tech-community.robotics.abb.com/u/oscar_f)\
**Post date:** [February 11, 2008, 3:56pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/1 "2008-02-11T15:56:10Z")

</div>

Hello,

I’m trying to crete my user Hook, but I cannot see it in the HookerTester.

I just copy the example and compile it.

The difference respect the SW requirements is that I’m using VS .Net 2008 and .NET Framework 2.0.

Could it be the problem?

BR Oscar

[2008-02-11\_155600\_ClassLibrary1.zip](http://forums.robotstudio.com/webwiz/oscarf/2008-02-11_155600_ClassLibrary1.zip)

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [February 18, 2008, 3:31pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/2 "2008-02-18T15:31:11Z")

</div>

Hi Oscar

I doubt that UserHooks make in VS2008 will work.  
Maybe if you can set it up to only use .NET FW 1.1.

BR  
Mats

---

<div class="post-metadata">

**Author:** ![oscar\_f](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oscar\_f](https://tech-community.robotics.abb.com/u/oscar_f)\
**Post date:** [April 7, 2008, 4:47pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/3 "2008-04-07T16:47:40Z")

</div>

I try to set up the project for .NET FW1.1 but I cannot.

Can someone help me to make this set up in Visula studio 2008?

BR

Oscar

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [April 7, 2008, 5:45pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/4 "2008-04-07T17:45:31Z")

</div>

Hi Oscar,

Try this:  
[http://tech.einaregilsson.com/2008/01/15/developing-aspnet-1 -1-in-visual-studio-2008/](http://tech.einaregilsson.com/2008/01/15/developing-aspnet-1-1-in-visual-studio-2008/)

I haven’t done it myself for VS 2008, only for VS 2005. Then I used MsBee:  
[http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSBee](http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSBee)

Good Luck!  
/Mats

---

<div class="post-metadata">

**Author:** ![oscar\_f](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oscar\_f](https://tech-community.robotics.abb.com/u/oscar_f)\
**Post date:** [July 21, 2008, 1:45pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/5 "2008-07-21T13:45:52Z")

</div>

Hi Mats,

I now installed Visual studio 2005 Express edition, in order to build up my user hook.

I installed the .net framework 1.1 sdk

I installed the MSbee.

I modify the project and I try to compile.

Still I cannot see my hook in the list of the hooktester.

I attach the project and the printscreen of the msbuild.

[2008-07-21\_134439\_MatrixUserHook1.zip](http://forums.robotstudio.com/webwiz/oscarf/2008-07-21_134439_MatrixUserHook1.zip)

[2008-07-21\_134540\_Print\_MSBuild.zip](http://forums.robotstudio.com/webwiz/oscarf/2008-07-21_134540_Print_MSBuild.zip)

Can yuo check that everythink is ok?

BR

Oscar

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [July 22, 2008, 6:10am UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/6 "2008-07-22T06:10:23Z")

</div>

Oscar,

I tried your dll and it works fine.  
Make sure you use the files in the _.inFX1\_1Debug_ directory and that you select Position Adjuster in the HookTester.

To be able to always build for .NET 1.1, I suggest that you remove the _Condition=" ‘$(BuildingInsideVisualStudio)’ == ‘’ AND ‘$(TargetFX1\_1)’==‘true’"_ conditions in the csproj file.

I have even been able to upgrade your project to VS2008.  
Note that if you do so, you have to edit the first line in the csproj file to:  
\*\_

/M

---

<div class="post-metadata">

**Author:** ![oscar\_f](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oscar\_f](https://tech-community.robotics.abb.com/u/oscar_f)\
**Post date:** [July 28, 2008, 1:47pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/7 "2008-07-28T13:47:50Z")

</div>

Thanks Mats,

now i can build it!

Is there any chance to debug the application?

I try with

System.Diagnostics.Debugger.Launch();

but it is not working.

BR

Oscar

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [July 28, 2008, 6:16pm UTC](https://tech-community.robotics.abb.com/t/user-hook-compatibility-pickmaster-3/1680/8 "2008-07-28T18:16:31Z")

</div>

Thanks for the hint, it works for me!
