Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > september 2007 > threads for friday september 28

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

itemize variable via reflection
Posted by Bob at 9/28/2007 10:42:03 PM
Hi, Does anyone know if it is possible to use reflection to determine the names and value types of the variables currently in scope? Thanks, Bob ...more >>


Reading big chunk of binary data from socket
Posted by Willy Stevens at 9/28/2007 10:33:09 PM
Hello, In my application I have to read sometimes quite big chunk of binary data. I have a buffer which default size is 32000 bytes. But how could I read binary data that exceeds 32000 bytes? Is allocating more size to buffer and copy data that exceeds 32000 bytes at tail the only way or ...more >>

DLL path
Posted by DaveP at 9/28/2007 9:48:42 PM
How Can i get the location where a Dll Was Loaded From Tks DaveP ...more >>

DLL and Application Config
Posted by DaveP at 9/28/2007 9:25:14 PM
i have a c#Dll being Called From Vb6 using Iinterface now my question is Can ConfigurationManager.AppSettings be used with this DLL or Do i have to Create My own Config for this Dll Tks DaveP ...more >>

CSS
Posted by vinnie at 9/28/2007 8:04:57 PM
do you think that it's possible to build a nice web site in asp.net 2.0 C# without knowing anything about CSS? ...more >>

Question about connecting client programs to Sql server 2005 running on local area network
Posted by ali at 9/28/2007 7:21:13 PM
I have a program that has hand written database connections and DataGridView that connects to my database on sql server using computer's name .this works fine locally BUT problem occures when running my app on local area network causes this exception " Application attempted to perform an ope...more >>

64 bit OS
Posted by Lubomir at 9/28/2007 4:29:00 PM
Hi, When I create and executable (with VS running on 32 bit OS) with solution configuration for platform "Any CPU", how does run this application on 64 bit OS? Is this app running like WOW or will it be running like a true 64 bit application? Thanks, Lubomir...more >>

Validating an .exe file
Posted by Martijn Mulder at 9/28/2007 2:36:04 PM
When I distribute my .exe assembly, I want to make sure that users get the correct file. When someone has meddled with the contents, I want the program to quit with a message. Is there a way to set some kind of checksum in the .exe itself so that the .exe auto-validates itself? I am not sure...more >>



Editing a solution on two machines
Posted by MFK at 9/28/2007 2:25:02 PM
Hi all, First apologies for the off topic question, this is a sourcesafe question, but the Sourcesafe groups just don't get answers, so I thought I'd try your patience here <G> I have a solution (currently 2 pojects) at one site that I want to be able to take to another site and edit the...more >>

Reading from a file, what am i doing wrong here ?
Posted by Claire at 9/28/2007 12:23:26 PM
I can't see what Ive done wrong with the following, would someone help please. I'm trying to read rich text from a file. Ive tested the file using a hex editor and the contents have been written correctly. When i read back the file, the result is returned as the file name and not the file con...more >>

RTF Editor
Posted by Joe at 9/28/2007 12:06:56 PM
Does anyone know of a good RTF editor for WinForms? I want to use the standard RichTextBox but need a good editor. With source would be nice... Thanks, Joe ...more >>

Web Page Input
Posted by Looch at 9/28/2007 10:01:03 AM
Hi All, I have a button on a win form that opens the UPS web site, which uses a .jsx page for the default page. Easy enough. I've viewed the source code of the page and found the input boxes for the user name and password. Is it possible to interact with the web page from my application to au...more >>

How to use Variable in select statement?
Posted by Mehbs at 9/28/2007 9:54:33 AM
I created a very simple form. There are 2 text boxes; 1 for entering account number and other to display its desription. I also placed buttom so when it is clicked, select statement underneath grab the description of that part number and display on the form. I also created a data set fo...more >>

intellisense problem
Posted by Dan Holmes at 9/28/2007 9:28:32 AM
I admit this might have more to do with the IDE than the language but... in VS2005 sp1 when i highlight the interface inherited by my class and then choose "Implement Interface" -> Implicitly i get this message: "All members of this type have already been implemented". The problem is the c...more >>

How to create manifest for non .net application
Posted by DBC User at 9/28/2007 9:12:22 AM
Sorry for off topic here. I would like to know will it be possible to create a manifest for non .net application? I have a program created with VC 2.1 and Install Sheild as well. I want those two programs to require admin privileges to run in vista. I know I can do it in VS 2005 by adding additi...more >>

Converting an img tag into a string and parsing out alt tag
Posted by Bhagya at 9/28/2007 8:36:03 AM
Hi, I need to create a class to convert the <img> tag into a string and parse out the alt tag and create a caption out of it. I have no clue how to do this. Please help! Thanks in advance! Bhagya...more >>

how do i convert a byte[2] with format big endian signed int to a integer value?
Posted by eywitteveen NO[at]SPAM gmail.com at 9/28/2007 8:16:37 AM
Hello, Introduction: I'm currently working on retrieving altitude values from a a file(srtm). This file contains a array of byte values and depending of the position i want to know, i have to read to byte's to know what the altitude is. This works fine, till i want to convert the bytes to a ...more >>

