all groups > dotnet clr > july 2005
Multiple Inheritance
Posted by Boomessh at 7/31/2005 10:56:02 PM
Hi all,
I wanted to know the reason Why in .NET multiple inheritance is not
supported?
Thanks,
V.Boomessh... more >>
Accessing data of Microsoft Project?
Posted by mehrnoosh at 7/30/2005 3:56:23 AM
Hi
i want to access and edit Microsoft Project datas via .net programming.
can you help me,please?
It''s very important for me.
regards
-----------------------------
This message is posted by http://asp.forumszone.com
... more >>
AppDomain PrivatePath under .NET 2.0 Beta 2
Posted by Gael Fraiteur at 7/29/2005 12:00:00 AM
I would like to add to the search path of my application a directory where
some plug-ins reside. But this directory is not under the application base
directory. I tried many procedures, but nothing works. By the way, these
things are quite badly documented in Beta 2.
The problem is that the ru... more >>
IMetaDataEmit DefineUserString
Posted by Matt Garven at 7/28/2005 12:00:00 AM
Has anyone successfully used DefineUserString as part of IL modification?
I'm trying to change the IL of a method during JITCompilationStarted but as
soon as I introduce ldstr calls i'm running into InvalidProgramFormat
exceptions.
My understanding is that the mdString token created by Defi... more >>
A Directory Service error has occurred
Posted by Eduardo Fonseca B. at 7/27/2005 8:23:01 AM
Hello, I work giving support to a system developed in .NET wich uses
Autorization Manager, Remoting, and Reflection.
I'm having trouble with the system at the production environment because
sometime it launches an Exception with the message "A Directory Service error
has occurred". I've notic... more >>
How to store and retreive images from SQL server?
Posted by Mukilan.Ps. at 7/27/2005 5:41:06 AM
Hi,
" Retreiving and showing Image to the client side"
I'm doing web application using ASP.Net, and code behind VB.Net. SQL server
2000 is the Back end. I'm facing the problem when i retreive the image from
the database and showing the image in the Web page. How to retreive the
image fr... more >>
SEHException from Exception.ToString()
Posted by Niall at 7/26/2005 7:00:02 PM
We are experiencing a situation where calling ToString() on an exception
object is causing an SEHException. We're not able to get much information
about what could be the cause, we can't even tell what exception ToString()
is being called on. The problem is intermittent, we're not able to repr... more >>
_splitpath in .Net
Posted by Surfbutler at 7/26/2005 8:47:41 AM
Hi everyone, apologies if this has been asked before, but I need a nice
reliable _splitpath style function for my .Net app. Am I right in thinking
there isn't a direct equivalent in the current framework? If so, will there
be anything in v2? Also if anyone has a reliable, fully tested replacem... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Loading Types
Posted by Hans-Peter Haberlandner at 7/25/2005 12:00:00 AM
I want to write a utility that compares different releases of an
application. The idea is to have two directories, one containing the
assemblies of the "old" release and another one with the "new" assemblies.
So many assemblies will have the same name but different versions - some
with changes s... more >>
assembly private path
Posted by Marcus Cuda at 7/22/2005 8:53:53 AM
Hi,
I am using .NET 2.0 beta2 and I am having a problem setting the private path for assembly probing. I want to put all 3rd
party dlls into a subdirectory named lib. I created an app config file (see below) and pointed the private path
attribute to the lib directory. When I start up the app,... more >>
delegates vs events
Posted by Alexander Kolev at 7/22/2005 12:18:01 AM
I've a general question.Given the source code below, which produces the same
result what's the difference between delegates and events ? When to use event
and when delegate ?
class Test1
{
public event Del EvType;
public Del DelType;
public void fun1()
{
Console.WriteLine(... more >>
updating the referenced assemblies in production servers
Posted by Fahad Ashfaque at 7/21/2005 6:46:18 AM
Hi,
I have a problem updating the application. I have web application depending
on many other assemblies developed. I have fixed the versioning in
AssemblyInfo.cs for all, but I cannot fix the PublicKeyToken.
Problem is when I just update the build (dll) of any dependency (not the
appli... more >>
Question school
Posted by Marco at 7/20/2005 1:44:00 PM
We would like to extend a virtual machine as CLR or JVM to allow
objects allocation on stack and on heap. What are the repercussions on
the architecture
caused by this modification?
What problem it could imply?
... more >>
Why Dispose() method cause error "Object reference not set to an .
Posted by samer79y at 7/19/2005 7:23:02 AM
Dear All,
I just need an answer of why the Dispose() method cause this error "Object
reference not set to an instance of an object"
I built server control component and use Sharepoint Object Model to
retrieve the sites and arrange them in menu. I have used object like: SPWeb
and SPSi... more >>
InvalidCastException
Posted by cody at 7/19/2005 12:00:00 AM
why doesn't an invalidcastexception contain the value which I was attempting
to cast and the type I was attempting to cast it to? Shouldn't the CLR know
these values?
Iam just trying to understand was is going on under the hood when such an
exception is thrown.
... more >>
Module.ResolveType(int, Type[], Type[]) example
Posted by Sacha Faust at 7/18/2005 4:31:12 AM
Anyone as a code sample that use the new Module.Resolve(int, Type[], Type[])
call in framework 2.0?
... more >>
How Do You Get the Fully Qualified Name of an Assembly from Unmanaged Code?
Posted by Rod da Silva at 7/17/2005 9:16:56 AM
Hi,
I have some unmanaged code and am looking for a way to determine the fully
qualified name of a given assembly DLL. In particular the PublicKeyToken
part of the fully qualified name is proving difficult to determine. I have
found a work around using the SN.EXE tool to list the PublicKeyTo... more >>
Abnormal Thread Termination
Posted by Rahul Anand at 7/15/2005 3:56:05 AM
I have a problem in my multithreaded application. The problem is reproducible
very rarely, only once in 6000 similar execution (through same code path).
Problem: One of multiple threads gets abnormally terminated. It does not go
through the try-catch-finally sequence. The mehtod gets hanged a... more >>
Side-by-side, within an app
Posted by Jon Shemitz at 7/14/2005 4:42:58 PM
I'm developing an app with a plugin architecture. Currently, all
plugins and all referenced assemblies live in the same directory as
the app itself.
I'm being asked to move each plugin to its own directory, primarily so
that plugin A can use version X of component library L, while plugin B
ca... more >>
Type.GetMethod() with generic method parameters: a hen-or-egg problem
Posted by Gael Fraiteur at 7/14/2005 10:33:39 AM
Hi there,
I wonder how to get a MethodInfo using System.Reflection.Type::GetMethod
when the method has a parameter which is a generic method parameter.
Consider this method:
void MyMethod<T>( T myParam) { ... }
I would like to use the GetMethod method to return the MethodInfo
correspon... more >>
Deploying IIS 6.0 Application To IIS 5.0
Posted by Tam OShanter at 7/13/2005 12:00:00 AM
Hello All,
Question regarding application compatibility...
We have been developing an asp.net application and deployed to a test
environment consisting of
Windows server 2003 Web Edition, IIS 6.0 and MDAC 2.8 SP2.
Prior to production deployment, it was noticed (I know.....) that our
produc... more >>
Collection<T>, ReadOnlyCollection<T> or KeyedCollection<T>?
Posted by rkcarroll at 7/12/2005 1:44:21 PM
I have a method that returns a List<string>. With the code analysis feature
turned on, I get this message for the method:
CA1002 :Microsoft.Design :Change
'System.Collections.Generic.List`1<System.String>' in
myMethod(String):List`1<System.String> to use Collection<T>,
ReadOnlyCollection<T... more >>
Will this cause a memory leak?
Posted by Marc Selis at 7/12/2005 10:52:47 AM
We have 2 objects that have circular references.
I know that the garbage collector is supposed to detect circular references,
but I'm not sure it also does that in our situation.
Let me explain our setup:
We have a custom control (A) that creates an DragAndDrop (B) object, and
passes itse... more >>
Why is csc.exe being called by the app?
Posted by Iulian at 7/12/2005 6:30:06 AM
I have a question regarding csc.exe and a smart client application. We have a
library that was used to create a user control that is placed on an asp page
and this page is loaded into the Internet Explorer. We noticed that there is
a large delay at the startup of the application and use used R... more >>
generics in .NET Framework 2.0
Posted by George at 7/12/2005 1:48:01 AM
Hi,
..NET Framework 2.0 offers support for generics. Accordingly, the PEverify
tool verifies also IL bytecode with generics.
Does anyone know where I can find a specification (dcumentation) of the
verification rules for generics (implemented in PEverifiy)?
Does it exist an official spec... more >>
Dynamic class creation at runtime
Posted by Piggy at 7/10/2005 7:27:01 AM
Hi to all,
I’m developing a project in VB.NET 2003 to analyze the financial markets
using several algorithms. To do that I created a “mustinherit†class to
manage the behavior of the standard algorithm, and then a number of inherited
classes for each single algorithm.
Since the algor... more >>
Remoting and appdomains
Posted by Striped at 7/8/2005 11:04:47 AM
<crosspost from dotnet.framework.remoting>
I have a remote configuration: a client and a server that hosts a library.
This library unloads/loads another dynamic assembly in a separate domain
each time a particular method of the library is called .
Everything works perfectly without remoting... more >>
Main loads AppDomain loads AppDomain *@^*%&!*
Posted by Michael Conroy at 7/7/2005 7:46:01 PM
Rick Stahl puts it better than me, but we have the same issue.
http://west-wind.com/weblog/posts/1358.aspx
"The failure occurs only when trying to load an assembly into a new
AppDomain and then only if the assembly does not exist in the parent
application's AppBase or other Bin/Probing p... more >>
What is more efficient?
Posted by Vadym Stetsyak at 7/7/2005 12:00:00 AM
Hi there!
public static void ThreadProc()
{
//code that waits for a period of time
Thread.Sleep(TimeSpan);
//or
Thread.CurrentThread.Join(TimeSpan)
}
IMHO Thread.Sleep is more efficient than Join.
If Thread.Sleep is mapped to the Win32 Sleep and Join to WaitForSingleOb... more >>
Memory Cleanup in .NET
Posted by vinu at 7/6/2005 6:12:05 PM
Hi,
I use COM interop service to talk from a C# Application to a COM client.
On a method on the COM object, the return value is a BSTR.
I call this COM object method in a loop from my C# Application and as a
result,
memory usage goes up dramatically...in minutes to around 100MB as the BSTR
... more >>
memory increase in calling between managed/unmanged code
Posted by vinu at 7/2/2005 12:00:00 AM
Hi All,
I have a very peculiar problem using .NET framework.
I have a COM client(a dll that exposes COM interfaces for GUI applications)
written in C++ which
connects to a server(.exe written in C/C++) through SSL and SOAP.
We use netscape SSL libraries and SOAP requests are created by us... more >>
|