| Thread | Last Post | Replies |
|
| Webservice throw 404 | 15 May 2007 15:42 GMT | 4 |
I got a webservie that supply users with binary files based on a parameter id. The method is void and I stream the file by: HttpContext.Current.Response.ContentType = "application/xxx"; HttpContext.Current.Response.BinaryWrite(arrResult);
|
| How can I get the file name currently playing in Windows Media Player? | 15 May 2007 15:39 GMT | 2 |
I'm writing a small program in C# that will sit in the system tray and "monitor" Windows Media Player. I want the program to grab the file name (and checksum) of whatever video a user is playing in Media Player. I've looked at the WMP SDK, but haven't really found something
|
| Testing for implementation if IComparable<T> regarless of <T> | 15 May 2007 15:31 GMT | 3 |
You can you program against generic interfaces generically? For example, how can I make the following code which works for the non-generic interface also work for the generic counterparts? public bool Equivalent(ArrayList x, ArrayList y) {
|
| Application variables in csharp. | 15 May 2007 15:30 GMT | 4 |
Still new to csharp. I am coming from a C++ background. In C++ I would create a few top level variables in the application class. These are effectively global variables which can be accessed throughout the application because the application object is known.
|
| How to click a checkbox programmatically? | 15 May 2007 15:15 GMT | 12 |
I could call chkMyCheckBox_CheckedChanged() myself, but this is the response to the click, not the click itself. While this is fine for a button, it is insufficent for a check box, as the check box should update its position. Of course, I could just set the check box to the
|
| Code formatting | 15 May 2007 14:18 GMT | 6 |
Quick question related to Visual Studio's automatic code formatting. Often I like to write my variable declarations with spacing to line them up, like this (not sure if this spacing will come out right for everyone, but hopefully you get what I'm after):
|
| attachment in email as parameter to method call | 15 May 2007 13:37 GMT | 4 |
we receive e-mails with attachments; and an attachment is nothing more that an xml file. Question: how can I get this attachment each time a mail arrives and pass it as a parameter to some remote method ProcessXml(XmlDocument
|
| ListDirectory | 15 May 2007 13:31 GMT | 5 |
I had used "WebRequestMethods.Ftp.ListDirectory" but it returns a string contains html format I thought it returns a string that contains files names how we can resolve that?
|
| Error installing Service using installutil on .NET 2.0 | 15 May 2007 12:51 GMT | 1 |
New to C# and VS 5 and .NET. I have attempted to write a service via various examples and after several failed attempts to write an installer via the VS 5 wizards,etc I tried to install the service manually using Installutil.exe utility.
|
| Implicit unsafe casting in foreach? What gives? | 15 May 2007 12:11 GMT | 5 |
Hey Guys, Would anyone mind explaining why a foreach will implicitly do unsafe casts, and if there is a way to turn this off? Here is an example:
|
| extra \ charecter in file path | 15 May 2007 10:23 GMT | 7 |
In my c# application when i use this FileStream fs = File.Open("C:\\Temp\\497_01\\\ \Assumption.txt",FileMode.Open); 1. it works fine, when i ran the exe locally. (e.i : c:\> c\temp
|
| Print Document && Wrapping | 15 May 2007 03:20 GMT | 6 |
I have some text lines to print that are much longer than the width of the paper, maybe as much as 6 times. For a given page, I'd like everything that doesn't fit to print on a second page, and whatever doesn't fit there to go on a third page, etc, so that I can piece
|
| how to get this code to do exactly what I want ?? | 15 May 2007 00:20 GMT | 5 |
I've got some C# code that sort of does what I want: Looking at the xml files in area: http://www.keepitsimplekid.com/xml I want to change Untitled Ad at the top of the xml to the name of the
|
| default types | 14 May 2007 23:33 GMT | 2 |
below is a code snuppet of a table server class i wrote this the best way to return default values for null from a datatable or is there a better way.... still learning all the net framwork
|
| Selectcommand with variable | 14 May 2007 22:51 GMT | 4 |
Hello, I'm wondering why a variable in my selectcommand is not working. In Page_Load I have this: String current_user = User.Identity.Name;
|