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# > april 2008 > threads for tuesday april 22

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

C# Application Dies for Only 1 User
Posted by Erik Reiter at 4/22/2008 10:52:00 PM
I have rather odd problem and I am not sure how to go about debugging it. I have an MDI application that I am deploying on the local intranet to about 20 users using ClickOnce deployment. I am just using the default setting in Visual Studio 2005 to deploy the app to an intranet web server. It ...more >>


Multiselect DropDown using Checkboxes
Posted by John Q at 4/22/2008 9:02:41 PM
Hello, Does anyone know any working Multiselect Dropdownlist that uses Checkboxes? Environment is ASP.NET and language C#. I would be very appreciated if someone would give some links to working solution. Cheers, ...more >>

XmlElement SetAttribute method not working correctly
Posted by nygiantswin2005 at 4/22/2008 8:53:54 PM
Hi I have wrote a method in my C# class with the following code, to create an XMl file. The root element is suppose to have 3 attibutes. I can not get attributes to appear correctly. XmlDocument document = new XmlDocument(); XmlElement myxmlfile = document.CreateElement("FirstElement")...more >>

How about reference type?
Posted by ad at 4/22/2008 6:23:07 PM
It will show the reference page when I right click a web project and select it's property page. There are some reference types: BIN, GAC What is the difference between these two types? ...more >>

Concurrently streaming a file to HttpResponse and file IO
Posted by Anders Borum at 4/22/2008 6:01:35 PM
Hello! I'm implementing support for disk based caching of binary resources (blobs) residing in a SQL database. This post is about choosing the right strategy. Because of the web environment, there are potentially many concurrent requests to a resource. I would like to keep the application ...more >>

Problems with writing an SQL Server varbinary(max) field using .Net 1.1
Posted by Martin Horst at 4/22/2008 3:33:07 PM
Hi, I've got an application which is written in .Net 1.1. When I try to write a varbinary(max) field using the SqlCommand and SqlParameter classes I got an exception like this: "The conversion of varchar into varbinary is invalid". When I remove this field from my update statement, ever...more >>

