Still get 'Object reference not set to an instance of an object' using submit.
hElement is equal to Nothing after the GetElementById line so it's like it believes the element is not on the page. But it is there!
Thank you for your response
dglienna: tlist is the object I use to hold the array of named items. That part works, I only get the error on the final click. When I've commented out that click and let the program flow return to the main form, I can see on the webbrowser control on my form that the named items...
Thanks for replying, sorry for the delay but I didn't get the email saying there was a reply.
I've tried that and I get 'Object reference not set to an instance of an object' when it does the InvokeMember. It's like the element does not exist on the page. Is there a way to view which elements...
I'm converting an application from VB6 to VB.NET and all gets converted fine apart from a section where I want to automate an image being clicked on.
The application uses the webbrowser control to signon to a web site, navigate to a certain page, click some radio and checkbox controls then...
I'm using your code from above. I've managed to get the command1 click event to work now. I'm on the command2 click event. I just get 'User-defined type not defined' for HTMLDocument, HTMLInputElement and HTMLFormElement. Where are these types defined?
Thanks
I'm trying to do the same thing and can't get anything to work. I get the error message 'Class does not support Automation or does not support expected interface' when I try to run the very first line of me.webbrowser1.navigate.
I have the component Microsoft Internet Controls ticked.
I have...
I'm trying to use a keyed data queue on the AS/400. I can get ADO quite happily to read and write from a non-keyed queue and can even write a keyed entry. But whenever I try and just read entries with a particular key I get everything.
I have code like the following;
Set rs =...
Does anyone know how to format a number so it appears with the sign at the end?
eg. -123.34 appears as 123.34-
I know I can do 'If minus then this else this' but I'm hoping there is a way to avoid this complexity.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.