Or vice versa, host a .NET UserControl in the HTML... (I mention only for
the sake of completeness -- and because I just accidentally replied to the
cross-post on dotnet-winforms... please don't do that, Vince.)
http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx
Just how great
Here is an example of doing this using XAML [1]. Cool idea but I think the
work involved might out weigh the benefits (until all target desktops are
longhorn or up).
HTH
Mark
[1] http://www.devx.com/DevX/Article/20785/0/
-Original Message-
From: Moderated discussion of advanced .NET to
I've spent quite a bit of time over the last year trying to implement
RFC 3454 (Preparation of Internationalized Strings, aka 'StringPrep').
This RFC is also a dependency for RFC 3491 (Internationalized Domain
Names / IDNA) which is something that I also need to support.
The problem that I've bee
I still don't understand why abusing the remoting infrastructure helps you
at all. Just use a static event, or a static naked delegate instance. Or,
store a reference to your "main" form in a global field or property. The
type system is your friend, not your enemy.
Your code should only interac
From: "Seref Arikan" <[EMAIL PROTECTED]>
> I'm certainly aware of the differences between local apps and HTML. The
> ONLY capability i want to use is to display a form for data entry.
> That's all. No data validation on client side, no fancy user interfaces,
> they're as simple as they can be (cal
Just to let people know - Ian, Mike and myself have been beaten into
submission by the sheer volume of spam we have to process in order to
moderate this list. For some reason listserve software can't be set to spam
filter *moderated* lists.
So as of now, the Advanced .NET list has changed to an un
I recognise that I'm abusing the call context in this specific situation.
The motivation was primarily an R&D one as it appeared to be the quickest
mechanism (without reworking interfaces) to get a notification from any one
of a number of modeless dialogs back to my main test harness dialog.
The m
Unless you get somewhat fancy, as in using something like XUL, XAML or MXML
to describe an interface, and using something (XSLTs?) to transform it for
one or more targets, with the transformation engine being smart enough to
adapt/reduce for each target.
But, which ends up being less work? Create
I'm a huge fan of windows forms apps. However, in this case I have to
ask why you are even bothering with one? If the form is as simple as you
say, and you have to maintain a web version anyway, why bother with a
windows forms app at all?
Or perhaps conversely, why bother with a web app at all? :-
Well,
I'm certainly aware of the differences between local apps and HTML. The
ONLY capability i want to use is to display a form for data entry.
That's all. No data validation on client side, no fancy user interfaces,
they're as simple as they can be (call it exteremely idiotic if you
want). My bu
There are so many different ways to do this, and many of them seem
preferable to (ab)using the remoting infrastructure. Can you describe what
you are trying to accomplish, and why you believe it requires using the call
context?
-- arlie
-Original Message-
From: Moderated discussion of a
Enums are not boxed directly to their base (integer) type. Casting an
instance of an enum to object boxes the enum instance. Try this some time:
Console.Write (((object) TestEnum1.Value).GetType().FullName);
-- arlie
-Original Message-
From: Moderated discussion of advanced .NET topics
> This would speed things a lot, especially for enterprise development.
Possibly.
But only if you like extremely idiotic surfaces.
You may not be aware of it, but the capabilities of local applications
and html are vastly different. You CAN NOT move environments without
basically getting the wo
Hi,
This is the question that i've been thinking about for some time. My idea is to design
a GUI form, and save it in some format (probably XML based) and then render it to
different types of environments like web or windows forms.
XUL on java is based on this idea, if i'm not wrong, and XAML w
At 03:04 AM 4/20/2004, Marek Malowidzki wrote (in part)
>I believe that it happens quite often in varions object libraries that
>although they are based on interfaces or even sometimes on classes, they in
>fact only operate on objects created earlier by the library.
The genuis(es) who designed .N
Certainly legal from the compiler's perspective. I think of enums as more
of a business-rule named constant. That said, yes, 1=1, but the semantics
of Value == SomeOtherValue might not be true, but only your logic
surrounding these two enums can make the call on this.
Jeff Block
-Original
Hmpf.
::I assume that this works since the enum value is boxed and unboxed to
an int.
Wrong. It works because enums CAN be cast to their primitive type.
Boxing never enters the equation here.
What you ask for is legal - by design.
Reference: Language specification.
Thomas Tomiczek
THONA Softw
Consider two enums
enum TestEnum1: int
{
Value = 1
}
enum TestEnum2: int
{
SomeOtherValue = 1
}
and the code
object x = TestEnum1.Value;
TestEnum2 y = (TestEnum2)x;
I assume that this works since the enum value is boxed and unboxed to an
int
I looked at info on ObjectSpaces back in the summer. It appears that MS
might have received negative feedback on their original design (I'm
attempting to remember ... ObjectSpaces seemed to be little more than some
kind of simple data container)
I took another look today. I'm seeing more what I wo
Hi
I'm trying to smuggle a form event handler to another form using the
context, and I'm getting a cast error when I try to retrieve the delegate
from the data slot.
DelegateDef.cs
==
namespace X
{
public delegate void DaEventHandler(object sender, EventArgs e);
}
Form1.cs
> > However, if DoSomething() operates on a number of objects:
> >
> > t.DoSomething2(someIf1, someIf2, someOtherIf3);
> >
> > then the situation may change. I recall at least one project in which
the
> > supplied references were cast internally by DoSomething2() to private
> types
> > because the
We have a GUI based windows application and a Web based application. Both
the applications are accessing the same business logic to display the data.
We have separately created Windows forms for Windows application and Web
forms for the web application.
Is there a way by which we can save these fo
We are using the purchased DotFuscator to scramble the assembly code.
I imagine that there is no perfect solution to registration. I would
appreciate pointers to "best practice".
Thank you
Mark
-Original Message-
From: Daniel O'Connell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 20 April
> I get your point :D
:)
> So basically there is no windows app that can be protected.
Correct. In theory :). In practise, if the amount of hurdles is
high, it will simply take a lot of time to remove all the checks and
other traps placed inside the code. Most crackers give up af
24 matches
Mail list logo