all groups > dotnet framework > september 2003 > threads for tuesday september 2
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
how can i use the assemblies ...
Posted by FarriJ at 9/2/2003 9:49:28 PM
i need to deploy the stub of the assembly over the client and keep the
implemenation over the server side ... what do i need to accomplish that ???
thanks for any responses in anticipation:)
FarriJ
... more >>
general double buffering
Posted by martin at 9/2/2003 7:44:44 PM
Hello
Does anyone know how to implement double buffering
to a form (not just when manually drawing with graphics)?
I have any graphical elements (labels and buttons with images,form is
irregular and has brush background etc) and I would like to somehow enforce
automatic doublebuffering when for... more >>
Distributed transaction woes
Posted by TJoker .NET at 9/2/2003 3:38:58 PM
Hi folks.
I'm having a data visibility issue when using distributed transactions but
I'm not sure if this is normal or I'm doing something wrong.
I have this object hierachy that is going to be saved as one transaction.
Each object has a Save() method that creates a SQLConnection and executes a
... more >>
CodeDom VBCodeProvider Option Strict
Posted by Mark Sargent at 9/2/2003 2:16:37 PM
Can anyone tell me how to specify the "Option Strict" setting when
generating code using the VBCodeProvider.
Thanks.
... more >>
Threading troubles
Posted by shelld00d NO[at]SPAM yahoo.com at 9/2/2003 12:05:08 PM
Hi,
I'm building a shell replacement for Windows with .net. I'd like to be
able to start components (loaded from a class library) in a thread.
That is to say, I want the thread to start the component and wait
around till the component quits or the thread is forced to abort.
What is the best... more >>
Copying data onto unmanaged memory in C#
Posted by Luk Vloemans at 9/2/2003 12:00:58 PM
Hi,
I'm trying to copy data onto unmanaged memory in C#.
I found the how you would normally do it in C++:
uint eventMask = 0;
IntPtr uMask = Marshal.AllocHGlobal(Marshal.SizeOf(eventMask));
Marshal.WriteInt32(uMask, 0); //0 is just a random value.
Does anybody know how to do this in C#... more >>
unconditional thread abort
Posted by Azmodan at 9/2/2003 11:48:38 AM
I want to abort (kill) a thread no matter what. In the documentation it
says that if the thread is in an unmanaged code portion when the
ThreadAbortException is thrown, the system will rethrow it when managed
code is executed. But what if the thread is stuck in an unmanaged
method? how can I... more >>
Using a C# Class Library .dll in VB 6
Posted by Jay Douglas at 9/2/2003 11:31:12 AM
Hello all,
I've wrote a .dll in c#. The .dll needs to be used by a VB 6
application. At first, I couldn't set a reference from the VB app, but then
I found the register for COM Interop in the build configuration in the
VS.net IDE. The VB 6 IDE now lists my class library as a reference. B... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Custom attribute applying another attribute
Posted by Andrew Roberts at 9/2/2003 11:06:13 AM
Does anyone know is it possible to create a custom attribute, say
CustomProgIdAttribtute
That when applied to a class will also apply another attribute to it, say
ProgIdAttribute
What I want is to create a custom ProgId attribute that takes two strings and then creates the string for the ProgIdA... more >>
Hyper-efficient Text Importing
Posted by Awah Teh at 9/2/2003 10:53:01 AM
I am working on a project that involves importing IIS Log files into a SQL
Server database (and these logfiles are big --> Some up to 2GB in size).
Up until now I thought that DTS or the BULK INSERT command was the fastest
method out there, but still proves to be long (taking an average of 45mn... more >>
Gettting the type of exception
Posted by Charles at 9/2/2003 1:55:19 AM
I have a component that throws various application
exceptions. I have a second component which is
responsible for alerting ops in the event of a major
problem. In order for it to be able to do this it needs
to be able to interrogate some custom properties on the
exception to diagnose the... more >>
Assembly.Load() and Type.GetType()
Posted by Thomas Sondergaard at 9/2/2003 1:43:20 AM
Why doesn't this work:
Assembly.Load(AssemblyName.GetAssemblyName("C:/WINDOWS/Microsoft.NET/Framewo
rk/v1.1.4322/System.Windows.Forms.dll"));
Type t = Type.GetType("System.Windows.Forms.Label");
I would except Type.GetType() above to return an instance of Type but it
returns null. If I ... more >>
|