title: Exposing a COM interface from a VB.Net Winforms application
body: <p>I was wondering if it's possible to expose a COM interface through a Winforms executable rather than having to create a class library DLL? I have a small interactive application that I'd like users to be able to call from VBScript and other languages using code such as:</p>
  
  <p>Set USBDAQ = CreateObject("USBDAQ.Control")
  USBDAQ.TakeSample()</p>
  
  <p>I could create a seperate class library and use a form of IPC to talk to the main application but I'd rather not add the extra complexity. I know there are probably reliability advantages to that method but it doesn't have to be particularly robust.</p>