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# > march 2004 > threads for thursday march 18

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 31

Detection of failing to connect to database
Posted by ahdick at 3/18/2004 11:56:05 PM
Hi, in my catch(SqlException se) block, how can I tell from the value of SqlException members (e.g. number, state etc) that the exception is due to fail to connecting to database? there are a block of codes inside my try{ }, including define SqlCommand, assign values to SqlParameter, open connection...more >>

Register .NET Dll for classic asp
Posted by Kai Gloth at 3/18/2004 11:08:24 PM
Hi, I created a .NET ClassLibrary written in C# Could a asp classic application use this dll? If it could, what would I do to register them? Regsvr32 returns: "createThumb.dll loaded, but DllRegisterServer-Startpoint could not found" ( translated from german error message). thanks in ad...more >>

QUE MCAD 70-315 Training Guide: localhost used in code?
Posted by clintonG at 3/18/2004 10:30:37 PM
This statement [1] will not compile... localhost.Customer cust = new localhost.Customer(); The build error description is "The type or namespace name 'localhost' cannot be found." I understand the use of the term localhost when not used within code but when being used within this code to ...more >>

Catching Exception thrown by a remote service running on remote machine
Posted by VInay at 3/18/2004 10:01:09 PM
Hi I am running a service on remote machine A and executing some code on same machine from local machine that is machine B. I can create all kinds of objects on remote machines and execute different methods on same. But if there is some exception on remote machine then I am not able to catch it on ...more >>

How to (re)use the .ini files
Posted by G.Esmeijer at 3/18/2004 9:54:40 PM
Friends, Coming from vb6 I used .ini files to put in somem configuration issues for my application. Although the structure might be know to you, here is an example [General] ShowNetprices=1 useBarcod=0 I used to read these with some Api related read and write profilestring function ...more >>

How to close DropDown window of a comboBox
Posted by glvs NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/18/2004 9:42:07 PM
When a user clicks on a comboBox dropdown, I want to close the dropdown and do something else (such as open up a form). How can I programmatically close the dropdown? Thanks, Glenn Posted Via Usenet.com Premium Usenet Newsgroup Services --------------------------------------------------...more >>

writing/reading files
Posted by Joan at 3/18/2004 9:14:24 PM
Hello, Let's say I have a class A, and classes B and C that inherit from A. I want to save the content of B and C into a file and read it afterwards. Is there a way to write streams of a specific 'type'? I mean, create a StreamWriter of 'class A' type. thanks! --- Outgoing mail is cer...more >>

Mouse hit test for outside form area
Posted by glvs NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/18/2004 8:42:27 PM
I have a form (no titlebar) with only the MonthCalendar control. If the user clicks anywhere outside of the window (and the area within parent window) I want to close the window. How can I do this? Thanks, Glenn Posted Via Usenet.com Premium Usenet Newsgroup Services ----------------...more >>



Store Procedure
Posted by Kate_Luu at 3/18/2004 7:51:32 PM
Hi all Pro, Are there any body know how to execute store procedure from .cs file? any help is greatly appreciated. Thanks you in advance. Kate ...more >>

COM+ : Exception of type System.StackOverflowException was thrown.
Posted by Roman S. Golubin at 3/18/2004 7:12:44 PM
Hi, everybody! I writting a COM+ component and get this exception every time when I try to run my app. I debug and check my code now and not found any mistakes... Can anyone help me? COMPlusExceptionCode is -532459699 -- WBR, Roman S. Golubin PS: Sorry for my english ...more >>

monitor
Posted by Kovan Akrei at 3/18/2004 6:58:57 PM
Hi, I have a question on regard to Monitor.Enter(..) and Monitor.Exit(..) I'll start with an example : public class test{ private static Queue q = new Queue(); public method testMonitor(){ lock(q){ // do some operations on q Monitor.Enter(this); ...more >>

How to get the task name (exe file name) by a HWND?
Posted by Holger Kasten at 3/18/2004 6:56:47 PM
How to get the task name (exe file name) by a HWND? ...more >>

What is the counterpart of libpath in c#(.NET) as in Java?
Posted by Bill Park at 3/18/2004 6:43:26 PM
I am trying to access .net assemblies not in the current program directories. Those assemblies are not in GAC. In Java, I just have to make sure those classes(jar files) are in the directories of libpath.Do we have something similar in .NET? If not, how can I access assemblies not in the current...more >>

