i had written program for design of muff coupling..
i was able to make dialog box to input variables such as Torque and shear stress.
i had written program to calculate diameter based on inputs..
and based on that diameter i had written program for muff coupling
till this progam runs succesfully......
but i want to add the code which will show the calculated diameter in the dialog box... similar to the message box given in samples like OCAF..
can anyone help me.......