RegularExpressionValidator
Posted by fcs at 4/22/2008 2:28:26 PM
Hi, I have an asp application (C#) including a bunch of RegularExpressionValidators and RequiredFieldValidators. Everything is fine when run locally or in Intranet. When it is Internet, RequiredFieldValidators are ok but RegularExpressionValidators are not. they cause the error message to sho...more >>

Capturing seperators with regex
Posted by Nightcrawler at 4/22/2008 2:13:28 PM
I have the following regular expression: (\s+-\s+|\s+\/\s+|\s+\\\s+| \t) Is there a better way to write this? I am looking to capture the following characters - / \ and tab. There can be 0, 1 or more space before and after these seperators. Right now it captures these characters if there is...more >>



How to?
Posted by Jacek Jurkowski at 4/22/2008 1:25:35 PM
Open file from resource as a stream? Or just how to read resource text file line by line?...more >>

ValueType object
Posted by colin at 4/22/2008 12:41:43 PM
Hi, Im a bit confused about when you cast a value type to an object. I have a property grid wich stores the data and the defualt as objects. the data is limited to primitive types, structs and strings. the structs only have primitive types. however once ive set the data to the defualt, if...more >>

Security violations when running on a network drive
Posted by Dom at 4/22/2008 12:31:58 PM
In my C++ and VB days, it was easy to put a program on a network drive, and allow each user to shortcut to it. Then, when needed, I could just update the program on the network drive, and each user automatically had it the next time they ran it. Sometimes seems to be happening in CSharp. Now...more >>

Coding NEXT button
Posted by Tammy Nejadian at 4/22/2008 11:51:01 AM
I am working with Visual C# window and in my application I need to use a button ( NEXT) . The button should displays one panel with its objects each time it clicked. I already developed the codes for creating panels and their objects which will be questions and their answers. When the NEXT bu...more >>

SQL XML Result
Posted by Looch at 4/22/2008 11:17:43 AM
All, I'm only getting half of an SQL XML result when I view the result in my application. When I serialize the result to an xml file and view it with notepad the first line begins in the middle of an element name that is somewhere in the middle of the result set. What might cause this? I...more >>

License system
Posted by Microsoft at 4/22/2008 10:39:29 AM
Hello Group I've developed an application that i want to secure with some licenses system, can anyone recomend a license system? The application is developed in Visual Studio .NET 2005 C# Kind regards Johnny E. Jensen ...more >>

Casting 'object' to "real/useful" Type
Posted by Robert at 4/22/2008 10:12:19 AM
I'm working on a plug-in architecture whereby my application dynamically loads assemblies based on runtime conditions. I plan to use Activator.CreateInstance to instantiate objects from the dynamically loaded assemblies. Activator.CreateInstance of course returns the created type as 'object...more >>

Dropdown selection displaying "SYSTEM.RUNTIME.SERIALIZATION.EXTENSIONDATAOBJECT"
Posted by Bill Fuller at 4/22/2008 10:09:20 AM
I have a dropdown combo box where the DataSource is bound to a CSLA BO returned from a WCF call. The dropdown list looks fine, but selecting an item returns "SYSTEM.RUNTIME.SERIALIZATION.EXTENSIONDATAOBJECT" (which seems to be related to WCF somehow) and I am not sure how to debug this. Does ...more >>

Windows Service config file
Posted by Peter at 4/22/2008 9:59:23 AM
..NET 3.5 I have a Windows Service application and it does remoting, but when a client incounters an error the client get the following error message "Server encountered an internal error. For more information, turn off customErrors in the server's .config file." Where do I turn this o...more >>

WCF services and logging
Posted by ludwig_stuyck@hotmail.com at 4/22/2008 9:56:44 AM
Hi, I've a number of WCF services and other components (not services). I'm thinking of creating a centralized logging system. One possibility is to create a logging service that stores everything in a database table, but I was curieus whether this is the way to go; or are there better alterna...more >>

Add files to ClickOnce app
Posted by Christian Havel at 4/22/2008 8:54:02 AM
Hi, how can I add files (e.g. ini-files, xml-files, pdf,..), that should be installed with a ClickOnce deployed applications? Christian...more >>

serializing List<List<string>>
Posted by parez at 4/22/2008 8:22:46 AM
Hi, I am trying to serialize List<List<string>> . With the following code [XmlArrayItem("DataRow")] [XmlArray("DataRows")] public List<List<string>> DataRows { get; set; } I get the following <DataRows> <DataRow> <string>123</string> <s...more >>

Compiler warnings and performance
Posted by cashdeskmac at 4/22/2008 8:17:02 AM
Hi, I have built an application containing a few projects (nothing that I have written)and there are a few compiler warnings (obsolete methods and the like). Does anyone know if these obsolete methods cause any performance issues if not corrected? I would imagine that they do, but would b...more >>

C#/WPF and Internal Speaker
Posted by Wonko the Sane at 4/22/2008 8:10:02 AM
Hello, This is for a WPF (3.5) application. We have a requirement to produce sounds on an internal speaker (in the case that no external sound device is available). I know of Console.Beep(frequency, duration), but I wondered if there is a better, more controllable way. Basically, the u...more >>

DBML - DataContext - How to insert?
Posted by Matthias S. at 4/22/2008 8:01:14 AM
Hi there, I have added a database model to my application and dragged a couple of tables on it. Then I wrote a couple of selects using LINQ to SQL and everything works fine. But I can't fingure out how to add new items. For example, I have a table named ServiceLog. I thought I could just go...more >>

Overriding a function call with a J# java.lang.Exception parameter in C#
Posted by Bob Bryan at 4/22/2008 7:53:42 AM
Hi, I am writing a windows app in C# and referencing a lib built in J# and which I don't have the code for that requires a method to be overridden that contains a parameter defined as: java.lang.Exception I tried specifying the .net Exception class instead, but then I got an error mes...more >>

problem involving matrix and binary search trees
Posted by mark at 4/22/2008 7:35:54 AM
I have a 5x5 Matrix. Each cell consists a string value(ex:URL of a website) I want to find out which string value occurs( i.e. repeats ) maximum no. of times in the matrix. I have a hint that BINARY SEARCH TREE will be used here and that NODE class in c# may be used to implement trees. ...more >>

Reverse Tab equivilent of this.ProcessTabKey()?
Posted by Bill Fuller at 4/22/2008 7:28:34 AM
I have an application that is modifying the ENTER key to use this.ProcessTabKey() for data entry screens (replacing a green-screen Telenet app). I would like to do the equivilent of ths.ProcessReverseTab() for ALT-ENTER, but no such animal exists. Does anyone know how this could be done? ...more >>

Como enviar un net send
Posted by Eugenia Moya at 4/22/2008 7:20:02 AM
Necesito que mi aplicacion (ASP NET - C#) envie un net send a determinadas maquinas de la red y no encuentro como hacerlo. Gracias...more >>

system.io.ports.serial
Posted by Peter Huish at 4/22/2008 4:00:23 AM
I have an application that uses the system.io.ports.serial class to receive data from a serial device. The device is sending a data stream of stx then 15 readable ascii characters then a cr. My datareceived event looks like: int iBytesToRead = com.thePort.BytesToRead; ...more >>

Email validation from Database
Posted by vimal.424@gmail.com at 4/22/2008 4:00:00 AM
Hello guys........ please tell me ............. I want to do email validation like i have a userid entered by user new user.so problem is that i have to do the validation when i'll click on save button b'coz userid should be unique..... Thanks in advance ...more >>

question
Posted by monika shivgotra at 4/22/2008 3:47:30 AM
i am preparing a website through .net technology on xp O.S.can user enter the data to the site even if he does not have the .netframework installed on his P.C. or is having windows 2000 installed...more >>

Problem with REFRESH DataGridView
Posted by Christian at 4/22/2008 2:05:47 AM
Hi, i TRY to create a windows apllication that insert in a Access DB name and surname; the Insert istruction Works but the the refresh of DataGridView doesn't works... the code is : public Form1() { InitializeComponent(); } #region Variabili ...more >>

ClickOnce again
Posted by Christian Havel at 4/22/2008 12:41:00 AM
Hi, I have a .NET / COM DLL. On the client the COM object is created by a application using VBScript (Windows Scripting). I try to deploy the .NET / COM DLL using ClickOnce deployment. I know that it is only possible to deploy a Windows Forms - no DLL. Well, my idea is to deploy a "dummy...more >>

Accessing members which have been hidden by "new"
Posted by Robert Fuchs at 4/22/2008 12:34:04 AM
Hello, This example: public class BaseC { public int x; public void Invoke() {} } public class DerivedC : BaseC { new public void Invoke() {} } is from here: http://msdn2.microsoft.com/en-us/library/435f1dw2.aspx I can access the original (hidden) method Invoke() by us...more >>


DevelopmentNow Blog