Date picker user control - help needed
Posted by glvs NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/18/2004 6:41:44 PM
I would like to create a user control to mimic DateTimePicker. I don't like DateTimePicker because it doesn't allow entering blank date without having a check box. I like only the calendar dropdown portion of DateTimePicker. On my user control, I have a regular dropdown control. On DropDown e...more >>

XML reading
Posted by Kimmo Laine at 3/18/2004 6:06:39 PM
Hi, lets say that i have the following XML: <header> <version>1.0.0.0</version> </header> <queuename> DXRMTest </queuename> I want to code something like this: string xmlVersion = foo.GetValue( "header/version" ); Is there a way to do this in .NET: XmlReader, XPATH, ...? ...more >>

How to print IP address of your Router or your workstation using .NET
Posted by anonieko NO[at]SPAM hotmail.com at 3/18/2004 6:04:51 PM
I found this code from ElreyRonald. It is a console but works by referencing another website. //-------------------------------------------------------------- // A console application to print IP Address of the current // workstation (or its router's IP ) // // Two things are demonst...more >>

Find a thread referance my name
Posted by Joshua Russell at 3/18/2004 6:00:44 PM
Hi, is there a function wherby I can find a find a thread by its name. For example, I want to get hold of a class referance for a thread named "My Thread". I woudl like some code that looks like this... ClassName myClass = Thread.FindByName("My Thread"); Basicaly I want to be able to do thi...more >>

DataSets & DataAdapters
Posted by Z D at 3/18/2004 5:03:41 PM
Hello, here's the situation: I have a query that returns 2 columns of data from a table. This data is loaded into a typed dataset (DS). I display each column's data in a text-box in ASP.NET. Now, I dont want to have to save the DS or its corresponding dataadapter in session or viewsta...more >>

Using unmanaged dll in c#: how to marshal a struct
Posted by gogglwoggl NO[at]SPAM gmx-dot-de.no-spam.invalid at 3/18/2004 4:51:14 PM
Hi, I have a unmanaged c++ dll, and want to call a function "dlltest(mystruct a)"of it. The Parameter mystruct is a struct which consists of a array of strings: struct mystruct { char * myArray[100]; } I searched the net for on hole day, to find a way to marshal this. I have tried th...more >>

How can I make a method thad create matrix?
Posted by bilgetonyukuk NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/18/2004 4:51:13 PM
can you help me? I know that that function create an array has 2 colums but then what should I do? Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** --------------------...more >>

Newbie query: assembly.config?
Posted by Dick Bridges at 3/18/2004 4:45:44 PM
I need a config file to keep connection strings used by the business rules tier. The web.config would work when the module was used with ASP.NET but not when included in a Windows Application. Is there a config file (and associated .NET access methods) that is associated with a given assembly? ...more >>

Regex question
Posted by Tamir Khason at 3/18/2004 4:43:35 PM
How can I perform such thing using Regex? I need to catch numbers comes after "Word1" or "Word2" Something like this: Word1|Word2(?<TEST>\d) Strings: wrtsdlfgkjsdlkfgWord1332233sdfglkjdslkfgjsldkgjWord22344sdfoisdfkjgh This should catch : TEST:221122,TEST2344 PLZ help ...more >>

pls help: Make an asynchronous socket receive messages
Posted by Juan at 3/18/2004 4:36:49 PM
I built a socket server that is able to connect clients and echo the message included woth the client request to connect. I haven´t been able to make the server listen for further messages. This is the loop where I'm suppose to make the BeginReceive call... Does any one know how should I place th...more >>

C# optional parameters? Is it possible to make a perl's hashref-like optional list?
Posted by MagicGuru at 3/18/2004 4:16:09 PM
Dear C# Gurus I'd like to implement a function with several optional parameters, (all of them are boolean value) In perl, you can write the function as $obj->Func({'OutputXML'=>'on', 'OutputSQLScript'=>'on', 'OutputToFile'=>'off'}) Is there a way to implement a fuction with parameters easy to ...more >>

really very puzzling
Posted by Wajih-ur-Rehman at 3/18/2004 4:06:25 PM
I have a column in MSSQL that is of type "Text". When i write an xml string in it, it automatically adds a "?" in front of this string when it inserts in the database, although it is not part of the string that i am writting. Using the same code, when i write to the Access database with the col...more >>

tooltip in disabled items
Posted by Bamse at 3/18/2004 3:42:32 PM
hello, i've noticed that, when a control is disabled, its tooltip doesn't show up anymore; is there a way to show the tooltip even if the item is disabled? Thank you, Daniel ...more >>

