[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • 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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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