Hi Jamal, I have indeed got your demo and have been able to incorporated into my program. Many thanks for it. It was exactly what I was looking for. I shall send you the finalised source code off list. Pranav -----Original Message----- From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jamal Mazrui Sent: Sunday, August 19, 2007 6:10 PM To: program-l@xxxxxxxxxxxxx Subject: [program-l] Re: Visual basic .net: web browser control not executing when invoked from a commandline application It is possible with COM and IE, which may be more appropriate in this case since the purpose is to extract content from a page rather than visibly display it. Hope you got my demo of this. Jamal On Sun, 19 Aug 2007, Pranav Lal wrote: > Date: Sun, 19 Aug 2007 16:44:33 +0530 > From: Pranav Lal <pranav.lal@xxxxxxxxx> > Reply-To: program-l@xxxxxxxxxxxxx > To: program-l@xxxxxxxxxxxxx > Subject: [program-l] Re: Visual basic .net: web browser control not > executing when invoked from a commandline application > > Hi, > > The Web browser control is pasted onto the form. So, there is no need to > explicitly define it. > The form is modeless. However, I am using the form more is the convenience > than anything else. Ideally, I would have liked to use a class module but, > I was not sure whether I could use the Web browser control. I have > considered using Internet Explorer automation but, I did not try it since I > suspect I will face the same constraints. This is so because the Web > browser control is a wrapper around the Internet explore object. > > Pranav > > ** To leave the list, click on the immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] > ** If this link doesn't work then send a message to: > ** program-l-request@xxxxxxxxxxxxx > ** and in the Subject line type > ** unsubscribe > ** For other list commands such as vacation mode, click on the > ** immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] > ** or send a message, to > ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq > ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq