Bill,
1. What is the best procedure to pass a C# string to a VB6 Variant type method parameter that resides in a VB6 server that I'm interop'ing with?
What are the options? Just pass in the string.
2. What is the best procedure to handle VB6 optional parameters?
To use VB.NET. If you want to use C#, you have to include all arguments, and use System.Type.Missing (or System.Reflection.Missing.Value) to indicate a missing one.
Mattias
--
Mattias Sjögren [MVP]
[EMAIL PROTECTED]
http://www.msjogren.net
=================================== This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in:
Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet
View archives and manage your subscription(s) at http://discuss.develop.com