using an .ocx control from a windows service

parambs

New member
Joined
Oct 22, 2005
Messages
1
Programming Experience
1-3
Hi,
I have an httpxfer.ocx that I 'imported' into VB.NET as a COM component (pardon the verbage). The control works fine if I drag and drop into a Windows form based appplication but my intent is to actually use it in a Windows service to upload files into another application (the ocx was provided by developers of the other application) with or without a windows form.
I added a Windows form to the project containing the service, created an instance of the form in the service and attempted to call the component - but no success.
Is there a way of referring to .ocx components from a service without having a form. If not, am i missing something with the process I am currently following.
Any help will be greatly appreciated.
Thanks.
 
Back
Top