|
CriticalFinalizerObject - eager compilation
I read that when a class inherits from CriticalFinalizerObject, there
is an eager compilation of the Finalize(dtor) method. This implies
that if Finalize method refers a type, declared in an another
assembly and if CLR fails to locate that assembly then that object
isn't created.
For example:(ClassB is declared in another assembly)
class Program:CriticalFinalizerObject,IDisposable
{
...
|
2 |
11/18/2008 8:20:27 PM |
|
Profile permission
We have created users profile using group policy hence permission are
assigned as per best practice. There are more that 2000 users profile folder
on our server. Now, we need to add one group to have full permission to all
the user's profile. Inheritance permission are not enabled on the profile by
default. What is the best way to add new group to have full permission on all
the profile ...
|
2 |
11/18/2008 3:49:06 PM |
|
HOW TO: Save Custom Outlook form data to SQL 2005
I have a requirement that says that custom forms created in Office Outlook
2003/2007 need to save there results to another applications SQL database
rather than storing them in the Outlook database. I’ve found websites
explaining the concept, but does anyone have any examples about how to
actually connect/send/save the input data to a SQL2005 server.
--
JP
..NET Software Developer...
|
1 |
11/17/2008 4:34:08 PM |
|
Timers in System Services
I need to use timers in a system service I am writing. I've been googling
around and read that there are problems. Some say we can simply drop a
timer on the design service with no problems and other say that is
problematic.
Is there a reccomended way in which to deal with timers in services?
Thanks
Gary
...
|
3 |
11/17/2008 5:34:23 AM |
|
sockets : Writing and reading on the same thread with events ?
Hello,
I have to exchange data on a socket within a unique thread in dotnet.
My idea is to use a queue for writing requests and a ManualResetEvent to
detect in the socket thread when one (or more) elements are added (from
the main thread) to the queue (look at my pseudo code bellow).
But is it possible to obtain a WaitHandle to detect when there is data
available for reading in the ...
|
5 |
11/16/2008 9:00:22 PM |
|
IE 7
On closing IE I receive the following message - IEXPLORE.EXE - Application
Error The instruction at 0x42fb1fa0 referenced memory at 0x03b0800 could not
be read. Clicko ok to shut down.
I don't know if the two are related but all of a sudden I am having problems
with Flash player in that I can no longer view online catalogues in spite of
having downloaded the most recent player.
Any advic...
|
3 |
11/16/2008 2:56:00 PM |
|
Start a DOS-Process shows no output
Hello
C#-winform application starts a DOS-EXE which is a ARJSFX.
Everything is working fine, but the output from the EXE is not shown in the
dosbox (something like extracting...).
I konow i could redirect the output but it would be much simpler to simply
see the normal dosbox-output.
System.Diagnostics.ProcessStartInfo pkw = new
System.Diagnostics.ProcessStartInfo(tmpDir + "some.ex...
|
4 |
11/15/2008 9:38:06 PM |
|
Assembly.LoadFile() causes file locking
I have a web service running in IIS that uses Assembly.LoadFile() to
load a specific DLL, depending on who is making the web service
request. This works fine except that IIS places a lock on the DLL,
preventing me from updating it without bouncing the web server
process, which negatively affects other sites on the server.
I'd like to be able to update these DLLs without having to restart
...
|
3 |
11/15/2008 4:02:16 PM |
|
Installation of .NET 3.5 SP1 takes 40 minutes
Installation of .NET Framework 3.5 SP1 takes 40 minutes (vista/xp desktop).
Sounds like some microsoft bug on the surface. Can you please suggest a fix?
Thanks
G Narayanan...
|
6 |
11/14/2008 12:11:01 PM |
|
System Service Question
I'm writing code currently inside a Windows forms application that will be
ported to the form of a system service. I'm aware of many of the attributes
of a service such as not interacting with a user, etc. But where does a
system service keep their settings? There seems to be no .config file to
put an appsettings or connectionstrings into. I know I could put settings
in constants or ...
|
2 |
11/14/2008 9:05:26 AM |
|
ItemTemplateSelector's SelectTemplate method is not called when an object in a binded ObservableCollection is edited
I am trying to create an ItemsControl which is bound to an
ObservableCollection using the ItemsSource property. I want to use a
different ItemTemplate for different items in the collection using the
ItemTemplateSelector. I've set this up, and it seems to be working
properly, except for one problem. If I edit an item in the
ObservableCollection, the ItemTemplate is not updated. My WPF...
|
3 |
11/14/2008 8:34:34 AM |
|
How to detect a managed dll?
Hi all,
I need to be able to tell if a DLL is native or managed. The approach most
commonly suggested seems to be to simply try to load the DLL as an assembly
and to catch the appropriate exception if it's not a valid assembly. The
problem with this approach (in my application) is that it winds up
write-locking the DLL. True, I could load the DLL into a different
AppDomain than my ...
|
3 |
11/14/2008 1:16:22 AM |
|
.net framework versions diffs
there are now several versions of .net framework; 1.0, 1.1, 2.0, 3.0, 3.5.
version 3.5 says it is a "full cumulative update that contains many new
features building incrementally upon .NET Framework 2.0, 3.0, 3.5" it
mentions nothing of ver 1.0 & 1.1.
my questions are should I upgrade all clients & servers to 3.5?
do i need all lower versions simultaneously installed or do I remove th...
|
3 |
11/13/2008 9:45:07 PM |
|
Help needed to convince management...
Hi All...
I needed to convince my manager that his view of the way to implement
WebServices is a little bit off mark.
First let me explain the problem.
Currently we have quite a number of legacy web application (ASP/CGI)
that we're planning on rewrite as WebServices -- and I couldn't agree
more.
Now that's the problem. In my manager's view he thinks that each
command should be a di...
|
5 |
11/13/2008 7:19:09 PM |
|
sbs 2003
I just wanted to know if anyone could help me set up a new windows based pc
to my server wich runs sbs 2003.
Thanks...
|
1 |
11/13/2008 4:33:01 PM |
|
Getting "new address list" to work in Word 2007 re: mail merge
Using Office 2007 products and Windows Vista Home Premium
When mail merging I have no trouble using the Excel data source (contacts
list) I've created, but when I try making and saving the (contacts list) in
Word 2007 (.mdb) from the "select recipients button" ...then..."type new
list" command, it doesn't show up in the "use existing list button". Also it
doesn't seemingly get saved in...
|
1 |
11/12/2008 8:51:18 PM |
|
Writing Data to Access Database on Network
Hi
Is the any difference in coding when it comes to standalone database and the
kept on a network?
TIA
Barry
...
|
4 |
11/12/2008 2:13:13 PM |
|
Interacting with other console applications.
Is there any industry standard for doing this? I wrote a C# class for doing
this and it's working flawless when interacting with cmd.exe and other .NET
console applications. But when I start ftp.exe I can't read STDOUT from that
application. Same goes for some other applications (mainly consoles for
dedicated game servers).
Is there anyone with experience in this kind of applications.
...
|
5 |
11/12/2008 9:00:28 AM |
|
.NET Framwork installation
Sorry for asking a basic question, couldn't find a clear answer anywhere on
the web.
Is .NET Framwork 2.0 or higher is installed with any Windows OS or Service
pack?
Is.NET Framework is always an optional during Windows XP ir Vista
installation?
We are writing an application based or .NET framework 2.0 API's (or higher)
and trying to figure out how to document our features. Should w...
|
2 |
11/11/2008 5:13:39 PM |
|
Button Background changes in WPF
I want to change a button's background for mouse-over and click. My
mouse-over trigger changes the background for a moment before it changes to
the default, and my click trigger never works. I'm running on Vista with
Aero, and I suspect that ButtonChrome is getting in my way.
<Window x:Class="CashDeskClient.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentatio...
|
3 |
11/11/2008 10:04:33 AM |
|
wrong format number
Hi all, my exell, in contrast with all the exell of my friends, recognise the
"." as 1000 separator instead of decimal separator. Furthermore it recognise
the "," as decimal separator. This reduce the compatibiity with a lot of
other programs. How can I change it?
thanks
Mario ...
|
2 |
11/11/2008 7:45:03 AM |
|
Negative Value in Boolean field
Hi
I have a field of type Boolean (lets name it X), in Access, but i need to
insert -1, not true or false to display a checkbox as unchecked, since the
app is developed in VBA, i could find out from the code that it get values
of 3 fields and field X must be -1 to display the checkbox as unchecked.
How do i insert -1 in a DataRow Object
row.X = -1
TIA
Barry
...
|
9 |
11/10/2008 1:17:19 PM |
|
Looking for a .net to PDF tool
I was wondering if anyone knew of a good .net to PDF tool that has
support for design time rendering. Our company has a PDF tool already
but you cant see the result until you run the application. It works ok
but annoying to have to keep running the application to see what the
pdf will look like then make the changes, run again, and repeat. I
looked on the web a bit and so far all the ones i f...
|
5 |
11/10/2008 1:13:06 PM |
|
Apis to create multi instances of a service ala sql 2005 instances
Hi,
I have a windows nt service ( written in C++ ) lets call it
dowork.exe.
I would like to run another instance of it excatly like sql 2005 does
when you create another database instance.
Anyone know how to do this.?
Thanks very much
John...
|
3 |
11/10/2008 1:06:38 PM |
|
jumping back to previous page
My computer regularly jumps back to a previous page without me hitting any
button - is there a way to stop this ? Also the slider bar at the side of the
screen sticks until I right click on the mouse (I am using vista home premium
on a laptop)...
|
2 |
11/10/2008 7:31:06 AM |