You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Aman M. <ma...@ym...> - 2013-01-06 10:03:55
|
http://sahrasohbet.com/gjuk.php?kkje=kkje |
|
From: A M. <ma...@ym...> - 2009-09-22 02:19:04
|
I'm trying to use COMConnect in a simple example that will let me send a message to MSMQ queue.
The problem happens when I try to set a property that is of type Variant.
MSMQMessage.Body
The Body property of the MSMQMessage object specifies the contents of the message.
Data type: Variant
Run-time access: Read/write Property Body As Variant
Now in the code I do
IOPObject msmqMessage = iops.createIOPObject("MSMQ.MSMQMessage");
msmqMessage.letProperty("Body",new IOPVariable("test test string"));
The main problem is that I do not know how to set a property that is of type Variant.
The same is true when a Variant will be returned. I would not know how to read it.
Could you please let me know how can I set/get a property that is of type Variant?
I get the following error
uk.co.upco.iop.IOPException: 99 Invalid procedure call or argument
at uk.co.upco.iop.IOPObject.letProperty(IOPObject.java:308)
at msmq.MSMQ1.enqueue(MSMQ1.java:59)
at msmq.MSMQ1.main(MSMQ1.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Any help is greatly appreciated.
Thanks
Aman
|