>I believe that warning is a .Net thing completely unrelated to MQSeries. It's complaining that an instance variable (loMQEnvironment) is being used to access non-instance properties (i.e. shared). Just use the class name itself...MQEnvironment.
>
>If you run into anything else, just let me know. I do this stuff all the time....and it can be a real pain to get a handle on it.
You mean this:
IBM.WMQ.MQEnvironment.Hostname = Trim(oApp.oAdmin.oRow("MQIP"))
IBM.WMQ.MQEnvironment.Channel = Trim(oApp.oAdmin.oRow("MQChannel"))
IBM.WMQ.MQEnvironment.Port = oApp.oAdmin.oRow("MQPort")
If I do that, there is no more warning. Is this what you were making reference to?
I found that weird that I could not create an object to this class. This is a weird infrastructure.