Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - VB Webbrowser cotnrol -  Skin v10.4.0 - App Crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB Webbrowser cotnrol - Skin v10.4.0 - App Crash

 Post Reply Post Reply
Author
Message
nklarun View Drop Down
Newbie
Newbie
Avatar

Joined: 02 November 2006
Location: India
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote nklarun Quote  Post ReplyReply Direct Link To This Post Topic: VB Webbrowser cotnrol - Skin v10.4.0 - App Crash
    Posted: 21 December 2006 at 10:26am

SkinFramework v10.4.0

-----------------------------

 

When we apply skin to a VB6 Form which contains Webbrowser Control and if we navigate to any page, it leads to application Crash.

 

Code: Webbrowser1.Navigate2 "Test.html"

 

After executing the above line whole application crashes. 

Error: "Memory could not be read"

 

VB6 Project ZipFile Attached for your reference:

uploads/20061221_102127_Webbrowsercontr.zip

 

I need to apply skin for this control too. How could we resolve/fix this issue?

 

Thanks in Advance!

 

..:NklArun:..
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 2:15pm
Got the same problem.
I don't even need to use LoadSkin, it crashes anyway.
 
Just with the skin control added I get "The memory cannot be read" error.
 
This is serious.
BORG Design - Sultanescu Philip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 1:37am
Hi,
 
What OS ? What IE version?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nklarun View Drop Down
Newbie
Newbie
Avatar

Joined: 02 November 2006
Location: India
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote nklarun Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 1:55am
Hi,
 
OS : Windows 2000 Professional
IE  :  Version 6.0 
..:NklArun:..
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 2:32am
Hi,
 
OS : Windows Xp Home
IE  :  Version 6.0 
BORG Design - Sultanescu Philip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 3:56am
Weird :(, I tested it with WinXP, Win2000 and win98 nothing happened.
 
I only tried WebBrowser1.Navigate2 "about:blank"
do you have same problem if you navigat to blank page?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nklarun View Drop Down
Newbie
Newbie
Avatar

Joined: 02 November 2006
Location: India
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote nklarun Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 4:45am
Hi,
 
    I have attached sample html in the zip file that we tried here at the start of this post.
 
   Or You just put some controls in the HTML (textbox, combo, etc...) and tried at your end.
 
..:NklArun:..
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 5:12am

No problem navigating on "about:blank".

Only valid pages are causing the error.
 
BORG Design - Sultanescu Philip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 10:09am
Hi,
 
Thanks for details. Indeed seems problem appears if page has ComboBox.
 
As workarond please add in application used 10.4 SkinFramework
 
SkinFramework.AddWindowClass "Internet Explorer_TridentCmboBx", ""
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nklarun View Drop Down
Newbie
Newbie
Avatar

Joined: 02 November 2006
Location: India
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote nklarun Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 10:54am
Hi Oleg,
 
            When this Issue got resolved and will us received the fix for the ocx?
 
Thanks,
..:NklArun:..
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 3:08pm
Hello,
So this workaround code works for you?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 5:03pm
Yes, thanks.
BORG Design - Sultanescu Philip
Back to Top
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Posted: 25 December 2006 at 4:44am
Hello Oleg,

same problem with "Internet Explorer_TridentLstBox".
In 10.3.1 both controls were skinned correctly when using

.AddWindowClass "Internet Explorer_TridentCmboBx", "ComboBox"

.AddWindowClass "Internet Explorer_TridentLstBox", "ListBox"

Please try to fix this.
Thank you, Josef
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 December 2006 at 5:46am
Thank you, for 10.4.1 we will check if "Internet Explorer" string exists in window class and will skip it. (For future class names)
 
Thanks for help.  Merry Christmas :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Posted: 25 December 2006 at 10:27pm
Both control classes were ok in version 10.3.1.

Please don't skip the controls instead of fixing the problem.

Thanks, Josef
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2007 at 9:05am
SkinFramework.AddWindowClass "Internet Explorer_TridentCmboBx", "ComboBox"
SkinFramework.AddWindowClass "Internet Explorer_TridentLstBox", "ListBox"
 
This lines of code don't fix it! 
SkinFramework 10.4
 
It crashes if the SkinFramework is on the form. Even if you don't call a single function of SkinFramework, just navigate to the url and you can notice this bug.
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2007 at 5:02am

Windows 2k with IE6.0 --> Crash

Windows XP with IE6.0 --> Crash
 
Windows XP with IE7.0 --> NO Crash
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2007 at 6:40am
Thanks.
 I don't see crush so think it was fixed with our last changes. please wait 10.4.1 it will be published very soon.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
DonB View Drop Down
Newbie
Newbie
Avatar

Joined: 25 January 2007
Location: United States
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote DonB Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2007 at 9:39pm
This is still an issue.  On VB6 Form, runtime error '-1 (ffffffff)'.  SF only has to be on form, not used.  Have a MDIForm, WB is inside DockingPane via a PictureBox.  No crash, but SF has no effect, looks really out of place w/Off2007 look.  Class is "Internet Explorer_Server".  My box is XP Pro, IE7, w/Office 2007 Pro.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2007 at 2:49am
With Ie 7, sometimes I see runtime error '-1  even without SkinFramework or any our controls. remove SkinFramework and try it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
DonB View Drop Down
Newbie
Newbie
Avatar

Joined: 25 January 2007
Location: United States
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote DonB Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2007 at 11:36am

Yes, got same error w/or w/o SF on Form.  Reinstalled IE7 and problem went away.  AddWindowClass "Internet Explorer_Server", "tried all in documentation" has no effect.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.