How to do?: Stack of limited size containing unique items.
Posted by mark4asp at 9/28/2007 7:29:58 AM
Stack of limited size containing unique items? Hi guys, How would I implement a stack of limited size containing unique items? For example. Suppose my stack has [3,5]. I add 2 to it and it is now [3,5,2]. Now I want to add 5 to the unique item stack so it should now be: [3,2,5]. The item...more >>

How widespread is .Net Framework 1.1.4322 ?
Posted by Georg Scholz at 9/28/2007 7:02:48 AM
We are about to design an application, which will used by 10,000 people world-wide, mainly hospitals, doctors and scientists. There will be multiple language Versions. The app will be about 1 MB, it will be distributed via download. Now we are considering to write it in C#, with .Net 1.1.4...more >>

how can i convert aspx pages to HTML pages.
Posted by ramya.salva NO[at]SPAM gmail.com at 9/28/2007 6:42:53 AM
I'm trying to add to my project an html page so that I can add some C# code into it. I would need to 'convert' into aspx so that I can add the code with the IDE. What would I need to do? Thanks. ...more >>

Rights for SNMP service
Posted by Dan Pavel at 9/28/2007 3:55:56 AM
Hi, I need to verify from my application if the SNMP Service on several computers have the Community set to "public" and the rights as "READ WRITE". I tried to do it by WMI but with no success. Any help will be appreciated. Best regards, Dan *** Sent via Developersdex http://www.de...more >>

System.Drawing.Size unit
Posted by Gidi at 9/28/2007 2:58:01 AM
Hi, what is the unit of System.Drawing.Size? when i'm writing Size = (1024,784), is it pixel? or something else? Thanks,...more >>

Read from file line by line
Posted by denislagoda NO[at]SPAM gmail.com at 9/28/2007 2:23:53 AM
I am a beginer. I need to read a TXT file line by line How to do it? ...more >>

Weird GUI performance slowdown
Posted by Jesper, Denmark at 9/28/2007 1:36:03 AM
Hi, On a simple form, I have a ListBox control. This listbox control is loaded with around 800 text items of somewhat short length. There are also some other controls on the form, buttons. When the form need to repaint itself after e.g. maximize, it happens somewhat slow, I can see the butt...more >>

Missing Tomes of Data Structures
Posted by at 9/28/2007 1:19:34 AM
Hello: I have spent the last week or more looking for an implementation (open source) for a deterministic skip lists. I am currently approaching the completion of a data structure library I am implementing. I have a randomized skip list completed; however, I require a deterministic skip lis...more >>

Windows app or ASP.NET ?
Posted by Alan T at 9/28/2007 12:00:00 AM
I am not sure which way to go: Want to learn C# but C# is implemented both in Windows desktop application and ASP.NET. I am not familiar with web programming, should I start with Windows app or ASP .NET? ...more >>

Enumerating Explorer shell windows out of memory exception
Posted by nagar NO[at]SPAM community.nospam at 9/28/2007 12:00:00 AM
On certain occasions I get COM exceptions errors when enumerating the Windows Explorer active windows Some customers reported the error System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following err...more >>

Now I've done it...
Posted by Johnny J. at 9/28/2007 12:00:00 AM
I wanted to exchange all the ComboBoxes in my project with a special MyComboBox inherited from the Regular combobox but with a little extra code. Because I didn't want to remove all the normal comboboxes and drag and drop MyComboBoxes, I did a find and replace in my entire solution which cons...more >>

Decisions tree/table vs. IF/Switch vs. ?
Posted by Mark S. at 9/28/2007 12:00:00 AM
Hello, I've put my question at the bottom of the code below... using System; using System.Collections.Generic; using System.Text; public class Criterion { public string operatorLogical; public string argument; public string operatorEquality; public bool isCaseSensitive; ...more >>

Common Context menu for two controls
Posted by bob at 9/28/2007 12:00:00 AM
Hi, I have a context menu that copies the selected items in a listbox to the clipboard. I want to use it on two listboxes and can't see how to detect the parent control in the event handler. i.e. Something along the lines of: IEnumerator en = ((ListBox)sender).SelectedItems.GetEnumerator(); ...more >>

Tutorial on Proper Animation
Posted by Martijn Mulder at 9/28/2007 12:00:00 AM
I am looking for a C# .NET 2.0 tutorial on animation techniques, especially the difficult subject of Invalidating() the smallest possible area on the screen and the proper way to set things up....more >>

Status of Dispose()'d Form
Posted by Martijn Mulder at 9/28/2007 12:00:00 AM
In this tiny program I address a Disposed() Form object. I expect an exeption but don't get one. What is the status of a Disposed() Control? using System; using System.Windows.Forms; class Class { static void Main() { Form form=new Form(); form.Text="Make a jazz noise here"...more >>


DevelopmentNow Blog