 |
|
 |
Hi,
If I put the HTML page and the DLL in an IIS residing in my local machine and I try to access this page also from an IE from my local computer, I see all is working OK, regardless I write my URL as http://127.0.0.1/myDir/page.html, http://localhost/myDir/page.html or http://xxx.xxx.xxx.xxx/myDir/page.html
But, when trying to access the URL page from an IE residing in a separate machine as http://xxx.xxx.xxx.xxx/myDir/page.html, the C# Applet shows me a red X sign and I'm not able to load it, even I configure .NET Framework 2.0 Settings or I set the original IP as trusted zone and I assign the right permissions. It seems that the IE isn't allowed to load the C# Applet for some reason.
I'm neither using Authenticode nor trusted code. I'm only lowering the security restrictions of the browsers / machines for allowing such C# Applets. Could you please help me?
Thanks & Kind regards.
|
|
|
|
 |
|
 |
Can anyone help
I want to create an application that has a toolbox at runtime, drag the controls from toolbox and drop in the form. Once we drop the controls in the form, the properties related to that particular control should be displayed in property Panel. Once we change the properties it should affect the form controls.
(This Application like Visual studio toolbox and property box)
|
|
|
|
 |
|
 |
hi ,
how can access this control in my java web application i.e. on jsp the dll is not loaded i try that please reply me..........
|
|
|
|
 |
|
 |
I'd like to embed a non-.NET control within the applet but this appears to fail.
I am embedding a VS 6.0 ActiveX control in the applet, which works fine outside of the browser, but doesn't work at all inside IE. I've tried a few different VS 6.0 ActiveX's (including Microsoft ones) and even built my ActiveX project using VS 2008 but I just get a red X in the browser where the control should be.
I'm guessing I need to tell .NET what the ActiveX object is. VS 2008 creates the interop references in the project but I wonder if these need to be registered somehow in .NET.
Anyone got any advice?
|
|
|
|
 |
|
 |
Hi,
I don't know why but the same .NET applet works when hosted on IIS but fails when hosted on other web server.
Any idea?
cheers
|
|
|
|
 |
|
 |
This code works correctly, simply you need to install the server IIS and run the html file from there example:
http://localhost/CSharpApplet/myapplet.htm
It Not work if you are running either locally
Like this:
C:\CSharpApplet\myapplet.htm
|
|
|
|
 |
|
 |
İ downloaded the sample and execute the html file but it is not working. i can't see the applet.
|
|
|
|
 |
|
 |
Hello
Does it work on Apache ?
|
|
|
|
 |
|
 |
Hello...
I made an applet just like you did but when I run the webapplication the applet is invisible.
I get a little square(10x10).
I've signed the assembly with a strong name but I still can't see the applet.
Some time ago I've made it work but I after I've uninstall the framework and install it again the applet was invisible.
And another thing: when the applet was working on my machine, it was invisible on other machines from my intranet.
What should I do to make it work on both my machine and other machines?
Thanks
|
|
|
|
 |
|
 |
I tried to use the example but it doesnt run, my IE only diplays something that looks like a text area, but not what it should display, please tell me how to make it work, i'm desperate!
|
|
|
|
 |
|
 |
try check the relative path of the dll:
In this example it is in "bin/release" sub-folder:
<OBJECT id="myID" height="150" width="300"
classid="http:bin/release/CSharpApplet.dll#CSharpApplet.MyApplet"
VIEWASTEXT...
Welliton Alves Toledo
www.iconnect.com.br
|
|
|
|
 |
|
 |
This example doesn't work!!!
Please help!!
|
|
|
|
 |
|
 |
Hi can you please tell me which assembly do I have to choose to make this example work? I really need that info.
|
|
|
|
 |
|
 |
CSharpApplet.dll
hth
Welliton Alves Toledo
www.iconnect.com.br
|
|
|
|
 |
|
 |
i've added a button to read and write a file on client but the applet does not work for a denied access. Java applet for such task have to be sign ( so the web browser asks if you want download a page so signed) , but i don't know what i've to do for the c# applet. any suggestion?
|
|
|
|
 |
|
 |
Depending of what your user control will do and where it will run (by intranet/Internet), it will be necessary to trust the assembly by making proper settings on Administrative Tools > Microsoft .NET Framework Configuration/Wizards.
Hth
Welliton Alves Toledo
www.iconnect.com.br
|
|
|
|
 |
|
 |
I have created an ActiveX control that works well when inserted in a Windows Application.
I have tried to put it in an HTML page, but it doesn't load.
This is the message of the error:
Could not load file or assembly 'csgl, version 1.4.1.0, Culure=neutral, PublicKeyToken=d9fb3bdb88c36cd4' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)
My ActiveX control has another one inside it, used for showing graphics using openGL (using the wrapper library CsGL). It's a permissions problem of this library? How can I fix it? I repeat it works fine in a windows application..
More't
|
|
|
|
 |
|
 |
Maybe granting permissions on IE settings?
Welliton Alves Toledo
www.iconnect.com.br
|
|
|
|
 |
|
 |
I created my own testing library in VS.NET 2005 with HelloWorld User Control. The control displays string "Say Hello" and it has public method Hello().
The control was displayed correctly, but IE was unable to call the method through Javascript.
I had to do long-time exploration and I found that VS.NET 2005 creates attribute [assembly: ComVisible(false)] in AssemblyInfo.cs (by default), which makes the method invisible to IE.
I solved the problem due to your sample project
Thank you
-ernest
|
|
|
|
 |
|
 |
No worry, later you pay to me a Big Mac!
Welliton Alves Toledo
www.iconnect.com.br
|
|
|
|
 |
|
 |
I've spent 5 hours searching.
|
|
|
|
 |
|
 |
FWIW: In VS2005, this attribute can be accessed via Project Properties, Application Tab, Assembly Information, "Make Assembly COM Visible".
|
|
|
|
 |
|
 |
Thanks. I was having the same problem. ComVisible works.
|
|
|
|
 |
|
 |
If I put two of these objects on the same page, then Internet Explorer crashes as soon as it attempts to render the second one. I see the first one get rendered, then the background for the second paints, then IE silently exits. Is anybody else seeing this? Any ideas on a work-around?
|
|
|
|
 |
|
 |
Yes I've seen the same thing after I had .NET 2.0 installed
|
|
|
|
 |