Calling COM objects

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
 
C

Cowboy \(Gregory A. Beamer\)

..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!
**********************************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top