Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / February 2004

Tip: Looking for answers? Try searching our database.

WinXP and J# Browser doesn't work???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay Canale - 16 Feb 2004 20:21 GMT
Hello,
   I have created a J# Browser Control and I cannot get it to run on my
newly installed WindowsXP system. I posted the J# Browser Control to my
webpage and I can get it to run using my Win2000 laptop, but not the XP
desktop. I have installed the J# Browser Control on the machine and have set
the security code accordingly. Also I have the J# Redistrubable installed
plus the .NET Framework v1.1 and still nothing.

Any suggestions would be much appreciated?

Jay
Lars-Inge T?nnessen - 16 Feb 2004 20:52 GMT
Any firewalls or Norton Internet Security blocking it?

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 16 Feb 2004 21:26 GMT
No there is nothing that is blocking it.

Jay

> Any firewalls or Norton Internet Security blocking it?
Gaurav - 17 Feb 2004 10:21 GMT
Hello Jay,

Which version of Windows XP are you using - Pro, Home or 2003 Server,
please let me know. Also let me know what exactly you did as part of
"setting the security code accordingly". usually, if the Browser Control is
working fine on Win 2000, with the default security settings it should also
be running on an XP box.

Also, some FAQ's about J# Browser Controls are available at  
http://msdn.microsoft.com/vjsharp/downloads/browsercontrolsbeta/default.aspx
. Just in case you have not browsed the same this might be of help.

If you still face the problem please let me know the answers to the above
questions. I would be glad to help you out,

Thanks
-- Gaurav

--------------------
>NNTP-Posting-Date: Mon, 16 Feb 2004 14:24:26 -0600
>From: "Jay Canale" <jccanale@bcn.net>
[quoted text clipped - 9 lines]
>NNTP-Posting-Host: 209.213.1.11
>X-Trace:
sv3-haNspfaFNY5xeSml6twR5k/aQsPnCcBdWocJeKQmf8BzGKlCK4px5mY2vAQyMGCL2Hmi+1oo
1jA6dkw!YTPhJeyaH+Hl+FpKBN3+VvH/u74ESqIhzTxtdBNPAxPG31xKsgme8jtbqt4tVaNfWUMO
qj4=
>X-Complaints-To: abuse@bcn.net
>X-DMCA-Complaints-To: abuse@bcn.net
>X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
>X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
>X-Postfilter: 1.1
>Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fj
serv.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed1.easynews.com!e
asynews.com!easynews!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.
nntp.sjc.giganews.com!nntp.bcn.net!news.bcn.net.POSTED!not-for-mail
>Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.vjsharp:5409
>X-Tomcat-NG: microsoft.public.dotnet.vjsharp
[quoted text clipped - 10 lines]
>
>Jay
Jay Canale - 17 Feb 2004 12:49 GMT
Gaurav,
   I am using Windows XP Home Edition. It's a brand new installation and I
have all the updates installed from the Windows Update site. As for the
security settings, I set the Browser Control Security to "On any Web site
(not recommended)". My office has 2 Windows 2000 machines and J# Browser
Controls does not work on either one except my Win2000 laptop. It is on my
laptop that I have Visual J# installed. Does that make a difference?? I
wouldn't think it would.

Jay

> Hello Jay,
>
[quoted text clipped - 5 lines]
>
> Also, some FAQ's about J# Browser Controls are available at

http://msdn.microsoft.com/vjsharp/downloads/browsercontrolsbeta/default.aspx
>  . Just in case you have not browsed the same this might be of help.
>
[quoted text clipped - 18 lines]
> >NNTP-Posting-Host: 209.213.1.11
> >X-Trace:

sv3-haNspfaFNY5xeSml6twR5k/aQsPnCcBdWocJeKQmf8BzGKlCK4px5mY2vAQyMGCL2Hmi+1oo

1jA6dkw!YTPhJeyaH+Hl+FpKBN3+VvH/u74ESqIhzTxtdBNPAxPG31xKsgme8jtbqt4tVaNfWUMO
> qj4=
> >X-Complaints-To: abuse@bcn.net
[quoted text clipped - 4 lines]
> >X-Postfilter: 1.1
> >Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08

phx.gbl!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fj

serv.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed1.easynews.com!e

asynews.com!easynews!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.
> nntp.sjc.giganews.com!nntp.bcn.net!news.bcn.net.POSTED!not-for-mail
> >Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.vjsharp:5409
[quoted text clipped - 12 lines]
> >
> >Jay
Lars-Inge T?nnessen - 17 Feb 2004 15:34 GMT
Please double check that your client computers have all these redists
intalled:

1. .net framework redist 1.1
2. J# redist 1.1
3. J# Browser Controls

All three must be installed on the clients.

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 16:05 GMT
Yes I have installed all three items exactly in that order too.

When connected to the web my laptop gets the applet with no problem, but
with my desktop computer get nothing. Here is the link of the J# Browser
Control if you want to give it a try.
http://www.bcn.net/~jccanale/EMF2/EMF2.html

Jay

> Please double check that your client computers have all these redists
> intalled:
[quoted text clipped - 4 lines]
>
> All three must be installed on the clients.
Lars-Inge T?nnessen - 17 Feb 2004 16:51 GMT
Try to reload (ctrl + F5) the page on your dev laptop.  =:o)

I get two errors when I try to open the page:

Error:
Line: 1 Syntax Error (first line)
Line 43 Error: Object Expected   (last line)

