Current location: Hot Scripts Forums » Programming Languages » Visual Basic » Visual Basic 6 bug?


Visual Basic 6 bug?

Reply
  #1 (permalink)  
Old 07-24-04, 10:33 AM
whoknow whoknow is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Visual Basic 6 bug?

Hello,
I have problems with Visual Basic Internet Control (Webbrowser)
I need that by default the browser will be visible false and then when it will be redirected to some page it will be visible true
Without SSL (HTTPS) all working without problems at all
But with SSL it isn't working when webbrowser is visible false
Here is what I made
Code:
Private Sub Form_Load()

WebBrowser1.Navigate "https://somesite.com?login=some&pass=thing"
'It need to login to something
End Sub

Private Sub Timer1_Timer()

If WebBrowser1.LocationURL = "https://somesite.com?login=some&pass=thing" Then
WebBrowser1.Navigate "http://something.com/signupform.htm"
WebBrowser1.Visible = True
end if
End Sub
It is used for login to control pane (For session) and then auto signup
Not working

With the same but by default browser visible=true working without problems at all
The same with http (Without SSL) working without problems at all

Is it Visual Basic bug or I made something wrong?
Reply With Quote
  #2 (permalink)  
Old 08-27-04, 06:53 PM
Andy1984's Avatar
Andy1984 Andy1984 is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
in timer1 REPLACE
Code:
If WebBrowser1.LocationURL = "https://somesite.com?login=some&pass=thing" Then
WITH

Code:
If WebBrowser1.LocationURL = "https://somesite.com?login=some&pass=thing" <> 1 Then
i dont like your use of the timer, had to set interval to 3000 just so the browser had time to load the page before checking to see if it was loaded, if it checks to fast the page never gets loaded and it loops, givin that all websites load at diffrent times because of server connection or even clients connection. you could have problems
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make a game in visual basic hubo Visual Basic 1 06-23-04 12:31 AM
Visual Basic 6.0 XML Programming - including XSL/XSLT Excel and CSS XMLMania.com Visual Basic 0 01-24-04 03:23 PM
php visual basic perl cgi - outsource programming to india outsource_india General Advertisements 0 10-28-03 03:21 AM


All times are GMT -5. The time now is 09:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.