473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

hosting winforms in html page

roy
hi !
i'm trying to hosting a c# winforms controls in html page
in client side mode ...
i configured CAS and all stuffs ...
control work ok and i can pass paramenter to control and
and i can call public method ...
CAS is configured with new group in machine-local intranet
to give full trust to http://localhost/website/*

now i'm trying to intercept events of .NET control in js ...

if i follow this sample
http://msdn.microsoft.com/msdnmag/is...l/default.aspx
this sample works only if i set CAS to give full trust to http://localhost/*
i see that the problem is in AssemblyInfo.cs

in the line

[assembly: AssemblyKeyFile("client.snk")]

if i change the line in

[assembly: AssemblyKeyFile("")]

i can use my previous CAS setting ( http://localhost/website/* )
but in this way js event doesn't fire !??!?!?!

i'm very afraid, i can't find a solution ...

thanks in advance for all help and support !!!!
andrew
Oct 4 '06 #1
0 1084

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Spiegel | last post by:
Hey all, I have contusions and I think a minor concussion after trying to find information on advanced WinForms DataGrid use. Does anyone know of a site / book that gets really in-depth on the...
3
by: Christoph Schittko [MVP] | last post by:
All, I am trying to display a winforms user control inside an HTML page through an <object> tag. Everything works fine and dandy until I sign the assembly that contains the control. Once I start...
4
by: John A Grandy | last post by:
I'm looking for the best possible book on WinForms and C# , hopefully written for v2.0. I prefer advanced, densely written texts. One sentence where the writer could get away with five. That...
5
by: Gary Webb | last post by:
Is it possible to host a .NET Web Service (managed code using the .NET Framework 1.1) without IIS? I remember a website that indicated it was possible to use a .NET Remoting server to host a Web...
0
by: Andreas Draheim | last post by:
Hi all, I try to get the quickstart from the .NET 1.1 hosting a WinForms Control in IE running in .NET 2.0. But I cant get it going....
1
by: badger_nz | last post by:
Hi all, I recently opened an account with a USA-based hosting company. I'm new to the world of hosting providers, and I have a question regarding performance that I'm hoping somebody here can...
2
by: Yash | last post by:
Dear all, I am newbee with virtual hosts, please help ! I am facing a problem with virtual hosting. I want to create virtual host on my local system before creating it on server. We have...
9
by: shreedhan | last post by:
Hi all, First of all, I use linux (fedora 6) and apache to host I have a problem of including any file in html while hosting only Even a simple code like <img src="/home/user/abc.jpg" /> ...
23
by: raylopez99 | last post by:
Here I am learning WinForms and two months into it I learn there's a WPF API that is coming out. Is this WPF out yet, and is it a threat to WinForms, in the sense that all the library routines I...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.