Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 9:46
igor196020-Oct-03 9:46 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 10:31
protectorHeath Stewart20-Oct-03 10:31 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 10:46
igor196020-Oct-03 10:46 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 10:54
protectorHeath Stewart20-Oct-03 10:54 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 11:00
igor196020-Oct-03 11:00 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 11:05
protectorHeath Stewart20-Oct-03 11:05 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 11:13
sponsorJudah Gabriel Himango20-Oct-03 11:13 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 11:47
protectorHeath Stewart20-Oct-03 11:47 
Actually, all this stuff is already controllable by the CLR (not IE). This means that the control accessed in any way (other than a custom host that doesn't abide by the rules) falls under the same restrictions (see .NET security permissions, policies, code groups, etc. for details). For instance, you could say that any control in the URL http://www.somedomain.com/* or http://www.somedomain.com/somesite/* can have certain IO control, control over the UI and clipboard, and much more (you can even customize these permissions that are used by the code in question but must be installed locally to be used during initialization of the CLR). This shouldn't be a function of IE, and, rightly so, it isn't. It's a function of the CLR - the very thing that "runs" .NET.

That said, IE does enforce some control on ActiveX controls as of late (IE 5.0+). The control must implement certain interfaces and belong to certain COM categories to do certain things, but nothing even close to .NET or Java. IE's security control also gives you some control over what ActiveX can do, but it 1) isn't as restrictive, and 2) doesn't allow for as much "matching" as in .NET. For instance, you can say that signed ActiveX controls from a particular zone can do X, but unsigned ActiveX controls from the same zone can only do Y. And you get 4 zones from which you can choose. This further breaks down into safe ActiveX controls and unsafe ActiveX controls (those that implement those interfaces and catagories I mentioned before. All together, that's something like 4 zones * 2 signed states * 2 safe states = 16 possibilities (roughtly). In .NET, the possibilities are countless (even with the default membership conditions, since granular control is possible).

As for DirectX, that would be kind of cool, but would probably be far too dangerous. SVG (if ever finished / widely adopted) does give you dynamic control over most basic things you can do with DirectX (such as object-oriented graphics, control, and some basic meshes(?)) and is fully scriptable (I think that's the part that's holding up the committee). You could, however, make a .NET embedded control that is a graphics surface with which you could use DirectX, should it be installed on the user's machine (but that's pretty much the case for anything like Flash, QT, etc., sans ActiveX itself on a Windows computer with IE 3.0+).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 8:27
igor196020-Oct-03 8:27 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 8:30
sponsorJudah Gabriel Himango20-Oct-03 8:30 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 8:45
igor196020-Oct-03 8:45 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 11:15
sponsorJudah Gabriel Himango20-Oct-03 11:15 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 11:18
igor196020-Oct-03 11:18 
GeneralClipboard and IStorage Pin
Oleksandr Kucherenko20-Oct-03 0:12
Oleksandr Kucherenko20-Oct-03 0:12 
GeneralRe: Clipboard and IStorage Pin
Heath Stewart20-Oct-03 6:16
protectorHeath Stewart20-Oct-03 6:16 
GeneralRe: Clipboard and IStorage Pin
Oleksandr Kucherenko20-Oct-03 21:09
Oleksandr Kucherenko20-Oct-03 21:09 
GeneralRe: Clipboard and IStorage Pin
Heath Stewart21-Oct-03 3:01
protectorHeath Stewart21-Oct-03 3:01 
GeneralRemoting on .NET Framework 1.1 Pin
KC Ooi19-Oct-03 23:14
KC Ooi19-Oct-03 23:14 
GeneralRe: Remoting on .NET Framework 1.1 Pin
Jeffry van de Vuurst20-Oct-03 1:51
Jeffry van de Vuurst20-Oct-03 1:51 
GeneralTake the "real" time an application has been used Pin
Braulio Dez19-Oct-03 23:05
Braulio Dez19-Oct-03 23:05 
GeneralRe: Take the "real" time an application has been used Pin
Marc Clifton20-Oct-03 1:13
mvaMarc Clifton20-Oct-03 1:13 
GeneralRe: Take the "real" time an application has been used Pin
Braulio Dez20-Oct-03 2:20
Braulio Dez20-Oct-03 2:20 
GeneralRe: Take the "real" time an application has been used Pin
Corinna John20-Oct-03 1:35
Corinna John20-Oct-03 1:35 
GeneralRe: Take the "real" time an application has been used Pin
Braulio Dez20-Oct-03 2:21
Braulio Dez20-Oct-03 2:21 
GeneralRe: Take the "real" time an application has been used Pin
Andrew Torrance22-Oct-03 22:33
Andrew Torrance22-Oct-03 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.