| Thread | Last Post | Replies |
|
| efficient / easy way to convert an Excel.Range to a double[,] | 19 Dec 2007 14:25 GMT | 4 |
Somewhat I remember I used to be able to do sth like the the following double[,] values = (double[,])excel_range.Value2 But it seems to be not working any more, throwing an exception "cannot convert System.Object[,] to System.Double[,]"
|
| Populate an ImageList from another thread | 19 Dec 2007 14:18 GMT | 14 |
I want to fill an ImageList with bitmaps for a ListView from another thread, because it's a time-consuming process. I expect the ListViewItems' images to "load" one by one, as in a Web browser. I wrote the following code, but the form freezes up while
|
| Generate Verbatim Text in C# | 19 Dec 2007 13:14 GMT | 2 |
We have an application that needs to read in a text file (SAS Source Code) as a string, does text substitution with it, and runs a SAS process with this string as a parameter. The problem is that the SAS source code has some double quotes in it, and some of the substitutions are ...
|
| thread safety / static method | 19 Dec 2007 09:27 GMT | 2 |
Hi, I am worried about thread-safety in the following code. If two threads call GetObject() is it possible they both create a new AlphaContext object and add it to HttpContext.Items? Can I avoid this with a lock? (I assum I would need a "static" object to
|
| call procedure (schedule) | 19 Dec 2007 09:08 GMT | 1 |
I would like to know how can I call to some procedure once in X time which will be designed by user? Is there some kind of scheduler or timer for this purpose? Which code do I need for that? Thank u!
|
| Installing Fonts programatically C# | 19 Dec 2007 09:07 GMT | 5 |
I have a piece of C# code using ShellExecute API to install a TrueType font on Windows XP. The font is installed correctly and is visible with programs like WinWord. However, the font file seems to be locked down and cannot be deleted by administrators, unless the machine is
|
| Using anonymous types in a list/collection | 19 Dec 2007 08:42 GMT | 13 |
Does anyone know how to use anonymous types in a list? I mean, if you define in your code three anonymous types: new {FirstName = "Donald", LastName = "Duck"}; new {FirstName = "Mickey", LastName = "Mouse"};
|
| best way to use: an out method parameter or a method with return v | 19 Dec 2007 08:09 GMT | 10 |
best way to use: an out method parameter or a method with return ?
|
| Datareader question | 19 Dec 2007 07:28 GMT | 4 |
I have a question related to DataReader Suppose a lot of the data is being retrieved from database. To make use of the advantage of datareader over dataset this data should be transferred in HttpResponse to the user that request the site. Is this
|
| generate XPS from textfile | 19 Dec 2007 01:19 GMT | 2 |
can anyone provide a clue on how to generate XPS file from a text file on the harddrive? best regards emre
|
| Problems with COM objects | 19 Dec 2007 00:55 GMT | 6 |
I have a c# application that I am using Com objects to interface with some map software called FalconView. When i create the COM object FalconView opens but immediately closes. It seems as if the object is getting removed even though I have made it global to the class. If I call ...
|
| HOWTO get an assembly registered as COM object during deploytment? | 19 Dec 2007 00:14 GMT | 1 |
I am trying to deploy a .Net 1.1 project using the VS2003 setup program. I need one assembly to be registered as a COM object via regasm. How does one go about doing that in the VS2003 setup program? Cartoper
|
| CascadingDropdown | 18 Dec 2007 23:35 GMT | 3 |
I'm using the ajax control toolkit... for 2 cascading dropdown menus. The dropdowns call the webservice to get their values and everything works fine, but I want to be able to pass the end user's web browser to the app file of the web services. I want to use the global resources, ...
|
| Writing to a File in a Windows Service... | 18 Dec 2007 23:34 GMT | 2 |
All, I have a Windows Service application that has database connectivity and needs the capability to let a user know that there has been a db failure. What is the proper way to notify a user that there has been
|
| Problems creating client proxy with Soapsuds | 18 Dec 2007 22:27 GMT | 5 |
I've got next error when try to create client proxy with soapsuds : "Error: Invalid schema data., String Syntax Not Handled Dictionary`2" Here is how I do this : soapsuds -id:c:\Server\ -types:Server.Dispatcher,ServerDispatcher -
|