| Thread | Last Post | Replies |
|
| Reading an app.config file from a user control | 20 Mar 2008 21:29 GMT | 3 |
I have a user control that is its own assembly. I would like it to reference the host winforms application's app.config file...is there any way to do this? Thanks,
|
| Web app crashes when using MediaPlayer object | 20 Mar 2008 21:10 GMT | 2 |
My Web application crashes when using a MediaPlayer object. Any idea what's going on? Thanks, William Johnston
|
| Generics Question - how to implement a method on a generic that returns the same type as the generic | 20 Mar 2008 20:10 GMT | 1 |
I am having a really bad time with this one. For some reason, I can't seem to remember how to implement this (elegantly) in c# ... so I thought I would ask the community. Basically, I have defined a generic.... and I want to expose a virtual
|
| objects disappear | 20 Mar 2008 19:41 GMT | 2 |
I'm using VS 2008 and creating a windows form app. When I drag a textbox, button, or any other object, it disappears while I've clicked it untill I release it. I thought this might be a problem with the app i was working on, but after creating another app the same problem occured ...
|
| How to delete an event handler | 20 Mar 2008 19:17 GMT | 3 |
For various reasons, I need to remove the event handlers for a given event. The event can only appear on the left side of "+=" or "-=", so I'm not sure how this is done. I tried this:
|
| Best practice for multi tier apps? | 20 Mar 2008 18:55 GMT | 6 |
In the process of setting up my first multi tier app with .NET 2.0. I'm sure this is a classic setup and if someone could confirm I have the basics right would be much appreciated. 1. Application will have web and fat client access to the same sql
|
| Disassemble dll to get .cs files | 20 Mar 2008 18:55 GMT | 3 |
I asked a contractor to work on a web project for me. This was 2 months ago. He gave me all the files. The contractor was telecommuting from his come country. He uploaded all the code to me ftp site. The website was runing just fine. Now I have to make some changes to the
|
| Finding a resource leak, is it the background thread or something else? | 20 Mar 2008 18:08 GMT | 14 |
My application appears to have a recourse leak. When the user starts a background process, the handle count in Process Explorer (PE) goes up by about 10, sometime 1 or 2 more, sometimes 1 or 2 less. When the task is completed, there are somewhere between 4 and 7 handles still
|
| WeakReference explanation required - please help! | 20 Mar 2008 17:43 GMT | 2 |
I'm wondering could anyone explain what a weak reference is to me in C# or perhaps more importantly why it is used. I ask as I'm reading about an algorithm in the book "C# Cookbook" by Stephen Teilhet & Jay Hilyard about a light-weight cache. There is a
|
| Saving and retriving images in database through WS | 20 Mar 2008 16:54 GMT | 2 |
I'm developing a small application that uses Web Services to access database and store data. At some point, I store some images, by inserting the absolute image path into a varchar field (SQL Server 2005). Images themselves are copied to that
|
| How to Using HTC in Firefox Browser | 20 Mar 2008 14:57 GMT | 1 |
Hi,everybody I programed a web control using C# and htc. I only allow user input the number in my control.I tested in IE6,it is good.But i tested in firefox2.0,the htc had not loaded by browser. How to using htc in
|
| Problem with C++ DLL returning bool | 20 Mar 2008 13:47 GMT | 1 |
we have this C++ DLL we wrote some time ago to do some Win32 native stuff for us. The function we're calling in the DLL returns a boolean value (type bool) indicating success of the operation.
|
| Tool-tips with Pushpins | 20 Mar 2008 13:41 GMT | 2 |
I am working on a map display which is linked to a database containing information on our trucks. I.E. Lat/Long, Customer, Truck number, Product, etc... I have a form with mappoint control and can get the map to display with many Mappoint pushpins at the locations of our
|
| C# app with COM Interface for array of COM structs | 20 Mar 2008 13:05 GMT | 25 |
Hello Experts I'm exporting COM interface from within my C# application (VS2005 .NET 2.0). One of my exported function GetROI() return type is a struct defined in a native COM object.
|
| COM Interop - Access to the path XXX is denied. | 20 Mar 2008 11:50 GMT | 2 |
i have a small class library which accesses some text files (read/write). the class library provides a COM interface, because it will be used in good old asp pages. in my test (console) application everything works fine. but once i use it (via CreateObject) on an asp
|