Heres the situation...

I wanna call an activeX cotrol on the server using coldfusion. No problems there, but Im writing the control using VB5. The control reads in a JPG, resizes the image and saves the resized JPG over the top of the existing one. The control is passed four variables:

- Filename : filename of the JPG
- width : new width of the JPG
- height : new height of the JPG
- quality : the compression of the JPG

The problem is that I cant find much help on the net in writing activeX controls for the web (VB5 offers me 4 different types of activeX control to choose from!). I know VB pretty well (I can make the program do all of the above) but Im having trouble with the activeX side of stuff. Following the activeX guide on this site helped a bit (but it is based on controls for VB, if im not mistaken), so if anyone can help, or knows of what i must do to make sure I dont have to rewrite this, it would help.

Brief synopsis of the control Ive created so far:

- ActiveX exe,
- four properties stated above,
- one method (sub) called resize,

thats it. I was also trying to test the control in a web page, after locating the clsid for my control in REGEDIT, but I get the "object not found" box with a red cross in it. Ive set the param tags to the four properties, but when I try to call the method from JavaScript, I get "object not found" error message (I belive that is because of the missing object)

Any ideas? Has anyone else tried to do this? Anyone know where I can go to get help on Web ActiveX controls? Anyone? hello?

Cheers in advance for your help.

Ben Davies
Development Programmer

LiveWire Marketing
[email protected]