Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score WMA + WMV
AzenAlex - 2 Sep 2006 11:34 PM - 3 messages
My problem is that i have video files in WMV that need to be combined with the audio in separate WMA files... does anyone know of a way to do this? ...
Score Strange performance problems..
Atmapuri - 2 Sep 2006 11:25 PM - 4 messages
Hi! I am calling .NET v1.1 assembly from VS2005 and even with very simple functions the code is about 10x slower....I am suspecting Security attribute checking for unmanaged code... How can I figure out what is causing the slowdown? ...
Score C# solution in MTS / MSMQ?
Jon Davis - 2 Sep 2006 8:53 PM - 12 messages
Can a solution built in C# utilize MSMQ and/or MTS? If so, does this make the training material I already have on MSMQ and MTS in the context of VB6 an appropriate prerequisite foundation before learning how to build C# solutions on MSMQ / MTS, if I already know VB6 as well as ...
Score kick properties and live shines
Martijn Mulder - 2 Sep 2006 7:33 PM - 2 messages
After a short period of fascination, I decided to kick all properties out off my code and return to Get...() and Set...() methods for all my data members. Why? I guess it is just too much fun. And it didn't make my code ...
Score Send object from one app to the other
Benny - 2 Sep 2006 6:45 PM - 3 messages
I have a distributed application that everyone will be running the same core application, but some may have a different interface they use because of different roles.  I need to send a complex (yet very simple) object to other computers.  One person will need to send a different ...
Score patterns for communication
DBC User - 2 Sep 2006 3:10 PM - 2 messages
I have two programs and I want to communicate some information. I can't use MSMQ so right now I end up using files with filewatcher and is working fine. Is there a pattern for doing this kind of job. I can't ...
Score Multidimensional Generics
Chuck Bowling - 2 Sep 2006 3:10 PM - 9 messages
I have a list: List<RichTextBox> rtb; That represents an NxM matrix of rtb's. Is there some way to initialize a generic that will allow me to access the List like a multidimensional array i.e.; rtb[2, 3].Text = "some text"; ...
Score Diff between 'n-tier' vs 'distributed architecture' vs. 'multi-layered programming'?
Jon Davis - 2 Sep 2006 1:25 PM - 8 messages
I have a couple questions. First of all, would anyone consider a multi-layered programming approach (building business objects that are seperate from data access logic and seperate from user interface logic but that interface the UI and the data) an n-tier implementation by definition? ...
Score How to remove tag
ad - 2 Sep 2006 10:30 AM - 4 messages
I have a string , it is make up of html tag and some text, like: <font color=red>Town </font></strong> <strong>... How can I remove the html tag form this string with C# ...
Score How to determine if the day has ended on local machine
Rajat Tandon - 2 Sep 2006 9:04 AM - 3 messages
Hi, I want to know if the day has finished on the local machine (i.e. - Ticked 12 night) and want to generate an event, So that we could take some actions on the basis of it. (e.g. clearing the counters etc) ...
Score windows service path
Vikas Kumar - 2 Sep 2006 6:25 AM - 4 messages
I have created a windows service that service downloads updated database after regular intervals till now i am setting path in app.config where it will download database and will use it from that location i want it to dynamically take path of folder where that service will get ...
Score Win XP Menu
Iwan Budihalim - 2 Sep 2006 6:14 AM - 4 messages
Dear All is there any way that i can display menubar (standard asp.net component) like win XP menu bar ? if there isnt' where i can find the free one... Thanks Iwan Budihalim ...
Score Windows Control Library
Iwan Budihalim - 2 Sep 2006 6:12 AM - 3 messages
Dear All, I try to create Windows Control Library and embedded it to my web project. after successfull creating the windows control library and put the control to my web all the control show normally. after that moment, i tried to ...
Score convert access table to text file using vb.net
raju5725 - 2 Sep 2006 5:45 AM - 2 messages
I have a MS access table and I want to export it to comma delimited text file. How do I do this programmatically using VB.NET or C#? Thanks for any help in advance. Raju ...
Score Strong Name Verification Failed
Kal - 2 Sep 2006 3:14 AM - 14 messages
I have a small console app that started out in dotnet 1.1 in VS 2003. That version can be copied to a W2K3 server where it runs fine. I set up a new project in VS 2005 and copied the code files from 2003 to ...
Score Confused with Controls
encoad - 2 Sep 2006 2:00 AM - 4 messages
Hi everybody, I'm hoping you can help me understand why this doesn't work, and perhaps someone can suggest a way for me to solve my problem. Essentially, I'm trying to add a row with a single cell twice in a ...
Score Naming Convention help - Beyond the basics?
Phillip Conrad - 1 Sep 2006 10:56 PM - 4 messages
Here is a little problem I've run into, and none of the naming conventions have helped... Ever since I switched from C to C# and FxCop, I've going crazy trying to fix some style issues. I have 3 major issues... ...
Score "Hello World" like application won't run on another PC
eljainc - 1 Sep 2006 10:46 PM - 3 messages
Hello, I am having a problem. I have developed a couple of small apps using Visual Studio 2005 C#. I am to the point where I want to test the app on another machine. I copied it across the network to the target. When ...
Score Format always consistent for DateTime.ToString("s") ?
Greg Collins [Microsoft MVP] - 1 Sep 2006 10:24 PM - 5 messages
Will DateTime.Now.ToString("s") ALWAYS return the same formatting (i.e. the sortable XML Schema style formatting) regardless of what culture the operating system is set to? I've done limited testing to show that this is the case when switching to the Italian culture, but I need to verify that in EVERY culture setting it will ALWAYS return the same format. ...
Score XmlSerializer with a specific style reference
SteveT - 1 Sep 2006 9:31 PM - 5 messages
I have a data structure that I am writing to an XML file using XmlSerializer. XmlSerializer xSer = new XmlSerializer(typeof(MyData)); StreamWriter sw = new StreamWriter("SomeData.xml"); xSer.Serialize(sw, theData); sw.Close(); I need to add a style reference within the file that looks like this: ...
Score novice advice on static use
gordon - 1 Sep 2006 9:22 PM - 8 messages
Hi I am learning C# from books.  I am trying to understand the use of the word 'Static' on a method. When i look in the autos area (I often like to see what values are being resolved) i see that there are also static members and non public members. ...
Score Win App Development Program Structure
RBD - 1 Sep 2006 9:11 PM - 11 messages
Hi all, I am a a self taught C# programmer. I have been developing custom apps for a few years now, but they have mostly been very small apps for individuals or departments. Now I am getting into fairly large custom ...
Score How to check if event is loaded?
Brett Romero - 1 Sep 2006 8:53 PM - 15 messages
I'm using a DataGrid and have assigned this.DataSourceChanged += new EventHandler( DataGrid_DataSourceChanged ); This works fine but there is one case where it doesn't.  How can I check if DataSourceChanged has anything assigned.  I can add it to the ...
Score Error importing xml file
Mike Collins - 1 Sep 2006 8:05 PM - 6 messages
I am trying to export data from multiple tables in SQL Server to an XML file so I can then import it to another database. It seems to be working fine for exporting, but I am having trouble importing the file.  I am getting the ...
Score static method against class method
DBC User - 1 Sep 2006 7:23 PM - 3 messages
I have a static class with bunch of static methods. That is my common routines used spratically across the programs. I am wondering which is the best coding and performance wise good standard. Try to put the required methods in a class and use the class or keep the static on ...
Score Thoughts on throwing exceptions vs putting them on a property
GG - 1 Sep 2006 7:10 PM - 6 messages
Any thoughts on designing classes wheather to throw the exception and the consumer has to capture it on try catch or wrap all the methods in a main method This is the wrap logic MainMethod{ bool mainRun = false; try {   methods... ...
Score .NET Job Chicago
Arsen V. - 1 Sep 2006 7:03 PM - 4 messages
Hello, Is there a newsgroup specifically for posting info re: .NET full-time position in Chicago, IL? Thanks, -AV ...
Score dynamic add control to a form
Thanh-Nhan Le - 1 Sep 2006 6:36 PM - 3 messages
Hi, How can I dynamic add a usercontrol to a form in runtime? Is there anyway? Thanks Nhan ...
Score COM Creation - Specified Cast is Not Valid
aljamala - 1 Sep 2006 6:33 PM - 4 messages
Hello, I have the following method to help me in installing some COM components onto the machine...below is a snippet that is causing the problem... Type objType = null; COMAdminCatalog objCatalog = null; COMAdminCatalogCollection objApplicationsColl = null; COMAdminCatalogObject objApp = null; try {                   objType = ...
Score stop Socket.BeginReceive before comlpete
semedao - 1 Sep 2006 4:55 PM - 10 messages
Hi, I am using sync and async operations on the same socket. generally I want the socket to wait on BeginReceive and to not block the object thread. but in some cases I want to stop the BeginReceive in the middle - Don't ...
Score How best to handle mouse events for custom drawn objects?
MrNobody - 1 Sep 2006 4:01 PM - 2 messages
I'm going to be creating shapes in a OnPaint method of an extended Panel object, and I need mouse event functionality (onClick, onMouseOver) that kind of stuff... what's the best way to go about doing this? Are there any design ...
Score Determine Output Type at runtime
mgonzales3 - 1 Sep 2006 3:54 PM - 2 messages
I have a windows app that i want to be able to run at the cmd line. Using vs2005 can I determine the Output Type at runtime? or can I set this value at runtime? thanks ...
Score System.Diagnostics.Process.Start
newscorrespondent - 1 Sep 2006 3:45 PM - 4 messages
I am used to providing the path to the executable Process.Start(@"C:\Program Files\ etc.". If I want to start an application that was published and installed with click once what is the path to that application? Thanks ...
Score How to properly get Handle of started process?
Katit - 1 Sep 2006 3:28 PM - 5 messages
Here is what I need to accomplish: 1. Start new process using Process.Start 2. Get it's handle and save to text file. On next execution I read text file and see if process with same name/handle still runs. However, I see that handle I obtain after ...
Score advise for 3 tier OO beginner
Mike P - 1 Sep 2006 2:57 PM - 6 messages
I'm new to writing separate classes for each 'business object' and I'm wondering if I'm going about it the right way.  If I have a property of a business class that has to be within a range of values specified in a ...
Score DataGridView ComboBox column with databound item list
sklett - 1 Sep 2006 2:44 PM - 4 messages
I'm changing from a DataGrid to a DataGridView and have run across a problem.  The items that are bound to the DataGrid have an int Property that represents a primary key of a lookup table in my database.  For example: ...
Score creating a custom exception
hharry - 1 Sep 2006 2:41 PM - 4 messages
hello all, quick syntax question. i am writing a custom exception class and came across an example: public class dataProvException : ApplicationException     {         public dataProvException()         { ...
Score Constants or resources
DBC User - 1 Sep 2006 1:15 PM - 4 messages
Hi Sharpies, Quick question apart from deployment and internationalisation benefits, is there any benefit in using string table for resources than constants? Which is very good in performance, resources or constants? Thanks in advance. ...
Score OLE DB Driver for .NET connection
Soren S. Jorgensen - 1 Sep 2006 12:29 PM - 2 messages
Hi, Odd question: Does anyone know of a OLE DB provider that are able to use an ADO.NET implementation - like the Microsoft OLD DB Provider for ODBC uses a ODBC data source, only it should be able to use/create a .NET data source?? ...
Score Can't scroll treeview to last item
Christof Nordiek - 1 Sep 2006 12:17 PM - 2 messages
Hi, in my app i use a treeview. If the treeview isn't large enough to show all items it automoatically gets a vertical scrollbar. But i can't always scroll to the last item. Sometimes the last item remains ...
Score About windows services and object lifetime
Kürþat - 1 Sep 2006 12:09 PM - 2 messages
Hi all, I want to host a remote object in a windows service. This remote object fires events about service state. Clients connect and consume this events. The service configures and marshal remote object in its constructor. When a client application starts it connects remote object, registers events and ...
Score VB2005 EXPRESS
omar.abid2006 - 1 Sep 2006 10:04 AM - 2 messages
Hi, This is a group for disscussion about VB2005 Express, we are ready to help you and solve your problem OMAR ABID ...
Score DHCP with P/Invoke
Richard - 1 Sep 2006 9:43 AM - 6 messages
Hello, I'm working on an application to allow our network team to use a small application to make DHCP reservations on our Microsoft DHCP Server. The problem is you have to use P/Invoke to do it, and from what I've ...
Score what the use of Polymorphism?
chandu - 1 Sep 2006 9:05 AM - 5 messages
hello, Exactly where we use the Polymorphism concept in a real time appliction. please explian in detail. thank u ...
Score Call IE browser
wasishincar - 1 Sep 2006 8:55 AM - 3 messages
System.Diagnostics.Process.Start("IExplore.exe", URL) could popup a IE browser to the URL. But will overwrite the latest browser if it has. Is there any method/parameter/property that always launch a new browser. Ex: Something like "Target=_blank" in HTML <a> tag. ...
Score Send Mail Problem
Max - 1 Sep 2006 7:35 AM - 4 messages
hi I used mailmessage object to send the mail, my smtp server don't require authentication, when i try to send the mail it shows error. following is the code to send mail. Dim mymail As New MailMessage         Dim smtp As SmtpMail ...
Score creting event handler client in vc++ for Source c# event
Mayur - 1 Sep 2006 7:26 AM - 2 messages
Hello all, Can any one have the source of How to add event handler in unmanaged MFC application  for event source which is in Managed(c# class library). Here is the Event Source code { public class IrcConnection { public delegate void MessageEventHandler(object sender,MessageEventArgs e); ...
Score I can't have first day Monday insted of Sunday
bojan.pikl - 1 Sep 2006 7:21 AM - 8 messages
Hi, I am making a calendar. It is costum made and I would like to have the ability to choose the first day (Monday or Sunday). I know for the firstDayOfWeek, but I can't change it. What should I do? ...
Score DataSet.Tables[0]
Sathyaish - 1 Sep 2006 6:22 AM - 3 messages
We are required to send our weekly timesheets by Friday morning. I sometimes forget to send them until Friday evening, if I am reminded, or by the next Monday. To solve my problem, I am writing a quick and dirty utility that will ...
Score Quotation
Alan T - 1 Sep 2006 5:35 AM - 5 messages
How do I define a string surrounded by double quotation mark ? eg. "Hello" ...
Score HyperLink
Victor - 1 Sep 2006 5:33 AM - 2 messages
Hai All,    I am using active reports in .net and creating pdf files.    I want to add a link in the PDF page not in table of contents, on clicking the link the cursor moves to its some corresponding page ...
Score Thread variable question
Extremest - 1 Sep 2006 5:07 AM - 7 messages
I am new to threading and trying to figure some things out.  Are all variables in a thread set to only that thread?  Meaning if I create 2 instances of a class and then put each one in a different thread and ...
Score Visual C# 2005 Express/ XNA Game Studio Express problem
GetTheMonkey - 1 Sep 2006 5:01 AM - 3 messages
After a fresh install I cannot create a new project. I also installed XNA Game Studio Express (beta) right after installing C#. The following error message appears: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B) ...
Score How to seperate the business logic from the UI
Relaxin - 1 Sep 2006 4:41 AM - 7 messages
I'm coming from Borland C++ and am "somewhat" new to C#, but very seasoned in C++. I'm looking for a specific feature that Borland had that I can't seem to find in C#. In Borland that feature is a DataModule. ...
Score Difference between string and String?
Ronald S. Cook - 1 Sep 2006 1:32 AM - 9 messages
I notice there are many terms in the .NET Framework like string and String. What's the difference?  Which should I use? I also see int and Int32.  They are the same? Thanks, Ron ...
Score Office dependencies
Frank Rizzo - 1 Sep 2006 12:30 AM - 2 messages
I've been given an app to deal with that has a dependency on Excel XP (I think it was also known as Excel 2002).  I have Office 2003 installed on   my box.  The application does not compile (complains of a missing ...
Score ExecuteNonQuery Query
Fred Chateau - 31 Aug 2006 11:53 PM - 3 messages
This is a two part question. (1) After opening a connection and calling ExecuteNonQuery within a transaction in .NET 2.0, is any resource cleanup still required in a finally block? (2) My code calls the OpenRowset Bulk provider using a command query string, ...
Score Serializing System.Array HELP!
clawton - 31 Aug 2006 11:39 PM - 4 messages
Hi All - I've got a 3rd party COM object that returns an array of bytes that are a TIFF image. After adding the reference to the com object to my solution the C# signature for the method is something like this: ...
Score System.Timers.Timer() sometimes gets stuck and disappears??
RobKinney1 - 31 Aug 2006 10:34 PM - 8 messages
Hello, Wow...I have one for you all and hopefully I am not understanding this timer object correctly.  I have a timer setup that pulses a connection through a socket every 60 seconds.  But it seems recently connections just drop off ...
Score Bitmap questions
John - 31 Aug 2006 10:33 PM - 3 messages
I don't like the following way to create a bitmap. Bitmap bm = new Bitmap("C:\\MyBitmap.bmp"); Can I create a bitmap from the bitmap in a picturebox? Thanks. ...
Score Drawing lines - another noob question
davetelling - 31 Aug 2006 10:30 PM - 10 messages
I am not a programmer, I'm an engineer trying to make an interface to a product I'm designing. I have used C# to make a form that interrogates the unit via the serial port and receives the data. I want to be able to draw ...
Score Usercontrol Panel Splitter
Istvan - 31 Aug 2006 9:50 PM - 3 messages
Hello ....Window.Forms.... Can somebody help me with Panels and Splitters ? I want to add  three Panels to one Usercontrol , between them with two movable Splitter. First Row:       2 Columns ( 2 panels,   with 1 splitter between them) ...
Score C# - connection to a remote SQL server
Chris - 31 Aug 2006 9:32 PM - 2 messages
hi I have big problem. I am writing a small win application. It will work on remote MS SQL database (2005). Firstly, I need to log on to the server. The server supports remote connections and sql and windows authentication. ...
Score "Invalid attempt to read when no data is present"
MarkusR - 31 Aug 2006 8:35 PM - 5 messages
If I run the stored proc in the Query Analyzer this works and I get the expected result set back. However when I run it in my application I get a results set of one row but when I try to access the values I get ...
Score Change content of a List<T>?
Gary - 31 Aug 2006 7:21 PM - 6 messages
I am using List<MyClass> to store a bunch of MyClasses. And in my program, I want to change the content of one class in this list. However, it seems to me that this list keeps an original copy and is only "readable". ...
Score Possible to deserialize xml with unknown-ahead-of-time number of a given element type?
sherifffruitfly - 31 Aug 2006 5:44 PM - 4 messages
Hi, I've got a dtd for my xml file according to which, for example, 0 or more <component> elements are permitted. I'd like to take any xml file conforming to this dtd, and deserialize it into a programmatic object. ...
Score Can someone please describe why impersonation requires the impersonator to be local admin?
Daniel - 31 Aug 2006 5:28 PM - 5 messages
Can someone please describe why impersonation requires the impersonator to be local admin? ...
Score NewLine, ListSeparator,...
TheSteph - 31 Aug 2006 4:37 PM - 3 messages
Does anybody know why the "NewLine" object is in "Environment" and not in "System.Globalization.CultureInfo.CurrentCulture.TextInfo" like the "ListSeparator" ??? Steph. ...
Score path of a process or service
wheels619 - 31 Aug 2006 4:33 PM - 6 messages
Hi, I need the directory of a running process or service's executable. Any ideas how to do this? I looked up some Win APIs but none to accomplish this task. I noticed there is a  .StartInfo.WorkingDirectory in the process object ...
Score What is difference between lock(private instance) and lock(private static instance)?
nytimescnn - 31 Aug 2006 4:12 PM - 9 messages
I've read some discuession about lock() for thread-safe. I am wondering what will be the differce between below two code segment? Code 1: class A {    private static Object padlock = new Object();     ...// some codes ...
Score Interface re-implementation changed from 1.0 to 2.0???
Andy DeMaurice - 31 Aug 2006 3:59 PM - 21 messages
Something has changed from C# 1.0 to 2.0 regarding interface re-implementation.  See my sample code below; when compiled and run under VS 2003, you get: Control.Paint Control.IControl.Paint But when compiled and run under VS 2005: you get: ...
Score C#, System.__ComObject casting problem
stunt016 - 31 Aug 2006 3:52 PM - 3 messages
I have a program written in C# that handles communication between two pieces of software.  My problem only deals with getting a text array from one program to this C#  "Bridge".  I can get the text array to the ...
Score Determine the 3rd Tuesday of each month, then perform an action c#
Jason - 31 Aug 2006 3:50 PM - 8 messages
I've created a service in c# that performs a certain action at a particular day of the month I want this service to kick off the action every third Tuesday of the month. How would I set the service to run a desired action if the day is equal to ...
Score Using VS2005 dll's in 2003 projects
DaTurk - 31 Aug 2006 3:24 PM - 5 messages
Hi, I'm converting our code base into VS2005 and we have alot of Managed c++.  Problem is, is that for some reason some of our code will compile, but doesn't run correctly in VS2005.  So, as we can continue ...
Score encryption in .NET 2.0
eugenet - 31 Aug 2006 3:18 PM - 6 messages
Hello, I need to encrypt and decrypt a string in .NET Framwork 2.0. What is the easiest way to do it? I know that there are many different ways to use encryption in .NET, some more complex than others. All I need is to hide from an end-user ...
Score accessing a variable
Phil Townsend - 31 Aug 2006 3:15 PM - 4 messages
I have a class that contains three local variables. I need to write a method that updates one of these at a time based on a condition. I would like to do this without writing a bunch of redundant code. For a very ...
Score How to make derived interface property read-only ?
Oleg Subachev - 31 Aug 2006 2:52 PM - 3 messages
I have one interface "Intf1" with read-write property "Prop" (with "get" and "set" accessors). Then I declare derived interface "Intf2" with the same property "Prop" declared as read-only (without "set" accessor). Property "Prop" in derived interface "Intf2" is marked with "new" modifier. ...
Score Using Process.Start with command line parameters
Rob - 31 Aug 2006 2:30 PM - 4 messages
I have an app that calls an eternal EXE using process.start.  My issue is I have a couple command line parameters that need to be put in, so that it would read:      Process p = new Process();            ...
Score Can't Seem To Dynamically Generate Labels
Steven C - 31 Aug 2006 2:17 PM - 3 messages
Hello: I'm trying to dynamically generate some labels for a form, and I can't seem to get it to work.  The code is as follows.  The first label is generated, but subsequent labels are not.  Is there a better technique ...
Score ABOUT DATASET SAMPLE FIGURE
paul_zaoldyeck - 31 Aug 2006 1:34 PM - 2 messages
HI EVERYONE! can anyone share an example dataset figure or code??? i'm still neophyte on c# and xml programming. can anyone share there knowledge with regards to using dataset...converting it to an xml file and vice versa... we're having a problem on getting the value of the nodes in xml when it ...
Score Tough Date conversion problem.. importing from excel
jereviscious - 31 Aug 2006 1:23 PM - 3 messages
Hi all - Last resort time. I'm importing data from a spreadsheet that I receive from one of my vendor using interop.excel. The date field in excel is entered as 4/7/2006, but when I retrieve the value, it returns a double 38449.0. ...
Score Codebehin from other project
Kevin - 31 Aug 2006 1:20 PM - 2 messages
Hi! It's possible load the code behind from another project in C# 1.1 ? I want to compile my website in one dll per page, like does Asp.Net 2.0 Thanks ...
Score About hard disk with a microcontroller pic
ilpancho - 31 Aug 2006 1:20 PM - 4 messages
Hello,  i´m working  in a project in my university URU in Venezuela.  My project  is about to save music to a hard disk using a microcontoller of the microchip company 16F877 to do the job,  my trouble is that i dont know the ...
Score Datagridview problem.
Dave - 31 Aug 2006 12:55 PM - 2 messages
I have a datagridview I call the CellValidating event and if the the cell does not validate I want to reset the cell to a default value. My code actually executes this statement: datagridview1.CurrentRow.Cells[Columnx].Value = defaultValue; but the statement does not change the cell at all. ...
Score registry problem
sgr - 31 Aug 2006 12:26 PM - 7 messages
Hello I have a registry key but Only "SYSTEM" account is having permission to access it.!! . How can I change /addd permission to Administrator too. I know its possible by right clicking the concerned reg key and give full contro ...
Score about ConvertTo and cast
tony - 31 Aug 2006 12:10 PM - 6 messages
Hello! What is the difference if I use double as cast as in (double)value compare to using Convert.ToDouble(value) //Tony ...
Score Correctly displaying IDictionary derived class in PropertyGrid
Marek - 31 Aug 2006 12:08 PM - 4 messages
Hi I have a class which has a property which implements IDictionary which I would like to display in a propertygrid control.  If I add [TypeConverter(typeof(ExpandableObjectConverter))] the property expands, but I only get Count, IsReadOnly, Keys and Values properties, all of which are ...
Score Program works on localhost but not on server
Morrison - 31 Aug 2006 11:42 AM - 2 messages
My HelloWorld program works on localhost but not on server. I have 2 hello world applications, one in VS 2003 and other in VS 2005. Both programs is working on my computer but if I uppload it on server it ...
Score Value type intialization...
Atmapuri - 31 Aug 2006 11:28 AM - 4 messages
Hi! The C# does not allow me to access the value type variable before it is initialized: MyStruct a; a.Size(10); Is there a way around that or is there a special line where the constructors are called really ...
Score nullable types
Mike P - 31 Aug 2006 10:50 AM - 4 messages
What are nullable types used for?  The only use I can think of is where I have a method like this where some values being passed to it may be null : public int AddUser(int? UserRegion, string UserName etc) ...
Score msbuild : Message: Value cannot be null. Parameter name: type
paul.dunstone - 31 Aug 2006 10:28 AM - 3 messages
HI all I am using msbuild to compile my web application project.  After building the solution I get the following error message: Server Error in '/Community' Application. -------------------------------------------------------------------------------- Value cannot be null. Parameter name: type Description: An unhandled exception occurred during the execution of ...
Score simplification of function
GTi - 31 Aug 2006 10:03 AM - 3 messages
Can this be done different in C#     private ushort GetRQU(ushort regpos)       {       ushort pos;       ushort tmp;       ushort value = 0; ...
Score How to monitor state of a Windows Service?
Kürþat - 31 Aug 2006 9:53 AM - 2 messages
Hi all, Is there any way(event, callback...)  to monitor state of a service other than checking it periodically? Thanks in advance. ...
Score ListViewSort question
Adrian - 31 Aug 2006 9:47 AM - 2 messages
Using the code below, I get this error. Using the generic type 'System.Collections.Generic.IComparer<T>' requires '1' type arguments Please tell me how to put this right. Adrian. // Implements the manual sorting of items by columns. ...
Score Data update via internet feed
rob - 31 Aug 2006 9:39 AM - 3 messages
I'm looking for the best way to do minimal (probably 1 MB or so) updates to existing data, by having the client app monitor a live feed.  That data feed will periodically broadcast the update packet to all clients. ...
Score strongly typed datasets...to use or not to use
Mike P - 31 Aug 2006 9:02 AM - 2 messages
I have been trying out using strongly typed datasets in VS 2005, and I have to say that I don't like them...they produce loads of auto-generated code, and I would much rather create a single class to ...
Score Configuration settings problem
Udi - 31 Aug 2006 8:53 AM - 2 messages
Hi, I have a class library (not using winforms) that uses some setting parameters. There's a file created MyClassLib.dll.config that contains these paramters (User scoped). I can read them ok, I can even change their values and save them ...
Score PostMessage unsafe?
Sergei - 31 Aug 2006 8:50 AM - 11 messages
Can anyone explain why PostMessage to a Windows Form is considered unsafe and raises InvalidOperationException? I can get rid of that setting CheckForIllegalCrossThreadCalls to false and everything works just fine. Still I feel somewhat uncomfortable. Sergei ...
Score Windows Application in C#
Chris - 31 Aug 2006 8:36 AM - 2 messages
hi, I am a newbie in C# (windows apps). I want to create an application that: - when you launch the exe file the first form will appear (on the form there is a button) - when you click the button a new form appears (login form to sql db) with ...
Score C# and VB
Krish - 31 Aug 2006 8:35 AM - 2 messages
Hi, I already have an application writtern in VB6.0 which connects to a remote database and populates the data. In order to speed up the retrieval, I wrote a C# webservice which connects to the remote database and retrieves the data. This seems to be quiet faster than the ...
Next »