Try to comment in the browser control.
<!-- you have placed your browser control here -->

The control could be running from your IE cache on your dev computer.

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 17:20 GMT
Ctrl + F5 works but the Applet/Browser Control still works perfectly. It
even runs in IIS without any hitch.

I cleaned out the cache and it still runs fine. I too get those errors on
the WinXP machine and the Win2000 desktop, but no errors on the laptop.

What's next?
Jay

> Try to reload (ctrl + F5) the page on your dev laptop.  =:o)
>
[quoted text clipped - 8 lines]
>
> The control could be running from your IE cache on your dev computer.
Lars-Inge T?nnessen - 17 Feb 2004 18:01 GMT
Could you please upload the "test.html" (attachment in previous reply) file
to your server?

If we get a white box with a red X, this tells us the framework is not
installed. A gray box tells us it's running.

Do you access any local "C:\..." statements in the browser control?

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 18:13 GMT
Which "test.html" is that?

Jay

> Could you please upload the "test.html" (attachment in previous reply) file
> to your server?
[quoted text clipped - 3 lines]
>
> Do you access any local "C:\..." statements in the browser control?
Lars-Inge T?nnessen - 17 Feb 2004 18:25 GMT
Is this correct the "0"?
<span id=objecttag0>

_____test.html__________________________________________
<html>
<head>
<title>EMF2</title>
</head>
<body background="../../images/background.GIF">
<hr>
<h1 align="center">Electric Field of Transmission Lines in 2-D</h1>
<p align="center">
<TABLE BORDER=1>
<TR><TD WIDTH = 400>

<span id=objecttag0>
<object
   CLASSID="clsid:a399591c-0fd0-41f8-9d25-bd76f632415f"
   width=555
   height=450
   ID="EMF2"
   VJSCODEBASE="EMF2.dll#EMF2">
</object>
</span>

</td></tr></table>
<!-- Button code -->
<FORM>
<INPUT TYPE="button" VALUE="Help" ONCLICK="show_Help();"  >
</FORM>
<!-- Javascript to display Help button and function to display Help
page --->
<SCRIPT>
function show_Help()
{
var win1 =
window.open("EMF2help.html","help","resizable=yes,height=500,width=600,scrol
lbars=yes");
}
</SCRIPT>
<hr>
<a href="mailto:rlings@epri.com?cc=jccanale@bcn.net&subject=EMF2
Comments.">Send Comments to EPRI</a>
</body>
</html>
________________________________________________________
Jay Canale - 17 Feb 2004 18:31 GMT
Okay I did it. On both the XP machine and the Win2000 desktop machine there
is a gray box displayed. On the laptop the applet runs completely.

Jay

> Is this correct the "0"?
> <span id=objecttag0>
[quoted text clipped - 32 lines]
> {
>  var win1 =

window.open("EMF2help.html","help","resizable=yes,height=500,width=600,scrol
> lbars=yes");
> }
[quoted text clipped - 5 lines]
> </html>
> ________________________________________________________
Jay Canale - 17 Feb 2004 18:33 GMT
Yes it is working. There is a gray box on the Win2000 desktop machine and
the XP machine. The program is running completely on the Win2000 laptop. As
for anything accessing the "C:\" drive there is nothing.

Jay

> Is this correct the "0"?
> <span id=objecttag0>
[quoted text clipped - 32 lines]
> {
>  var win1 =

window.open("EMF2help.html","help","resizable=yes,height=500,width=600,scrol
> lbars=yes");
> }
[quoted text clipped - 5 lines]
> </html>
> ________________________________________________________
Lars-Inge T?nnessen - 17 Feb 2004 18:40 GMT
I get "Unable to load http://www.bcn.net/~jccanale/EMF/EMF.dll"

The J# Browser Control is running, but it can't load the dll.  Any security
permissions on the filesystem?

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 18:45 GMT
Try http://www.bcn.net/~jcanale/EMF2.html . See if it works.

> I get "Unable to load http://www.bcn.net/~jccanale/EMF/EMF.dll"
>
> The J# Browser Control is running, but it can't load the dll.  Any security
> permissions on the filesystem?
Lars-Inge T?nnessen - 17 Feb 2004 18:54 GMT
YEEEEAAAAAHHHH!!!!!!!  =:o)

It's working!!!

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 19:19 GMT
Okay, now that it is working here is another funny thing.

I copied all the files from the web onto my Win2000 desktop. I
double-clicked the EMF2.html file and it loaded the applet and ran
perfectly. I then tried the same thing with my Win2000 laptop and all that
appears is the grey box. The same with the XP machine. Can J# Browser
Controls be run this way?

Jay

> YEEEEAAAAAHHHH!!!!!!!  =:o)
>
> It's working!!!
Lars-Inge T?nnessen - 17 Feb 2004 20:48 GMT
Offline support?
http://msdn.microsoft.com/vjsharp/downloads/browsercontrolsbeta/

That's new in the beta just released.

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com

Jay Canale - 17 Feb 2004 21:03 GMT
You rock Lars!!!

Jay

> Offline support?
> http://msdn.microsoft.com/vjsharp/downloads/browsercontrolsbeta/
>
> That's new in the beta just released.
Lars-Inge T?nnessen - 17 Feb 2004 21:24 GMT
=:o)

Signature

Regards,
Lars-Inge T?nnessen
http://emailme.larsinge.com
http://www.larsinge.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.