|
-
July 16th, 2001, 08:34 AM
#1
Creating Objects from Controls
Hello,
I am a it new to VB.
I have a Inet control from Microsoft Internet Controls.
I cannot use a form as I have to use the code in a NT service.
Can anybody let me know as to how I can CREATE AN OBJECT OF A CONTROL SO THAT I CAN USE IT IN MY PROGRAM.
Please Help
Regards,
Sanket B
[email protected]
-
July 16th, 2001, 02:47 PM
#2
Re: Creating Objects from Controls
Ok, This is probably not the answer you are looking for, BUT...
Can you create a form, set the visible property to false, drop the inet control there and use that for your program. Although I am not sure what you are trying to do, I developed a quick app, to download a page from a web site using the inet control, an invisible form, and the NT service control on Microsoft's site.
http://msdn.microsoft.com/library/de...n_ntsrvocx.asp
A copy of the project can be found at...
http://www.vbnotes.com/Tutorials/NTService.zip
This works on a 2000 Pro system.
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|