pls help: Datagrid Problem
Posted by dan at 3/18/2004 3:26:37 PM
Hello, In my application I have three container classes (custom business entities): Order, Customer, Order Details. Each class has CRUD behaviors where it retrieves, updates, creates... by interacting with a MSDE DB. The application allows the user to input data in multiple forms from there ...more >>

OnPaintBackground
Posted by 2G at 3/18/2004 2:43:54 PM
Hi , I've create a panel that draws a gradient in the OnPaintBackground event but when I place a number of those panels on my form ,I get the following error : " At least one element in the source array could not be cast down to the destination array type." Also when I minimize/maximize my ...more >>

GetProcessName() terribly slow
Posted by Michi Henning at 3/18/2004 2:43:14 PM
Hi, the following statement takes around 1 second (!) to execute on my machine: string progName = Process.GetCurrentProcess().ProcessName; Why is this so terribly slow? This is a major pain for me because the program is invoked repeatedly as part of a build environment. The upshot is tha...more >>

Directory tree...
Posted by David at 3/18/2004 2:40:11 PM
Hello... if there's some system or .net functions that can list me directories tree like in winexplorer? i mean... is then "Desktop" is root dir, and then "My Computer" and "My Documents" under... thnx... ...more >>

How to highlight records in datagrid ?
Posted by Anand Ganesh at 3/18/2004 2:13:44 PM
Hi All, I am using a datagrid to display a table. Based on a query I want to highlight few records in the datagrid at the same time I want to show those records which does not satisfy the query as un-highlighted. Any clue on how to do this? Thanks for your time and help. Regards Anand...more >>

TreeView - Event fired when node added / removed?
Posted by sho_nufff76 NO[at]SPAM yahoo.com at 3/18/2004 2:09:46 PM
Hello all, I want know when a node is added or removed from my tree so that i can update another structure automatically. Is there an event that is fired when a node is added or removed? Thanks, SN...more >>

