I need to create a desktop app in C# that will require a specific set of parameters when loaded, either by command line (or a direct reference?) from an old VB6 application or as a reference from a vb.net application.
I need parameters such as name, city, state, zip and a few others. I’m not sure yet what all I’ll need yet. I know I’ll need some very basic account information to be passed in.
What would be the best way to accept these parameters where they can be called from either application?
I started to create a class that contained the needed parameters, but I am not sure if a VB6 application can reference the exe as a dll and pass a it the class back. I’ve not called a .net application from vb6 so I don’t know the requirements and I don’t have vb6 installed.
Any suggestions?
Write a DLL/library. Then write an EXE that takes the parameters and just references that DLL the same as other code would.