Passing an Array from C# to VB.Net
Posted on 2007-10-03
I need help converting a C# app to a C# dll. I don't know C#, and I'm writing an app in vb.net, I need to be able to declare a public function in the C# dll. I have a sample solution written in C# that gets EXIF data from images. I need to be able to call it from a VB.Net app. I'm using VS 2005.
I have created the dll, but the function that gets the data is not available in the vb app.
Here is some of the code.
public System.Collections.ArrayList GetExifTags(ImageXTagCollection a2)
System.Collections.ArrayList myArrayList = new ArrayList();
//Code to get ExifData
When I look at the object browser in the vb app, I can see the function, and it is public. Why can I not use it?