Calling COM objects

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

I've got a regular COM DLL that I wrote in VB6 that I'm
trying to use in VB.Net. It's giving me a "Type Mismatch"
error when I try to assign a .Net string value to the COM
property, which is also defined as a string. Any ideas?

Todd
 
..NET uses Unicode strings, while I believe VB was ASCII. I would try coding
the string as ASCII, but I am not sure how this is accomplished. If I can
get any time (not real sure about this), I will try to write a simple COM
DLL and try from .NET.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Back
Top