philbullock1223
Registered User.
- Local time
 - Today, 08:41
 
- Joined
 - Dec 31, 2011
 
- Messages
 - 55
 
I am trying to display HTML code inside a Access Web Browser Control.  I have been successful in making an html document and setting the control source to the file in the Web Browser Control.  This isn't an ideal solution.
I have been searching how to solve this for a while. Someone said this would work:
	
	
	
		
When I run this in Wb_BeforeNavigate2, my code locks up (feels like it's in a loop and I need to break). The name of my Web Browser Control is "wb." I am using Access 2013. Microsoft Internet Controls are referenced.
Any help would be absolutely appreciated.
 I have been searching how to solve this for a while. Someone said this would work:
		Code:
	
	
	Set Web = Wb.Object
Web.Navigate "about/blank"
Web.Document.Open "text/html"
Web.Document.Write "hello world<br>"
Web.Document.Close
	When I run this in Wb_BeforeNavigate2, my code locks up (feels like it's in a loop and I need to break). The name of my Web Browser Control is "wb." I am using Access 2013. Microsoft Internet Controls are referenced.
Any help would be absolutely appreciated.