473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

A bit desparate: WinForms in IE - Security Help and HDC error

Hello,

Sorry for the cross posts - I'm need of help...

I am trying to deploy a very simple webform with the following features:
-DataGrid (not yet bound)
-Textboxes
-Labels
-Combo Box
-Tab Control

I'm having 2 problems with Winforms in IE.

1. Sometimes my Winforms is giving a System.ArgumentException HDC error
when it is loading up. It seems to happen when I load a winform control
a second time after leaving the page for a while.

To fix the issue, I need to shut down IE via the task manager and then
restart IE. This clear the HDC issue for a while.

2. Is it possible to run a .NET 1.1 Winform in IE control without giving
Full Trust to a site? I can't seem to get the example from MSDN working:

http://msdn.microsoft.com/library/de...l=/library/en-
us/dnforms/html/winforms11122002.asp

I gave Execution privileges to the site and Full Trust to the strong
named assembly, but it doesn't work. The only way I can get the assembly
to run in the Internet zone is to give Full Trust to http://127.0.0.1.
The privileges I give to the Strong Named Assembly doesn't seem to make
any difference.

Any help would be appreciated!

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 16 '05 #1
0 1111

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

Similar topics

0
by: Lucas Tam | last post by:
Hello, Sorry for the cross posts - I'm need of help... I am trying to deploy a very simple webform with the following features: -DataGrid (not yet bound) -Textboxes -Labels -Combo Box -Tab...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
4
by: google | last post by:
OK, I know how to encrypt and decrypt data, but here's the deal: I have a large Winforms .NET 2.0 application which is currently storing the connection string in the app.config file unencrypted...
5
by: Notgiven | last post by:
I have tried for several days to install and use aspell. I easily installed on my development computer which is Windows XP. I am trying to get it to run on a linux box now and am getting to the...
5
by: brian.wilson4 | last post by:
Our group is currently comparing winforms vs webforms.....app is Corp LAN based - we have control of desktops.....Below is pros and cons list we have come up with - if anything strikes you as...
10
by: Jules Winfield | last post by:
Guys, I've been designing applications for the financial services industry using MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms). All applications are Internet-based,...
1
by: raylopez99 | last post by:
Took a look at a demo of font dialog for WPF, and it looks complicated. You could do the same thing in C# 3 WinForms 2.0 in about one-half to one-fourth the code. So I wonder, for you that have...
6
by: JDeats | last post by:
I'm in a situation where it's difficult to get on-site and troubleshoot, so I'm looking for scenarios from those experienced on what might be causing this problem. I have a .NET 2.0 WinForms...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.