|
-
Oct 7th, 2005, 02:35 AM
#1
Thread Starter
Fanatic Member
System.__ComObject
i want to cast it to int.
is it possible?
i am unable to do it.
-
Oct 7th, 2005, 11:14 PM
#2
Sleep mode
-
Oct 10th, 2005, 11:22 AM
#3
Re: System.__ComObject
Why the hell would you want to cast it to an int for? 
Hope this helps.
-
Oct 15th, 2005, 10:16 PM
#4
Thread Starter
Fanatic Member
-
Oct 15th, 2005, 10:17 PM
#5
Thread Starter
Fanatic Member
Re: System.__ComObject
 Originally Posted by penagate
Why the hell would you want to cast it to an int for?
Hope this helps.
Oopps wrong.
I want to convert int into System.__ComObject .
That's right.
-
Oct 16th, 2005, 03:18 PM
#6
Frenzied Member
Re: System.__ComObject
I guess you're using an ActiveX control and you need to create an object for that control - is that right?
If so you should probably just create an object of the type the ActiveX control is looking for. When you use GetType.Type on a COM object, you get System.__ComObject. I'm assuming you've done this and this is why you think you need to turn an int into a System.__ComObject.
Instead, you need to figure out what type of object it really is, by using the "as" operator.
I'm guessing a bunch here, if you provide more details I might be able to help more.
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|