Yes, you can write mIRC DLLs in VB .NET. I've written one so far. I used to have Visual Studio Professional on this computer, but I don't have it anymore, and I'm not sure if that's the difference. There was a check box that said "Register for COM Interop". If I checked that box, it worked. You don't need to have all that stuff about int __stdcall procname in the DLL. Mine was just a function that returned a value. What it did was return the weather for any US zip code you give it. So you just need to have a function that does something and the script I had in mIRC to use it was this:
Code:
on 1:NOTICE:!weather*:*:{
  if ($com(weather)) {    
    var %zip = $2
    noop $com(weather,GetWeather,3,bstr,%zip)
    var %weather = $com(weather).result
    notice $nick %weather
    echo -a $nick %weather
  }
  else {
    comopen weather weather.GWeather
    var %zip = $2
    noop $com(weather,GetWeather,3,bstr,%zip)
    var %weather = $com(weather).result
    notice $nick %weather 
    echo -a $nick %weather

  }
}