AllExperts > Experts 
Search      

VB.NET

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More VB.NET Answers
Question Library

Ask a question about VB.NET
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Syed Rizwan Muhammad Rizvi
Expertise
I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.

Experience
Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.

 
   

You are here:  Experts > Computing/Technology > Basic > VB.NET > new tab in Maxthon browser then then wait for load to complete

Topic: VB.NET



Expert: Syed Rizwan Muhammad Rizvi
Date: 11/25/2006
Subject: new tab in Maxthon browser then then wait for load to complete

Question
Hi.

I am using VB.NET 2003.  My application will request up to 2 - 40 records from a database by using a modified URL.  The code below,   when part of a loop works perfectly.

Here is the problem.   I use a "tabbed browser" called Maxthon.    As I said, the code below works perfectly,  but it continually writes over the last tab in Maxthon.    I want to write to a new tab every time.

Maxthon is a shell for internet explorer.   I suspect, that if the code below created seperate instance of Internet explorer, the all would be fine.

I am using VB.Net 2003.

Thank you

.    


Imports System.Threading

Private Sub LoadWebpage_and_Wait(ByVal TheURL As String)
       wb.Navigate(TheURL)
       ShowWindow(wb.HWND(), SW_SHOWMAXIMIZED)
       wb.Visible = True
     
While wb.ReadyState < SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE
           Thread.Sleep(100)
       End While
   End Sub


Answer
I havent worked with Maxthon before, But I think there should be a tabs collection to create a new tab and then u can use that tabs or windows object to navigate. Alternatively you might still use the similar window creation method it might ask for a new paratemeter whether the new window should be tabbed or stand alone.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.