Newbie : Why Code Not Compile
Posted by Rafey at 3/18/2004 2:04:46 PM
Interface Problem The following code in Listing 1, compile successfully, but if we change the class "CTest" as Listing 2, then the code is not compiled. Also if we change the class "CTest" as Listing 3, then code again compiles. Can any body explain it. Listing 1 /***************...more >>

Capturing matched text when using Regex.Replace
Posted by abbomb NO[at]SPAM hotmail.com at 3/18/2004 2:02:34 PM
How do I capture matched text when using Regex.Replace? I have searched the newsgroup for an answer but can't find one. For example, suppose I want to remove all digits from the beginning of a string and print out the digits that were removed. I have several options: (1) Call Regex.Match...more >>

switch or if?
Posted by Dennis Myrén at 3/18/2004 1:53:19 PM
Hi. I have to ask this question once for all; Is there a good rule for when to use a switch statement rather than an if statement? I know if statements is faster in small tests, but how many if-elseif's are considered a maximum before it is recommended to use a switch statement? Thank you. ...more >>

xml + xmlreader + xmlwrite ?
Posted by C# newbie at 3/18/2004 1:38:19 PM
Hi, I'm supposed to write a class to do search (using XPath queries) into an XML file, also capturing attribute information & elements + ability to modify information too. Here is my question: Can I create a class which contains System.Xml and XmlTextReader + XTextWriter classes ? I mean, do...more >>

struct with creates cycle
Posted by Morten Nielsen at 3/18/2004 1:18:24 PM
I'm trying to convert the following struct from C to C#, but have a problem with the two pointers that point back to the same structure. struct BSP_Node { byte axis; float plane; BSP_Node *left; // ARGH! BSP_Node *right; // ARGH! bool leaf; Object *objects; }...more >>

ScrollableControl Scroll event
Posted by Yaron at 3/18/2004 12:56:09 PM
Hi What is the best way to capture scroll events (especially while dragging the scroll box) in a ScrollableControl with the AutoScroll property set to true? I've been thinking of using WndProc, since it receives a WM_VSCROLL msg, but even in here, how can I use WParam to get relevant info Thanks...more >>

Charts in C#
Posted by mkafifi NO[at]SPAM bridgemont.com.eg at 3/18/2004 12:44:56 PM
Dear All Can any body help me in drawing charts in windows application using C#. --=20 Regards Mohamed Afifi Web Developer Bridgemont Holding Company www.alqanat.com =20...more >>

Parameter passing problem
Posted by danielo NO[at]SPAM planet.nl at 3/18/2004 12:41:49 PM
Hi all, I'm a C# newbie and need some help I have a small program that connects to Active directory. I use two forms and in the main form i have a class that searches for security groups and writes the output to the textbox on the main form, This works perfectly But when i call the same cla...more >>

FileSystemInfo, DirectoryInfo, FileInfo
Posted by Massimiliano Alberti at 3/18/2004 12:31:03 PM
Now... I have a file "c:\test". I don't know if it's a file ora directory. I can't instanciate FileSystemInfo because it's an abstract class. What must I do? Instanciate a DI, check if it's a Directory and if it isn't instanciate a FI? Is there a better method? OR I could parse the filename...more >>

Why does C# require escape ar @ characters for strings ?
Posted by YoYo Pa at 3/18/2004 12:28:50 PM
Why does C# require an escape character (or the @ symbol placed in front of the string) when a string variable contains some *special characters* - as in the sample code below. Other languages let you put anything you want into a string without escaping. What's the deal with C#? string strFile...more >>

Xml Dataset and TreeView
Posted by johnwadeunderwood NO[at]SPAM yahoo.com at 3/18/2004 12:25:42 PM
Hi.. After I sent that message I realized you can do something like foreach statement below to get to the children.. .. I'm still curious how people handle this though.. thanks.. John foreach(DataRelation myRelation in dataset.Tables[x].ChildRelations) {}...more >>

Bitmap header information
Posted by Lou at 3/18/2004 12:25:40 PM
How can I get a bitmap file header and header file info, Is there a namespace for this or is it simply file parsing? -Lou ...more >>

Newbie & app logging
Posted by raykos at 3/18/2004 12:06:09 PM
Hello all Since I'm just starting with C#, maybe I shouldn't be trying to apply MFC; i.e. 'extern'. What I want to do is write an C# app that I can take from a developmental PC, put it on a production PC and run it. If any problem occurr, I would like to look at a log of the app and see wha...more >>

reflection: getting a field's type
Posted by Brad Williams at 3/18/2004 12:03:07 PM
I'm needing to reflect on classes to find any fields they may declare of a certain type. However, the MemberInfo objects returned by Type.FindMembers do not expose the field's type, to my amazement. Now the MemberInfo object returned in this case is actually of the more derived class RuntimeF...more >>

application path ? //newbie
Posted by genc ymeri at 3/18/2004 12:01:15 PM
How can I get the application path ? ...more >>

Help: TCP code: NullReferenceException: Object reference not set to an instance of an object.
Posted by VB Programmer at 3/18/2004 11:59:47 AM
I am trying to write a telnet emulator. I followed the example code for EndRead, but when it gets to the last line (in the code below) I get a NullReferenceException error. Any ideas? Here's the code: Private Sub myReadCallBack(ByVal ar As IAsyncResult) Try Dim myNe...more >>

display value in array
Posted by equip200 at 3/18/2004 11:56:09 AM
How can i display all items in an array if the array consists of 1 column and 5 rows , table name is systems...more >>

Help Needed
Posted by Rajsun at 3/18/2004 11:46:07 AM
I would like to pass the selected date value from calender to text box how can i do this help will be appriciated ...more >>

Enumerations as Counters
Posted by Robert Warnestam at 3/18/2004 11:43:41 AM
Hi, I've just switched from Delphi to Visual Studio and I'm wondering how to use enumerations in loops. In Delphi you declare the enumation as TMyRole= ( wrSystemNet=1,wrPrivateNet,wrWarnestamNet, wrFamilyTreeNet ); and this can be used in a loop as role: TMyRole; for ...more >>

Text file import and Danish characters
Posted by Simon B. Nielsen at 3/18/2004 11:33:30 AM
I have a text fil with foreign characters I need to import. I read it using this: StreamReader sr = new StreamReader("@import/user.dat", System.Text.Encoding.GetEncoding(850)); while(sr.Peek() > -1) { string myLine = sr.ReadLine(); myLine.Replace("ø", "&#248;") // Just an example...more >>

Sound in C# ???
Posted by Leif Andersson at 3/18/2004 11:24:40 AM
Hi All! A simple question; what is the C# equivalent for Beep() in VB? And how can I use the system sound from C#? Thanks in advance! /Leif Andersson...more >>

Exception Handling
Posted by Q2004 at 3/18/2004 11:12:34 AM
I am creating my own exception handling class derived from Exception. It is used to handle tcp connection. Whenver connection failed, it throws an exception. My question is: How do I make my exception class to stop further exception from being re-thrown after the errror is handled/processed ?...more >>

User Control Attribute.
Posted by John H. at 3/18/2004 11:08:06 AM
Hi, How I can to design one User Control, which contains other controls like Label and TextBox, in order to it to return, in to the form that contains this, all changed properties, from the user control, but also and from the included controls? Thanks. ...more >>

Singleton Question
Posted by fred at 3/18/2004 11:01:40 AM
Is there a way to set the singleton object isntance to null? I have tried it and it does not work. SingletonObject singletonObject = SingletonObject.GetInstance(); singletonObject = null; Thanks ...more >>

how to shut down system programatically
Posted by at 3/18/2004 10:58:30 AM
Anyone have any code examples on how to shut down the system or info on what namspace and class to use? Thanks gv ...more >>

Datagrid and Columns
Posted by mewayne NO[at]SPAM hotmail.com at 3/18/2004 10:51:39 AM
if I have a Collection, and I assign it to the DataSource Property of a Datagrid, the data grid shows all the public properties of the items in the collection. How do I: 1) only show what I want shown, without making properites non-public 2) give the columns differnt captions than the...more >>

Windows service hanging
Posted by Ryan Breakspear at 3/18/2004 10:42:59 AM
Hi All, I have a problem with a windows service. It seems to run happily for sometimes hours, checking a database every second. It uses a timer and in the _elapsed event, the timer is stopped, the processing is done, and the timer is restarted. Errors are logged to the Event Log. I don't...more >>

Access controls in a class
Posted by Ricardo at 3/18/2004 10:36:14 AM
How can i access controls from a form from other class in a class library?? []s......more >>

regular expression
Posted by Ricardo at 3/18/2004 10:36:11 AM
HI.. I´m doing a program that a search a string that you type in google and return the links that it find The problem is that i need the regular expression string to use on the results page to extract the links Can someone help me in this......more >>

Process fails to run on server
Posted by Jorge at 3/18/2004 10:21:09 AM
Hi I have been trying for quite a while to get this code running FileStream file StreamWriter fileWriter; string programName,pscoastArgs,programName2,psxyArgs string pscoastOutput,psxyOutput programName = @"c:\gmt\bin\pscoast.exe" pscoastArgs = @"-Jq-95/1:52000000 -R-130/-50/...more >>

Excel Application Process Does Not Die (my problem solved)
Posted by Ron at 3/18/2004 10:16:59 AM
I have noticed a bunch of posts regarding the use of the Excel COM object regarding the Excel process never dies. I noticed them because I also had this problem. I was ReleasingComObject from Marshal on all Excel Sheets, WorkBooks, And Apps. ** while (Marshal.ReleaseComObject(myobj) > 0); *...more >>

Marshal Class In API Call
Posted by Qindong Z. at 3/18/2004 10:11:09 AM
I have an API call function which return a pointer of C++ class object. I need the m_pData and m_lSize in the object CReturnClass *APIFunction(void) 1. Could I directly use this API function in VS.NET by using DLLImport Declare? I don't want to wrap this dll in C++ 2. If yes, How could I Decal...more >>

Is it possible to send the CTRL+ALT+DEL keystroke
Posted by Samuel Callejo at 3/18/2004 10:11:02 AM
Is it possible to send the CTRL+ALT+DEL keystrokes programmatically in a C# program? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

app.config
Posted by genc ymeri at 3/18/2004 9:44:15 AM
1. How can I read/write data from app.config ? 2. Where are suppose to placed the app.config and application exe file in the users's PC, in the same directory ? ( in my VS solution the exe and the app.config are not in the same directory that's why I wonder how they will be deployed/copied/in...more >>

Is there a penalty using 'this' to call class methods?
Posted by Robert Linder at 3/18/2004 9:26:48 AM
Is there a penalty using 'this' to call class methods? I like using 'this' because it shows me what is in my current class. Does it matter to .NET that I use 'this.myMethod()' instead of 'myMethod'?...more >>

Efficiency on Loops Using Class Variables
Posted by Robert Linder at 3/18/2004 9:16:15 AM
Efficiency on Loops Using Class Variables I have a loop that has a large loop e.g.System.Math.Pow( 2, 20). I check a local variable against a class variable inside this loop. // if ( localVariable > classVariable ){} Does .Net perform better(faster) if I assign the class variable to a loca...more >>

resource files -
Posted by Kevin C at 3/18/2004 9:03:19 AM
Resource files are compiled into the assembly, correct?? When XP first came out everyone was using tools to read the resource files within a .dll and changing them - then "recompiling" the changes to manipulate the welcome screen. Do .NET assemblies for the same way? Could I get a tool to read...more >>

Sorting an Array
Posted by MFRASER at 3/18/2004 8:56:43 AM
Does anyone have a sample or know how to sort a two dimensional array? I want the first dimension ordered by the second dimension. Meaning Array 1,100 1,299 1,-100 2,200 2,400 3,599 3,-101 sorted should result in 3,-101 3,599 1,-100 1,100 1,299 2,200 2,400 ...more >>

Interface and abstract class, comparison
Posted by Hector Martinez at 3/18/2004 8:31:09 AM
We know c# don't support multiple inheritance, and that can be suplied using Interfaces.. But I have a doubt, what is the diferences between and abstract class without not virtual methods, and an interface? And where can i find some information about the implementation of both of them...more >>

Datasets and Crystal Reports
Posted by jswain NO[at]SPAM advancealarms.com at 3/18/2004 8:03:08 AM
I am a newbie programmer. I am working on a small program that fills a dataset based on one field in the table I am working with. I am able to fill the dataset, but not sure how to call my Crystal Reports form that I have already made in the same project. On my main form I have the following ...more >>

Visual studio dependency problem
Posted by absalom NO[at]SPAM gdhealth-dot-com.no-spam.invalid at 3/18/2004 7:18:38 AM
hello all, well a problem arose and i kindy ask for console: when i compile my solution i get this: Error: The dependency 'GDH.Infra.Settings, Version=1.0.1538.21971, Culture=neutral' in project 'GDH.Infra.Security' cannot be copied to the run directory because it would conflict with de...more >>

Concurancy violation when updating DataBase
Posted by Peter Krikelis at 3/18/2004 6:16:07 AM
Hi, I have a simple program with no multithreading that would update the database at the same time But when I run it it gives me this error: "An unhandled exception of type 'System.Data.DBConcurrencyException' occurred in system.data.dl Additional information: Concurrency violation: the Updat...more >>

Develooping for Windows XP and Me
Posted by Harry J. Smith at 3/18/2004 4:46:36 AM
When I develop forms on my Windows XP system they look fine when the .exe file is run on the same system, but when I run them on other Windows systems like Windows Me, the forms look all wrong. How can I develop forms that run and look good on both the XP and Me operating systems. -Harry ...more >>

.NET Destroy user code!!!
Posted by Bernardo at 3/18/2004 3:31:06 AM
Hi, I have a windows datagrid with a style and some fields... for one field I have declared one event and it works fine, the problem is when I need to check or change others datagrid or the one,... .NET overwrite my code and I loose it! I wrote the event of the datagrid field a lot of times toda...more >>

Interfaces, What am I missing?
Posted by John Baro at 3/18/2004 2:35:22 AM
If I have a class that implements IList. This puts all the add / remove etc.. methods in but they are all private as in int IList.Add(object value) This is a problem because I want it to be public but when I try public it says Modifier public not valid for item. What am I missing? JB...more >>

Outprocess (EXE) COM server in C#
Posted by Slava Gomzin at 3/18/2004 1:21:08 AM
Is there any way to build Outprocess (EXE) COM server in C#? The only examples of interop I found are Inprocess (DLL) COM servers... Thanks, Slava Gomzin Senior Software Engineer Retalix Ltd. slava.gomzin@retalix.com http://www.retalix.com ...more >>

Equivalent code in VSTO/C#
Posted by Rami at 3/18/2004 1:11:09 AM
Hi Any one come across adding drop down lists to Excel sheet at run time I can do this in VBA using the following cod ActiveSheet.DropDowns.Add(144, 0.75, 48, 15.75).Selec what is the equivalent code in VSTO or C# Thx in advanc Ram ...more >>

MC++ slower than C#?
Posted by 011 at 3/18/2004 12:13:55 AM
SGVsbG8sIEFsbCENCg0KSSd2ZSByZWFsaXplZCBzb21lIG1hdGggYWxnb3JpdGhtIGluIEMjIGFu ZCBNQysrLiBUaGUgZmVhdHVyZSBvZiBpdCBpcyBhbGxvY2F0aW5nIGEgbG90IG9mIG1lbW9yeS4g U28gdGhlIHByb2JsZW0gaXMgdGhhdCBDIyB2ZXJzaW9uIHdvcmtzIG11Y2ggZmFzdGVyIHRoYXQg TUMrKyB2ZXJzaW9uLiBBbmQgZXhlY3V0aW9uIHNwZWVkIG9mIE1DKysgYXBwIGlzIH...more >>


DevelopmentNow Blog