while looking at calling a dll created in vb.net 2010 , at the end someone post a link to powerbasic code "How to run a Dot Net 4.0 class from Powerbasic" :http://powerbasic.projectmayu.dyndns.org/ with a downloadable ready code. may be of interest to powerbasic users.