Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

Manually Changing DISPID in OCX Control


Hi ,
I am using the Class Wizard to generate properties and methods.
The class Wizards assigns the DISPID's sequentially.
Can anyone tell me how to change the DISPID ( to what ever i want )  after it has been generated by the Class Wizard.

Thanks.
0
jhav1594
Asked:
jhav1594
1 Solution
 
jkrCommented:
Open the .idl/.odl files in a text editor and change them there to what you want them to be. Just take care that the values are consistent.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now