PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197 Text to HTML-VBForums
That instance of IE has nothing to do with your code. You would have to create a web browser control in your program in order to assign your text to it.
What you need to do is click the Project menu in the VB IDE, then click on references. You're going to have a huge list of things with checkboxes on the left. Scroll to and check "Microsoft Internet Controls" in that list and click ok.
Then add this code in the approperiate place in your program.
VB Code:
Dim IE As InternetExplorer 'Browser object
Set IE = New InternetExplorer 'Open a new internet explorer
IE.Visible = True'Make the browser visible
IE.Navigate "about:_blank"'Load a page in order to insert HTML into it.
'Loop until the browser is done loading the blank page
While IE.ReadyState <> READYSTATE_COMPLETE
DoEvents
Wend
'Insert your html into the blank page
IE.document.Body.InnerHTML = text1.text
Hopefully that doesn't give any errors. Ask if you need any more help.
It ran perfectly fine when I tested it :S. I have IE 6 sp2 which may play a major role in this error because IE 6 sp2 has had so many stupid upgrades done to it that it no longer functions like the other browsers.
did you reference the DLL or did you add it as a component?
I managed to produce the same error by adding the component. What you want to do is REFERENCE the DLL. Don't add the component. To reference the dll, it's right ontop of the COMPONENTS shortcut in that menu.
I don't think you understand what I mean. Referencing a DLL and Adding a Control are not the same thing. I asked you to reference "Microsoft Internet Controls", but you add the control instead.
In the VB menues, click on
Project --> References
what you did was
*WRONG* Project --> Controls *WRONG*
→ The Comprehensive Guide to Cloud Computing
A complete overview of Cloud Computing focused on what you need to know, from selecting a platform to choosing a cloud vendor.