My first question was whether this was possible. I am now pretty sure it is.
I thought I would post here as it is Access VBA that I want to use this
I want or need to use the WebBrowser.ObjectForScripting property so that I can access a form from Jscript on a HTML page - this is possible with the above property http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.objectforscripting(VS.85).aspx
Which is part of the .NET System.Windows.Forms Namespace http://msdn.microsoft.com/en-us/library/system.windows.forms(VS.85).aspx
I see in another thread here Banana has some experience on this creating Interops.
more specifically i want to do this which is possible in .net
on my form which has a webbrowser named Webbrowser1
this form has a webbrowser control on it and this html page has the following in it
getID being a routine of my VBA form.
Thanks in advance guys.
ps. If you are thinking this guy is an idiot that is a lot of work and there must be another solution - you are probably right but I am also doing this to extend my experience and jump in the deep end.
I thought I would post here as it is Access VBA that I want to use this
I want or need to use the WebBrowser.ObjectForScripting property so that I can access a form from Jscript on a HTML page - this is possible with the above property http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.objectforscripting(VS.85).aspx
Which is part of the .NET System.Windows.Forms Namespace http://msdn.microsoft.com/en-us/library/system.windows.forms(VS.85).aspx
I see in another thread here Banana has some experience on this creating Interops.
more specifically i want to do this which is possible in .net
on my form which has a webbrowser named Webbrowser1
Code:
WebBrowser1.ObjectForScripting = Me
Code:
window.external.getID(my_ID)
Thanks in advance guys.
ps. If you are thinking this guy is an idiot that is a lot of work and there must be another solution - you are probably right but I am also doing this to extend my experience and jump in the deep end.