I created an ActiveX control with VB6.
My graph has 4 text boxes and 1 command button and a picture box. After I enter numbers in the textboxes I then click on the command button and a graph is drawn in the picturebox.
#1 I go to the control toolbox in Word 2002. I click on the control and it seems that I'm in VBA design mode. I don't want this. I want to be able to immediately enter 4 numbers in the textboxes, click the command button and see the graph.
#2 After I save & close and reopen the document I now see the control 'embedded' and I'm able to get the graph in the picturebox.
#3 What do I need to do to be able to immediately use the control?
#4 How can I code a macro so that the Macro will call the control and embed the graph in the document?
#5 I was thinking about recoding my control so that the graph is saved in a file and then the macro would get file file and put it in my document.
Thanks !
Mathprof
My graph has 4 text boxes and 1 command button and a picture box. After I enter numbers in the textboxes I then click on the command button and a graph is drawn in the picturebox.
#1 I go to the control toolbox in Word 2002. I click on the control and it seems that I'm in VBA design mode. I don't want this. I want to be able to immediately enter 4 numbers in the textboxes, click the command button and see the graph.
#2 After I save & close and reopen the document I now see the control 'embedded' and I'm able to get the graph in the picturebox.
#3 What do I need to do to be able to immediately use the control?
#4 How can I code a macro so that the Macro will call the control and embed the graph in the document?
#5 I was thinking about recoding my control so that the graph is saved in a file and then the macro would get file file and put it in my document.
Thanks !
Mathprof