• Welcome to Valhalla Legends Archive.
 

Adding a browser to bots

Started by EviL_MarinE, October 13, 2004, 10:22 AM

Previous topic - Next topic

EviL_MarinE

Hey, i want to add a Website browser to my bot.
I made a function:


Private Sub mnuUpdates_Click()
frmBrowser.Show


I Start it, press that button and it says "No MDI Form Aviabable to Load"
When the form is there
Any ideas anybody?

drivehappy

Do you have your main form set as a MDI parent - such that all MDI forms will only reside in that form?

LivedKrad

The properties window is your best friend!

MichaeL

You need a webbrowser for updates? Heres a simple way to show some updates

Private Sub Form_load()
Text1.text = Inet1.OpenURL("http://www.updates.com/updates.txt")
End Sub

Make the text box multiline and your set.  That will display whatever text you have in the updates.txt to the Text box, give it a try.  Simple, but effective

Newby

I'm assuming you had it generate the default browser form.

If you are using an MDI-style form layout, it should be fine.

However, from the looks of it, you are using SDI. Tell the frmBrowser that it isn't a child window.
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

Warrior

VB6 has voice recognition ... hrmm :P
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

EviL_MarinE

i got it done ages ago, sorry for not saying

titan0060

doesn't VB6 come with a browser form built in?

MeltingWax

because wouldn't that be a waste when you can use the windows html interpreter?

LivedKrad


CrAzY

Uhm, you relize that there is a Internet Explorer .ocx.  ;)
CrAzY

Imperceptus

I strongly suggest using the Execute method and then a nice state changed procedure.   Runs about 5 times faster from what I have noticed.
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.