I cannot have more than one SingleCall or Singleton object to activate on
server side in the same time / on different threads.
I have a stand-alone EXE:
static void Main(string[] args)
{
// Register channel and instance factory
ChannelServices.RegisterChannel (new Tcp
it ia treeview on the right side and a list view on
the left side.
--- franklin gray <[EMAIL PROTECTED]>
wrote:
> you mean a treeview and a treelist?
>
> -Original Message-
> From: george antony [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 1:02 AM
> To: [EMAIL PROTECTED]
> Subj
As far as an OODB, that is planned for the next version of SQL Server,
from what I've heard. You'll be able to have a hashtable-like object
whose datastore is sql server--you could access your objects via the
object's indexes transparently. Very cool stuff. Actually, I've also
heard that there'
Erick Thompson wrote:
> My questions are related to managing the service. I want to have a fairly
> complex form to manage the service, which is started from the context menu.
> Should I put this form in a completely different assembly then the service,
> and/or call it from a different thread? W
No. .NET remoting supports both HTTP and TCP protocols and unlike DCOM can
be firewall-friendly.
=
On Fri, 7 Jun 2002 14:07:02 -0500, franklin gray
<[EMAIL PROTECTED]> wrote:
>Interesting. I thought standard remoting wouldn't work at all if going
t
I have a windows service which I'm trying to write control code for. What I
want is to put an icon in the system tray, and have a context menu on the
icon. Then, when the user selects a menu item, either a form is shown, or
some action is taken, depending on the menu item selected. I have a proble
Also, there isn't any indication in the docs that this method *must* be
overridden. Fortunately this wasn't too difficult to find, but it did
take a bit of spelunking with Anakrino.
-John
http://www.iunknown.com
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe
That's exactly right. I've created a factory that uses reflection to find
non-public constructors from which objects are created. This works great.
It sounds like I will have to keep the factory. Using the factor is
good...Once I discovered how remoting works, I began to see other
possibilities
You can find a slightly old version of SLiNgshoT on my site at
http://injektilo.org/. Since then the code's been updated a bit and then
donated to the NAnt project at http://nant.sf.net/. It should be included in
the next release (which I believe is scheduled for Monday).
Jason
- Original Me
Andy Elmhorst wrote:
> I am also looking for a way to do this. Has anyone created the tool yet? I
> am very novice when it comes to creating nmake files, so I'm hoping an
> nmake pro could do the job. . .
Google for "Slingshot". It can convert .csproj files to makefiles and NAnt
build files.
Br
Chris Rolon [mailto:[EMAIL PROTECTED]] wrote:
> MyObject obj = factory.CreateObject(typeof(MyObject));
>
> is less natural and less intuitive than
>
> MyObject obj = new MyObject().
>
>
> I have fooled around with the ProxyAttribute and
> ContextBoundObject and have successfully created my object
I am also looking for a way to do this. Has anyone created the tool yet? I
am very novice when it comes to creating nmake files, so I'm hoping an
nmake pro could do the job. . .
>I need a way, besides doing it manually, to convert VS.NET .csproj files
to
>nmake compatible files.
>
>If anyone can
Loc,
One final thought. As Paul Stevens mentioned earlier, this appears to be
a combination of assembly versioning and the way your solutions/projects
have been created. I would strongly recommend that you have all your
developers carefully read the following guide from MS -- ignore the part
abou
When creating business objects, I have typically used the factory pattern to
create a concrete type. As you know the details of how the object is created
are hidden from the developer. Except that the developer has to use the
factory, which is not entirely natural for creating objects.
What I wan
Chris Rolon [mailto:[EMAIL PROTECTED]] wrote:
> In the past I would have used a factory pattern for this
> behavior. I was just wondering if there was a better way using .Net.
I would still use the factory pattern, but you *can* technically use the
ProxyAttribute even for non-remote objects. All
Thanks all you who've replied. I faintly remembered an MS guy at one of
their free MSDN presentation specifically discuss not using the wildcard
that the IDE defaults the value to during project generation. I don't
remember the context for this, but I have a feeling assembly hell is the
situatio
Thanks for the info Ian but as I said in my original posting, the
unsupported registry mods made VB very unstable in my experience. I was
able to see my .NET controls in VB and sometimes even use them for a while,
but the VB6 IDE crashed in a variety of ways and would often refuse to
re-load the
In .Net remoting, through the use of the ProxyAttribute and having objects
inherit from ContextBoundObject, it's possible to hook the "new" creation
of an object. Every time an object is created, CreateInstance of the
ProxyAttribute is called to create the object and the proxy.
This behavior is v
take a look at
http://www.codeproject.com/cs/miscctrl/exposingdotnetcontrols.asp
Exposing .Net controls as ActiveX controls works, just not out of the
box. basically all thats missing is a couple of registry settings. This
was done intentionally since microsoft didn't want to have to gaurentee
th
Interesting. I thought standard remoting wouldn't work at all if going through a
firewall. Is that true?
-Original Message-
From: Teo Lachev [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Windows Forms Web Deployment Questions
Mark,
Thanks for your reply.
1. Which tool would you recommend to set the download cache size? I don't
seem to find a way to do that using .NET Configuration snap-in.
2. You mentioned that .net remoting will not work with the web deployment
because the default security permissions disallow it.
Cool, last time I looked they didn't mention doing anything for Dotnet,
now I need to check this out. One of there founders is very active in
Comp.Databases.Theory, and seems to really have a grasp on what a object
database can do and should do compared to relational.
Justin Harrell
Vice Presiden
right, but unless I fill the dataset again in the Sort event, it is set to
nothing/null. I have to maintain state somehow to keep the dataset populated, correct?
-Original Message-
From: Rahul Sharma [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 10:05 AM
To: [EMAIL PROTECTED]
S
I think there is a .NET alpha on their web site. It's not native .NET, but
rather a Java to .NET byte code translation.
curt
- Original Message -
From: "Justin Harrell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 10:45 AM
Subject: Re: Using DataSets as an IMD
Can anyone say whether Microsoft plans to ever support interoping .NET
controls into legacy COM environments like (especially) VB6? This is the
single biggest roadblock preventing us from adopting .NET as a development
environment. I'm well aware that there are unsupported registry mods that
mak
I used SystemPens.ControlDark for mine.
8)
sean
-Original Message-
From: Luis Abreu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] ownerDraw status bar
Hello guys.
I'm trying to build an owner drawn status bar. I'd like to mimi
Hi...
Is there an implicit way for a given service (exposed through remoting/TCP)
to know wich user is calling it??
thanks in advance
jmn
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
You're not going to find the version number in a human readable format. The
version is generated by the compiler and stored in the manifest of the
generated assembly. What you need to do is look in each projects
assemblyinfo.cs (I think that's the file name) for something like this
[assembly:Ass
http://www.aisto.com/roeder/dotnet/
You want the "Managed Reflection IL Reader for .NET" at the bottom of the
page (http://www.aisto.com/roeder/dotnet/download.asp?File=ilreader.zip).
-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources
- Original Message -
From:
Hi.
I just modified the mono PE/COFF writer to include in the binary
files we create the linker magic that will automatically exec the
program with the ms runtime (_CorExeMain etc.).
It works, but there are two issues:
1) PEVerify still complains with the following error:
[IL](0x801318F0): Error
.Net Assembly Hell is what we've been calling it here. MS will never
learn. Yes, we have gotten it to work by deleting all existing references
in our projects and re-adding them. This is such a nightmare! We have
several dozen projects. The problem would not be so nightmarish if we
could some
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
> I am using the WebMethodAttribute.CacheDuration Property. I
> was wondering if the client or the web service itself can
> tell where the dataset was comming from.
Ahh... ok. The client can't tell no matter how you cache it unless you
return
It works !! :P
Thanks Friend :P
Best regards,
Ricardo Figueira
-Original Message-
From: Patrick Steele [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 7 de Junho de 2002 16:35
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Translate C# to VB
Instead of 'New MatchEvaluator(processPagePrope
Instead of 'New MatchEvaluator(processPageProperty)' for the delegate,
try 'AddressOf processPageProperty'.
---
Patrick Steele ([EMAIL PROTECTED])
Lead Software Architect
Image Process Design
-Original Message-
From: Ricardo Barros Figueira [mailto:[EMAIL PROTECTED]]
Sent: Friday, Jun
Yes an IMDB is a database where the data is stored in memory (volatile
storage) and the engine may be in or out of process, an in-proc database
is one where the engine executes in your process but the data may be
stored on disk (like Jet) or perhaps in RAM.
Justin Harrell
Vice President Developme
I think it would be more accurate to say the MSXML DOM is not a
database, XML itself can be implemented as a "database" or a DOM or just
text. See http://www.dbxml.org one implementation of an xml database,
there are many others. I think its safe to say that XML database are not
mature yet, and wi
Michael,
> I'm looking for library (C#)which help me get a bytecode from method body.
> Unfortunetly system.reflection is not enough for me (methodInfo doesn't
> include information about body's bytecode).
> I remember that somebody wrote a this kind of library.
> I know that ILDASM can show me t
Friends,
How can i translate this to VB.NET ? :
private string processPropertiesTag(Match m)
{
string pattern = @"\s*[^=\s]*=""[^""]*""";
string newHtml = Regex.Replace(m.ToString(), pattern, new
MatchEvaluator(processPageProperty));
return newHtml;
}
I have tried this B
I'm looking for library (C#)which help me get a bytecode from method body.
Unfortunetly system.reflection is not enough for me (methodInfo doesn't
include information about body's bytecode).
I remember that somebody wrote a this kind of library.
I know that ILDASM can show me this information but
I am sorry. I found the IIS Permissions Wizard but I have not been able to
locate the IIS Security Wizard. Would you help me find it?
Kevin
-Original Message-
From: Jeremy Boyd [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 4:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Pe
"I think when he asked about an IMDB what he really wanted was an in-proc db... "
I thought IMDB stood for In Memory DataBase. Am I wrong?
"I know I could tell them to use MSDE, but I am unsure of the target
machines (Windows 9x etc) and don't want to be supporting my app and
MSDE"
I really th
1. The cache is a size limited LRU cache - when it hits the size limit
you the cahce clears the oldest item - you can set the size in the admin
tools
2. Put the config file in the same directory as the EXE on the web
server. There are some caveats with this in V1: 1) ASP.NET by default
does not a
1) If I'm not mistaken, the assemblies are downloaded to a folder created by the
framework on some OSs and to folders in the user's profile on other OSs. The old
assemblies in some OSs will be purged starting with the oldest, depending on the size
allowcated for the cache to hold. On other OS
Yeah, its definitely weird...and you will have to change your data
mindset to conform to the hierarchical needs of XML.
I just did a google on the original poster's request, and this looked
interesting.
Note that I did not say "this is a good idea!". :-)
Personally, I would just sack up and use
There was no XML code there, actually this was the code in .asox file.
I think that you are dealing with an ASP.NET project and there you are having a code
behinf file then you will be also having the web form or web control with an extension
of .aspx or .ascx
If you are doing everything in the
Does anybody have an example used to benchmark test we can look at and try? I didn't
see any downloadable code to try on the website.
-Original Message-
From: Bryan Batchelder [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Usin
Bryan Batchelder wrote:
> In memory databse using XML and Xpath:
> http://www.15seconds.com/issue/010410.htm
While this is an interesting possibility, it presents a few (perhaps
important) problems:
1. Significant memory consumption. For the moment, XPath requires a DOM, and
a DOM requires t
I think when he asked about an IMDB what he really wanted was an in-proc
db, from the description of the solution he was looking for. Jet is an
in-proc file based db, and as far as I know its not ANSI SQL compliant,
but it does work and is free. MSDE is a server based(runs in a separate
process) A
Yes, you can do a select on a datatable in memory. Look into Select method.
-Original Message-
From: Bill Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Using DataSets as an IMDB
However, none of the alternatives discu
I have the following questions about the Windows Rorms auto web deployment
which is BTW very cool:
1. How long will an old version of the Windows Form executable and
reference assemblies stay in the download cache? The auto deploy will
automatically download the new versions of the assemblies, bu
I am using code behind so I don't think I can compair your xml to my code. Anyway, my
problem seemed to be that I have to re-load the dataset in sort event. I am not used
to using web pages so I forgot that the dataset isn't stateful.
What is the normal way of handling a sortable grid handle
In memory databse using XML and Xpath:
http://www.15seconds.com/issue/010410.htm
There are also several commercial solutions that are RDBMS that are in
memory - but they are usually expensive and positioned to increase
throughput - not decrease cost and management.
--b
Bryan Batchelder
eBusine
Yes, Normal Priority. That is correct.
-Bill Conroy
On Fri, 7 Jun 2002 13:38:02 +0200, Manuel Costa <[EMAIL PROTECTED]>
wrote:
>Hi,
>
>
>
>When i do an asynchronous call to some remote method through the
BeginInvoke method, the thread managing the remote invocation will run with
a normal priori
However, none of the alternatives discussed so far are in-memory
solutions. MSDE may be a relevant solution, but it requires an external
(Access or SQL Server) database, doesn't it?
Returning to the original poster's question, is it possible to do queries
against the contents of a Dataset? If s
Robert,
Are you using the The XmlMessageFormatter to create your Message? It uses
the XmlSerializer under the covers, so the restriction not being able to
serialize a Hashtable with the XmlSerializer applies just the same to the
XmlMessageFormatter. If you need the Hashtable serialized to XML you
Read this line:
DataView dv = Me.DataSet11.Tables(0).DefaultView;
as
DataView dv = this.DataSet11.Tables(0).DefaultView;
Thanks.
Rahul.
-Ursprüngliche Nachricht-
Von: Rahul Sharma
Gesendet: Freitag, 7. Juni 2002 16:25
An: [EMAIL PROTECTED]
Betreff: [DOTNET] AW: [DOTNET] Sorting web
We have a product out that uses it with good sucess. We started out with Access, but
we didn't want to have an access version and a sql server version, so we went with
MSDE and SQL Server versions since no difference in coding.
-Original Message-
From: Connolly, Paul [mailto:[EMAIL PRO
Hi,
Try like this: (code is written with C#)
private void SortCommand(Object sender, DataGridSortCommandEventArgs e)
{
DataView dv = Me.DataSet11.Tables(0).DefaultView;
DataGrid1.DataSource =
I jest not :-). No all I'm saying is that it did the job for us and at least people
should consider it.
-Original Message-
From: Brad Wilson [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2002 15:13
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Using DataSets as an IMDB
Connolly, Paul wrote:
Connolly, Paul wrote:
> Yea but where else are you going to get a SQL compliant, fully featured
> RDBMS for free. We've used it here for the past couple of years for our
> remote workers and have had very few problems. Even using a replication
> scheme we wrote ourselves!
Surely you jest, right?
Yea but where else are you going to get a SQL compliant, fully featured RDBMS for
free. We've used it here for the past couple of years for our remote workers and have
had very few problems. Even using a replication scheme we wrote ourselves!
-Original Message-
From: Brad Wilson [mailto
Drew,
I am using the WebMethodAttribute.CacheDuration Property. I was wondering
if the client or the web service itself can tell where the dataset was
comming from.
thanks
brad
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other Deve
How do I sort a web grid. I set the AllowSort property to true and tried to do the
following in the Sort event, but I get a funny looking grid without any data.
Private Sub DataGrid1_SortCommand(.) Handles DataGrid1.SortCommand
TextBox4.Text = e.SortExpression.ToString()
Jeff:
If your not doing anything that makes your web forms IE specific (like
working in GridLayout mode rather than FlowLayout mode for example) than
absolutely yes. By time the various types of web browsers receive the
results of a request it's all HTML and JavaScript that's returned. Like any
Does anyone know if the Netscape explorer supports .NET WebForms ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
If you Go To Build -> Configuration Manager
You Can Choose which projects to compile and which not
-Original Message-
From: franklin gray [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2002 01:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] VS.Net "Copy Local" feature
YesDotnet version
YesDotnet version of dll hell :-)
How does it work if you set the Local Copy to false?
I know when I first started I have a lot of problems with this stuff. I finally got
it to compile and from that point on, I just use two solutions (backend and frontend)
with everything in it. I really
Connolly, Paul wrote:
> Why not use MSDE all you'll need is a different connection string and its
> free :-)
Sure, and it's huge, a pain to install and un-install properly, it runs all
the time and will consume up to 1/2 the system RAM.
MSDE is like driving nails with thermonuclear devices. Wro
you mean a treeview and a treelist?
-Original Message-
From: george antony [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:02 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Urgent Pls-- Explorer Style Interface
Hi all
Is there any way to get an Explorer style interface
.Net like in
We experienced similar behavior both with ASP.NET webservices and ASP.NET
Applications.
Strangely enough, not all of our machines show this behavior.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
OK, but I need to call Initialize method first. Then I could create a
new constructor passing an unused parameter and then call it. I would do
it without calling any constructor or method.
Pierre
---
Pierre Greborio
[EMAIL PROTECTED]
http://www.pierreg
Anyone know how to uninstall WMI schemas (.mof files ...) installed with
ManagementInstaller ?
Morty
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
You said you have multiple solutions with multiple projects; here is the
most likely scenario,
Solution 1 has Project 1 and Project 2 Both Referencing IDBAdapter but
Possibly Different assemblies
Solution 2 Has Project 3 Referencing Project 1 and Project 2
Her is what happens when you build it
>But there is a larger question here: If you're writing a design time
>reflection based tool[1], and you load an assembly by path
>(Assembly.LoadFrom) because your user's project info says to get that
>particular one. How do you set things up so that any referenced
>assemblies will be correctly
Hi Greg,
I am not using any wsdl file to call the web service written in java at
apache server.As far as web service is concerned i know only the
name,url,method and urn/namespace of the web service.Actually i did the
same by using ASP and at now i am writing the same functionality by
using .NET(
"Mark Boulter" <[EMAIL PROTECTED]> wrote:
> Handling clicks on buttons in the HTML page
I couldn't help noticing this comment:
//Now create an RCW of the correct type for the
// co-class - by default it comes back as
//an __ComObject
//NOTE: This will not be necessary in RTM
Why not use MSDE all you'll need is a different connection string and its free :-)
-Original Message-
From: Murphy, James [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 22:49
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Using DataSets as an IMDB
You could do what you were thinking origina
After applying this update from windows update we are unable to debug
ASP.Net application from Visual Studio. Uninstalling the update fixes it :)
Anyone else seen this ? or do we have a strange configuration ?
Thanks
Dave McAlister
You can read messages from the DOTNET archive, unsubscribe fr
A simple way of doing it is:
[ StructLayout( LayoutKind.Sequential ) ]
public struct MyStruct
{
public Initialize( ) // can't have a def. ctor... :(
{
b = new ushort[ 4 ];
c = new ushort[ 10 ];
}
public ushort a;
[ MarshalAs( UnmanagedType.ByValArray
, SizeConst
79 matches
Mail list logo