[vb.net] Dlls - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [vb.net] Dlls (/showthread.php?tid=63128) [vb.net] Dlls by deAd on 07-12-2006 at 09:20 PM
I posted before, but now I think I've gotten somewhere. However, I'm still having problems. After created a dll in vb.net, I can't seem to import it. Here is the entire contents of the dll (note that I found it on MSDN): code: Then I've registered it in the DotNetFiles tag, and used this code: code:But I always get: quote: RE: [vb.net] Dlls by Ezra on 07-12-2006 at 09:35 PM I think VB.NET dll's can't be used with ActiveXObject, but need to be handles with Interop.Call, but not sure... RE: [vb.net] Dlls by deAd on 07-12-2006 at 09:38 PM
Interop.Call doesn't work either. I also note that when I type "regasm" in the Run window, I get: quote:However, I do have a RegAsm.exe tucked away in one of the .NET Framework folders RE: RE: [vb.net] Dlls by Ezra on 07-12-2006 at 10:38 PM
quote: I get the same error, and I have Visual Studio .NET 2003 and Framework 2, don't know about it then... RE: [vb.net] Dlls by Chestah on 07-12-2006 at 11:47 PM
All .net languages need to be opened using an activexobject like the way you are doing it now! Sorry, i have no idea whats going wrong in that code though RE: [vb.net] Dlls by deAd on 07-13-2006 at 12:11 AM No I'm not. I'm not sure of anything right now that's why I asked for help. |