PDA

Click to See Complete Forum and Search --> : activeX control


m2h
Aug 2nd, 2002, 01:43 PM
Dear all,

I'm new to to this vb activeX control technique. I hope anybody can help me to solve my simple problem. I have a little bit confuse to run vb form when I put activeX control which I was created. One option I choose, the activeX control form appear in my browser and the vb form can't be loaded.

There are some option in project properties, I was tried all the option but still doesn't work. When I run the program some option appear (1) wait for component to be created (2) start component .... (3) start program .... (4) start browser with URL ....

The question, what should I do to run the vb form with activeX control without any other application need to be run together.

thank you

peet
Aug 2nd, 2002, 07:44 PM
There are 3 ways.

1. If you just want to use i as a usercontrol, you have to create/add the usercontrol when in a standard vb project.

2. If you are talking about debuging the control and the control is going to be a sep project, create a project group.

3. if you just want to use the compiled ocx in a standard vb proj., add it as any other cotrol, using the components list.

m2h
Aug 3rd, 2002, 02:09 AM
Thank you for the good reply

But, is there any way to me to choose to run the proram whether in the standard vb form or in the internet brower when I was created the project group (project1 "activeX control" + project2 "standard vb form")

or simply run the program when I was created the vb project group (as above) after error free dedugging, without using compiled ocx