Hi,
I come from the Java world, and I am fairly new to ActiveX. I have been playing with VB 6.0 and ActiveX, but I have run into a problem I don't know how to solve.
I read an article about mswless.ocx, a file that is shipped with VB. The objects in there are windowless, meaning they don't have a handle. I wanted to use them, because they are lightweight.
The problem I am having is that when I install VB, it doesn't install this ActiveX object on its own, you have to manually register it to use it. So, I did just that. I copied mswless.ocx from my CD to my \winnt\system32 and ran regsvr32 to register it with the system.
Everything "seemed" to work ok, as it gave me the message saying it was successful. However, when I go into VB, and try to use any of the controls from mswless.ocx, I get an error that "You are not licensed to use this control." Or something like that, and the system won't let me use it.
I don't know how to fix the problem. The article I read doesn't say anything about any licensing, and I would assume that if the controls ship with VB, then I should be able to use them.
Any help or info would be GREATLY appreciated!
Thanks,
John
I come from the Java world, and I am fairly new to ActiveX. I have been playing with VB 6.0 and ActiveX, but I have run into a problem I don't know how to solve.
I read an article about mswless.ocx, a file that is shipped with VB. The objects in there are windowless, meaning they don't have a handle. I wanted to use them, because they are lightweight.
The problem I am having is that when I install VB, it doesn't install this ActiveX object on its own, you have to manually register it to use it. So, I did just that. I copied mswless.ocx from my CD to my \winnt\system32 and ran regsvr32 to register it with the system.
Everything "seemed" to work ok, as it gave me the message saying it was successful. However, when I go into VB, and try to use any of the controls from mswless.ocx, I get an error that "You are not licensed to use this control." Or something like that, and the system won't let me use it.
I don't know how to fix the problem. The article I read doesn't say anything about any licensing, and I would assume that if the controls ship with VB, then I should be able to use them.
Any help or info would be GREATLY appreciated!
Thanks,
John