Objects exist in methods, routines, processes, and they are either
visible or not visible to other methods, routines, processes. The
concept of an object being either visible or not visible to a *language*
is invalid.
What are you running in C# and where are you running it, and what are
you running in VBScript and where are you running it? Are you running an
C# ASP.NET application on a web server, with the C# application running
on the server and sending web content to a browser, including code in
VBScript that runs in the browser? Are you trying to run a website with
some ASP.NET pages written in C# but also with some ASP pages with
server-side code written in VBScript?
Thank you for the education I really am quite ignorant about these
things.
I'm not working with a web implementation of anything. There is no
ASP.NET. So far as I know, it's simply .NET. I have to make certain
things in my C# sources ComVisible, but that's about it. I'm
wondering how I could iterate over a Dictionary<> object, produced in
a method in my C# code, that is returned by that COM visible method
when that method is called by a VBScript; e.g. use in a Foreach (or
whatever it is VBS calls it). I have no problems returning boolean,
int or strings but I figured it's because VBScript new about such
types, or at the least, that they were primitive types in .NET.
However, I was unsure of the Dictionary<> object.
Andy