# API samples in VB .net

**URL:** <https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615>\
**Category:** RobotStudio\
**Created:** [January 11, 2008, 10:01pm UTC](https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615 "2008-01-11T22:01:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_yu](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@john\_yu](https://tech-community.robotics.abb.com/u/john_yu)\
**Post date:** [January 11, 2008, 10:01pm UTC](https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615/1 "2008-01-11T22:01:44Z")

</div>

Hi,

can anybody post some API samples written in VB .net? thanks in advance.

John

---

<div class="post-metadata">

**Author:** ![Johannes\_Weiman\_old\_account](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/johannes_weiman_old_account/32/3345_2.png) [@Johannes\_Weiman\_old\_account](https://tech-community.robotics.abb.com/u/Johannes_Weiman_old_account)\
**Post date:** [January 14, 2008, 2:08pm UTC](https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615/2 "2008-01-14T14:08:15Z")

</div>

Hi John,

Check out the VSTA template project “RobotStudioSample”. It’s available in both C# and [VB.NET](http://VB.NET) and contains some basic samples.

regards,  
Johannes

---

<div class="post-metadata">

**Author:** ![john\_yu](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@john\_yu](https://tech-community.robotics.abb.com/u/john_yu)\
**Post date:** [January 14, 2008, 5:02pm UTC](https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615/3 "2008-01-14T17:02:34Z")

</div>

thanks a lot.

---

<div class="post-metadata">

**Author:** ![Cypherspaceman](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@Cypherspaceman](https://tech-community.robotics.abb.com/u/Cypherspaceman)\
**Post date:** [January 22, 2008, 12:43pm UTC](https://tech-community.robotics.abb.com/t/api-samples-in-vb-net/1615/4 "2008-01-22T12:43:34Z")

</div>

Hi,

I’ve tried to look at the vb sample in “RobotStudioSample”, but I get a load of errors. The first one is this:

_Warning 1 Load of property ‘RootNamespace’ failed. The string for the root namespace must be a valid identifier. RobotStudioSampleProject_

I suspect that this is then causing the others.

Any ideas?

Regards and thanks in advance,
