| Thread | Last Post | Replies |
|
| Dotnet 2.0 | 17 May 2008 17:00 GMT | 3 |
I have a .net application that needs to upload/download file to/from remote site. I suppose that on a remote site I could publish asp .net page which would contain upload download control. What class, on the application side, would I need to invoke upload/download functionality?
|
| hook virtual print driver | 17 May 2008 13:57 GMT | 1 |
Hi groups, I would like to hook print driver for manage the file that the MS windows'user want to print. I don't want to manage EMF file that the print spooler generate..
|
| Using some code inside my project | 17 May 2008 13:49 GMT | 4 |
I'm just a beginner in C# and I try to compile some code which I found in the Internet. Pasting the code into a xxx.cs and compiling with a command line csc, reveals with an error, that there is no "main". I guise that one may need to
|
| Sandboxing using AppDomain - Trust No One | 17 May 2008 10:23 GMT | 3 |
I am trying to implement an AppDomain to load addin assemblies (loaded in memory using an array of bytes) for a project I am working on and what I basically want is: a) deny access to any local files in all drives
|
| test framework | 17 May 2008 03:39 GMT | 2 |
Hi I'm not sure what's the appropriate group to post this question so here we go. We are looking for a dotNET based test framework like STAF (Java based). We prefer non-commercial open source based. I appreciate any help on this.
|
| How to determine whether an object is a VALID COM object | 17 May 2008 00:58 GMT | 3 |
I have a method Marshal.IsComObject(...) that returns TRUE if an object is a COM object. I have an object of Excel.Worksheet that I released using Marshal.ReleaseComObject(...). I want to iterate over a collection of
|
| Why can't a static member be abstract or an override? | 17 May 2008 00:55 GMT | 21 |
Ok, dumb question, I know, but I just can't get my head round it. I'm writing a base validator class, let's call it abstract BaseFoo. I'm also writing two implementation classes, let's call them Bar and Quux. I want them all to share a static field that defines a regular
|
| WindowsPrincipal.IsInRole actually check roles and NOT groups? | 16 May 2008 22:59 GMT | 1 |
I currently have my application setup and built using Windows Authentication (WindowsPrincipal). For security checks, I simply do an IsInRole call on the Principal. The role permissions are hard- coded, something like this:
|
| Reflection PropertyInfo.GetValue - how to know when it's an indexed property? | 16 May 2008 22:47 GMT | 8 |
I'm using Reflection to iterate over the properties and fields of an arbitrary object. For non-indexed properties it's pi.GetValue(theObject, Nothing) for VB, or pi.GetValue(theObject, null) for C#
|
| PropertyInfo.GetValue(object Obj, object[] index) | 16 May 2008 22:44 GMT | 1 |
I am writing a very generic DumpObject(object Obj) method. I can easily GetType() and GetType().GetProperties(). I can easily PropertyInfo.GetValue(Obj, null) for scalar variables. The problem is arrays or collections which require this syntax:
|
| Best Way to Test Against a Database | 16 May 2008 22:41 GMT | 6 |
What is the best way to test my methods that hit a database? I believe tests should be as automated as possible. However, I'm not sure how I can test against a database since changes will modify the (development) database.
|
| Assigning a Reference to a Variable | 16 May 2008 22:21 GMT | 8 |
Thank you for taking the time to read and help me with my question. Here is a simplified program I have: int[,] array2D = { {1, 2, 3}, {4, 5, 6} }; private void Main(){
|
| Not getting all window messages from IMessageFilter? | 16 May 2008 20:38 GMT | 4 |
Trying to get a see windows messages using IMessageFilter interface however it does not seem to get all window messages. Specifically I am looking for the WM_POWERBROADCAST. I override wndproc which shows the msg successfully but nothing shows up when using IMessageFilter. Am ...
|
| VS2008 intellisense hiding an extension method. | 16 May 2008 18:31 GMT | 8 |
How come VS2008 does not show built-in extension methods for the string class? Like ToList() method, for instance.
|
| How to update a value in a Dictionary<K, V> | 16 May 2008 18:04 GMT | 4 |
do i have to remove the pair and then reinsert it or can i just update the value of the dictionary
|