Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Events vs. Delegates
Burkhard - 11 Mar 2006 11:41 PM - 31 messages
Hi, I am new to C# (with long year experience in C++) and I am a bit confused by the language construct of events. What is it I can do with events that I cannot do with delegates? At the moment it seems to me that Microsoft has ...
Score Regex question
siddharthkhare - 11 Mar 2006 11:34 PM - 2 messages
Hi All, I want to capture a pattrens..using regular expresion in c# let say in following sentence This is a boy. I want to capture "boy" only if it is with in 10 character form index where "is" started. ...
Score DataGrid - summary row
Marcin - 11 Mar 2006 8:55 PM - 3 messages
Hello! How to I can create a summary row in DataGrid in Visual C# .NET or VB.NET? In ASP.NET available Footer for DataGrid, but in VC# I can't find this. ...
Score Dynamic Webservice Loading
Alexandre Brisebois (www.pointnetsolutions.com) - 11 Mar 2006 7:25 PM - 3 messages
Hi I was wondering if it was possible to completly enclose a webservice in an assembly and dynamically enable this webservice through an http handler of some sort ? this would mean not having the publicly accessible asmx file. best regards, ...
Score Passing in different int context on same signature?
Brett Romero - 11 Mar 2006 6:57 PM - 9 messages
I'd like to pass two different int contexts on the same constructor signature.  For example: Class1(int PersonId) {...} Class1(int EmployeeId) {...} Of course the above does not work because of the signatures.  So I do a goofy work around: ...
Score How to format string add commas at thousand position?
Netmonster - 11 Mar 2006 6:46 PM - 3 messages
All, How to format string add commas at thousands position, and hundred thousands position Example 1: I have string s = "1001"; or could be a random number I want the output to be 1,001. Example 2 : I have string s = "1000001"; or could be a random number I ...
Score Specifying an interface-implemenation as parameter
Alexander Mueller - 11 Mar 2006 5:42 PM - 3 messages
Hi it sounds simple, but i want to do the following I have two interfaces, IBrowseable and INode. A member-function of IBrowseable, 'getChildren', returns List<INode>-collections. Now i want classes that implement IBrowseable to return different kinds of lists, so they can return ...
Score Returning application name from hWnd handle.
Paul Aspinall - 11 Mar 2006 4:47 PM - 6 messages
Hi I am trying to find the application from a hWnd handle. ie. if the hWnd is to Internet explorer, I want to try to return iexplore.exe (as per processes in Task Manager), or some other indicator that its IE. ...
Score Returning application name from hWnd handle
Paul Aspinall - 11 Mar 2006 4:44 PM - 4 messages
Hi I am trying to find the application from a hWnd handle. ie. if the hWnd is to Internet explorer, I want to try to return iexplore.exe (as per processes in Task Manager), or some other indicator that its IE. ...
Score Identify Interface in ArrayList of Intfaces
Sam - 11 Mar 2006 3:36 PM - 4 messages
Hi I am trying to create a arraylist of Intefaces so I only need to create each once and I would like to be able to identify the specific interface when I loop thru ??? Is there some way to set a Custom Attribute on each Instance of the ...
Score Finding the current application which has focus.
Paul Aspinall - 11 Mar 2006 12:54 PM - 3 messages
Hi Does anyone have any code which can be used to find the current application which has focus? I want to try to retrieve the application name, or process name from the app which has current focus. Thanks ...
Score import excel spreadsheets ?
Jarod - 11 Mar 2006 12:44 PM - 5 messages
Hey How to import excel to my application ? I need access to all fileds in spreadsheets just to take data. Excel file works as a "dictionary" in my case. Can you tell me how to use it in application ? I never imported any ...
Score Generic Dictionary performance?
Rune B - 11 Mar 2006 12:33 PM - 19 messages
Hi Group I was considering using a Generic Dictionary<> as a value container inside my business objects, for the reason of keeping track of fields changed or added and so on. - But how expensive is it to instantiate/use Generic Dictionaries in great ...
Score ComboBox like Address bar in IE or in Run Dialog box
AbdulGafoor GK - 11 Mar 2006 9:54 AM - 6 messages
does anyone have idea how to achieve this functionality ?!!! thanks. ...
Score Best value Help file builder
Paul Aspinall - 11 Mar 2006 9:41 AM - 5 messages
Hi I'm trying to get opinions on the best free / best value help file (CHM) compilers out there. What do you use? Thanks ...
Score Change size of Context Menu
Ahmad Jalil Qarshi - 11 Mar 2006 9:14 AM - 3 messages
Hi! I want to fix the size of the ContextMenu to 150 Pixel. How to that. Please help me. Regards, Ahmad Jalil qarshi ...
Score Many Classes Vs Many Methods in a single class
James - 11 Mar 2006 9:09 AM - 3 messages
Many classes vs Many methods in a single class, which is a better way to structure applications? Regards James ...
Score passing forms
Lee - 11 Mar 2006 8:06 AM - 2 messages
hi, when passing a form to something, for instance another form e.g. form2 = new Form2(form1); what is passed exactly? is it a reference or a value? thanks ...
Score ComboBox doesn't have border when appearance is made flat in VS.NET 2005
AbdulGafoor GK - 11 Mar 2006 5:32 AM - 6 messages
hi    i am using visual studio 2005. i could make combobox flat, but without border. is there any way to draw a border for it ?!!! thanks ...
Score C# Windows Form Cursor question
Jason Huang - 11 Mar 2006 4:00 AM - 2 messages
Hi, In my C# Windows Form MyForm, I do a string manipulation on a TextBox. However, the Cusrsor stays in the beginning of the TextBox. Would someone tell me how set the Cursor in the end of the TextBox? Thanks for help. ...
Score System.Boolean Question.
Tyrone Chou - 11 Mar 2006 3:30 AM - 3 messages
hello, everybody. today, i read msdn like usual, suddenly i found variable with type of System.Boolean should take up 2 Bytes. it surprised me a lot. why a boolean value should take up 2 bytes? in my option, 1 bit should be ok:) ...
Score How to initialize jagged array?
deko - 11 Mar 2006 3:12 AM - 3 messages
I trying to create a jagged array of two arrays, with the second array being an array of two-dimensional arrays. A graphical representation might look like this: x  y[a,b]  y[a,b]  y[a,b] ...
Score Image render and save problem
Hardy Wang - 11 Mar 2006 2:15 AM - 2 messages
Hi,     I found a piece of code to add drop shadow to a photo like below, after I save the image, it is actually a BMP file even though I specify a JPG file extension (see [link]). If ...
Score Can't debug unless copylocal=true?
Brett Romero - 11 Mar 2006 1:45 AM - 3 messages
When I set copylocal=false on my project and try to step through it, I get a file not found on one of my dependencies.  The error is thrown before anything executes.  The file is in the referenced path I've set ...
Score decreasing for
Anibal David Acosta F. - 11 Mar 2006 1:31 AM - 2 messages
do you know how can I do something like this.. CurValue = 20; //or other value for (int i=CurValue; i >=0; i--) {     //do something here } when I compile an error occur and the "underline error mark" is below the ...
Score decrease for
Anibal David Acosta F. - 11 Mar 2006 1:28 AM - 5 messages
do you know how can I do something like this.. CurValue = 20; //or other value for (int i=CurValue; i >=0; i--) { } ...
Score Not creating an instance
tshad - 10 Mar 2006 11:45 PM - 7 messages
I am trying to create a class that may have an error in the constructor. For example: using System; public class  Demo {     public Demo ()     {         Some code that reads database and fails for some reason ...
Score How to make unique name given string and collection?
deko - 10 Mar 2006 11:27 PM - 6 messages
Is there an accepted or standard way to get a unique name given a string and the collection in which it needs to be unique?  Should I use a HashTable? Other options? Here's a first crack: private string makeUniqueName(string inName, MyCollection collection) ...
Score Creating a list of domain users and domain groups
MAF - 10 Mar 2006 11:01 PM - 2 messages
How can I create a list of domain users and groups? ...
Score Parsing HTML pages
MisterKen - 10 Mar 2006 10:38 PM - 3 messages
If I have the html from webpage loaded into a string. How would I use regex to return sections from within that html string? I want to be able to get the "text" back between two different tags. Basically I want to scrape some web pages and populate a database. ...
Score ZIP files in C#
Necqui Teja - 10 Mar 2006 9:17 PM - 14 messages
Are there any utils/tools to zip files at runtime in C#? Thanks Necqui ...
Score Q: ColumnChanging
Martin Arvidsson - 10 Mar 2006 8:31 PM - 4 messages
Hi! Following the walkthru in Visual Studio 2005, double clicking on a field in dataset doesn't generate a ColumnChaning event as said? Any ideas why? Regards Martin ...
Score Processing Files
Shahid - 10 Mar 2006 8:19 PM - 9 messages
Hello, I am having a problem with users uploading a file. Basically the way my application works is that a user will select a file from the system (csv) and I will take that file and do some processes on it. I am not ...
Score convert a string to type for passing into a generic
Simon - 10 Mar 2006 7:59 PM - 2 messages
I'm pulling data from an xml file, one field of which is the datatype for passing into a generic class.  The problem is how to get that string from xml into a valid argument for CustomCollection<T>. ...
Score How to validate fields on the form in C#
juventusaurabh - 10 Mar 2006 7:14 PM - 3 messages
I have a form with a number of fields, some of which would be filled(populated) automatically from the MS SQL database on certain event.Now, I have certain validations on the fields from sql database as constraints(eg. format of the tel number), So I was wondering how do ...
Score Using using verses specifying the namespace completely.
UJ - 10 Mar 2006 7:08 PM - 3 messages
What's the general feeling on using the using keyword versus spelling the type out completely. For instance, do most people put a using in so they can just say MyNewType    or do people not use a using and they specify the ...
Score TreeNode.Find() busted?
sklett - 10 Mar 2006 5:56 PM - 2 messages
I know, I know... it's rarely the case.  But here is a SIMPLE example of it not working: TreeNode temp = configNode.Nodes.Add("TestNode"); TreeNode[] findResult = configNode.Nodes.Find("TestNode", false); The call to Add works, but I always get a 0 length array back from Find() ...
Score c# CP210x Wrapper InteropServices IntPtr HandleRef problem
justin.kruger - 10 Mar 2006 5:14 PM - 8 messages
I am having a problem with exchanging handles with c# and the "CP210xManufacturing.dll" in a device wrapper that i am working on. I have created a wrapper class to address some of the functions in the dll, but not all of them yet. To my knowledge they should be almost ...
Score Embedding an image in a dll
UJ - 10 Mar 2006 4:59 PM - 4 messages
I've got an image I want to embed in a dll to use on a screen later. I've got it in a resource file, got it to compile in to the dll. The problem is getting it back out. It seems like my problem is in the get resource code. ...
Score C# Books
Mads Peter Nymand - 10 Mar 2006 4:51 PM - 6 messages
Hi everybody, I am looking for a good C# book. My background: I have half a year of professional experience with Java. I am new to C#. Before that I have been coding a lot in Java, so I am ...
Score Adding effects to images in screensaver?
VMI - 10 Mar 2006 4:49 PM - 2 messages
I'm working on a screensaver that simply displays one image after the other. How difficult is it to add some effect so that the the transition from one image to the other looks smoother? I have VS 2005. Thanks. ...
Score Adding a button click event to my Main function
lavu - 10 Mar 2006 4:38 PM - 3 messages
I am trying to start a C# GUI App and automatically trigger a button click event. However when I add a statement  btn.PerformClick to my Main() I get an error that a class was expected . This is what I am trying to do. ...
Score Form Minimize
Brian Patterson - 10 Mar 2006 4:15 PM - 4 messages
I have an application with a main form (FormA).  This form is borderless because we have a lot of skin action going on.  The form creates and displays a second form (FormB) via formB.Show().  When we minimize FormA it ...
Score Remove all event listeners with dynamic attachment
Kenneth Siewers Møller - 10 Mar 2006 4:06 PM - 2 messages
Hi there I have a question about dynamic event binding. I have a class called Fraction in which a number of events are declared. Some of the events are: OnNameChanged OnCostChanged OnDateChanged Objects from this class is created and removed dynamically, using a generic ...
Score Refering to Object Members in A Collection in an ASP.NET BoundColu
Ross Holder - 10 Mar 2006 4:06 PM - 4 messages
I've created a number of business entities for an applciation I'm working on in ASP.NET (Framework 1.1) and would like to quickly get data into a BoundColumn for a control that consums a collection.  Generally speaking, ...
Score finding the current user name accessing an ASP.NET page
Joe - 10 Mar 2006 3:30 PM - 5 messages
This may actually be an IIS configuration issue but any help would be appreciated. I'd like to display some content based upon who the current user is that is accessing an internal ASP.NET applciation. I am using the 2.0 framework. I ...
Score Increase all digits in a number(string) one step
Niklas Engfelt - 10 Mar 2006 3:12 PM - 11 messages
Does anyone have a nice algorithm/method to increase all digits one step, e.g. 123123 to 234234 and 4444 to 5555 and 999999 to 000000? Best regards Niklas ...
Score Using a Class Library Settings File in ASP.NET 2.0
Ben Dewey - 10 Mar 2006 2:59 PM - 3 messages
Hey, I have kind of an architecture question. I have a dynamic website that is using a Windows Form Backend and a ASP.NET front end.  They are both using C# 2.0.  I also have a class library that ...
Score Exception thrown outside debugger but not in debugger
Chris Stiefeling - 10 Mar 2006 2:22 PM - 2 messages
Hi, I am experiencing a strange problem.  I am reading and writing xml files via XmlDocument and XmlTextWriter.  In the debugger everything works fine but outside the debugger I receive the following error:  "The type initializer for "System.Xml.Schema.Validator" threw an exception.".  ...
Score Anonymous Methods As ThreadStarts
d225563 - 10 Mar 2006 1:56 PM - 8 messages
I read an article that had a really elegant solution to pass parameters to a thread by using an anonymous method as your ThreadStart.  It seemed pretty slick and even worked when I tried it.  However, with some more playing around, I got some really strange results.  Using the ...
Score Sockets, to be continued...
Steven - 10 Mar 2006 12:46 PM - 8 messages
Hi, Thanks all for you help with my "socket and buffer size" question. I have decided to use async ones, and my code is working pretty well. But i still have a non-answered question: Is it a problem if all the client are connected and sending a large quantity ...
Score Regular Expresions
Josema - 10 Mar 2006 11:59 AM - 6 messages
Hi to all, i did this regular expresion <!--!.*!--> that matchs all occurrences of type <!--!Name!--> <!--!Description!--> and so on... I would like to know the regular expression to get (for instance) for this example, only the matches Name and Description without the start <!--! and ...
Score Unable to start debugging on web server (in dotnet)
Ratheesh Pallipravan - 10 Mar 2006 11:54 AM - 3 messages
Hi,   Recently I encountered with a problem in BETA version of visual studio 2005. Whenever I try to run a web appication it says "Unable to start debugging on web server"  ...  If any one can help me? I have set all the ...
Score DataGridView Column type
Alex Bibiano - 10 Mar 2006 10:33 AM - 4 messages
¿Are there free column types to use in my DataGridView? For exemple a datapicker, a maskedit, or a numeric type I know I can do it, but I'm searching for some implemented code. ...
Score What is wrong with this Producer-Consumer sample?
Rene Ruppert - 10 Mar 2006 10:07 AM - 3 messages
Hi, I'm trying to implement the Producer-Consumer-Problem in C#. Below is my code. The problem is, that the buffer always contains only one element...it seems that the Thread.Sleep() in the producer and in the consumers make the whole ...
Score string dictionary and memory issue.
Alexandre Brisebois (www.pointnetsolutions.com) - 10 Mar 2006 8:48 AM - 5 messages
Hi, I am currently building a lexical analysis component to pull keywords out of content, I currently have a functional first build, but I am having problems ince I am easily loading over 300 000 strings in memory, when I am doing the actual analysis I  can reach upto 400 mb of ram ...
Score Import DLLs
Thomas Klein - 10 Mar 2006 8:41 AM - 2 messages
Hello newsgroup, I am new to C# and need to import a DLLs from a software vendor. I have already successfully tried to import a Win32-DLL in this way:     /*           * import DLL ...
Score Desing problem
Alex Bibiano - 10 Mar 2006 8:34 AM - 3 messages
Question about .net 2.0 and C#: In the open event of my WinForms I do a loop trough all the controls collection. I have inherited new controls from the base controls (button, label, .), all with a new property (security). ...
Score How to Anonymous IP address in C#
u.v.perumal - 10 Mar 2006 8:02 AM - 10 messages
Hi i am new to net working programmer i want to  Anonymous my ip address how to do it Is there any example program Regards Perumal ...
Score newbie: GetType or typeof?
deko - 10 Mar 2006 7:27 AM - 11 messages
I have a method I need to pass an object reference to like this: private void updateSchedule(object obj) {    if (obj is ThisObj)    {        myVar1 = obj.PropertyA        myVar2 = objPropertytB ...
Score file uploading in windows application in .net
archana - 10 Mar 2006 7:26 AM - 5 messages
Hi all, Can any one tell me how to upload file in windows application developed in C#.net. Or can i use method webclient.uploadfile in windows application. Please help me asap. thanks in advance. ...
Score Browser integration with c# application
plmanikandan - 10 Mar 2006 6:58 AM - 3 messages
Hi,   I need to integrate the browser with my C# windows application. When I search thru the websites for this,I found SHDocVw.dll is needed for integrating Web browser into c# application.I did'nt found SHDocVw.dll in my system.I am  using Visual studio .net 2003 and ...
Score Current Program's Process ID
Steven Nagy - 10 Mar 2006 5:39 AM - 3 messages
Hi all, How would I go about detecting the current applications Process ID? I know I could do this by checking the EXE against the process list and getting the ID, however I can't guarantee that there won't be another ...
Score How select from 2 ADO.NET DataTables?
Ronald S. Cook - 10 Mar 2006 5:31 AM - 2 messages
Let's say I have 2 ADO.NET DataTables (tblAuthor and tblBook) within an ADO.NET DataSet (dstPublish). tblAuthor has DataColumns AuthorID and AuthorName,  tblBook has DataColumns BookID, BookTitle, AuthorID (assume a book can be written by only one ...
Score C++ class in DLL to be imported to C#
Tony Siu - 10 Mar 2006 5:30 AM - 4 messages
Dear all, I am trying to write a class in C++, exported it in DLL. Does anyone know how I can import them in C#? For example: in C++ class DllExport Abc { public:    int foo1;    FILETIME anytime; ...
Score Why won't you give me your scrollbars?! I hate you, TreeView!
sklett - 10 Mar 2006 4:54 AM - 4 messages
A little dramatic maybe, but I've just finished my pass on the "UI Polish" and only one things remains (well, I guess I haven't finished then!) Vertical Scrollbar position.  Doh! Part of my code clears a Node's nodes, then rebuilds them all.  When this ...
Score PP: Orphan Assemblies List
prabhupr - 10 Mar 2006 4:44 AM - 2 messages
Hi Folks In CS project, we use "Add Reference" option to make reference to other assemblies. At times, there a is a chance that few of them get added by mistake or must have got added for some need and developers must have forgotten to ...
Score PP: Identifying list of unwanted USINGs
prabhupr - 10 Mar 2006 4:40 AM - 3 messages
Hi Folks In CS project, we use "using" statement to make reference to other namespaces. For example: using System; using System.Data; using System.Configuration; At times, there a is a chance that few of them get added by mistake or ...
Score Effective strategy for using VSS in a development team?
Rick - 10 Mar 2006 4:33 AM - 8 messages
I'm sorry for posting this here, but other more relevant groups are a little too quiet. Has anyone out there come up with an effective strategy for using VSS with a development team? IME it is a nightmare trying to manage releases of code. ...
Score Getting Event of Lock Windows OS
Chakravarti Mukesh - 10 Mar 2006 4:25 AM - 6 messages
Hi, I want to get an event if someone locks her/his computer so that I could do some finalizations before actually locking the system.  For example how can I ensure that an user close a particular application before locking her/his ...
Score Visual C# FileIO and Environment Permission
Marquis - 10 Mar 2006 4:18 AM - 4 messages
I am writing a ActiveX dll using Visual C# However , i am facing fileio and environment permission problem. Is there any way to solve this problem? just as signing the dll or other method to grant the permission? Thanks, Marquis ...
Score Getting text box value on key press?
Brett Romero - 10 Mar 2006 2:27 AM - 5 messages
I have three text boxes on a form with one button.  The button is the form's AcceptButton.  After some one puts a value into any text box, I assign the value to an object via textbox.Leave() event.  This doesn't ...
Score Application Idle - Good or bad practice?
Udi - 10 Mar 2006 1:48 AM - 5 messages
Hi All, What do you know about the Application.Idle event? When is it a good practice to use it and when should I not use it? I know it fires when the app message queue is empty, and that this ...
Score How to: Access the Managed HTML Document Object Model
Filippo Bettinaglio - 10 Mar 2006 1:46 AM - 3 messages
Hi, I use, VS2005 C# I have a Windows Forms UserControl hosted within Internet Explorer According to MIcrosoft documentation: [link](d=robot)/ms171712.aspx or the local MSN (Installed with) VS2005. .... You can access the HTML DOM representing the page on which your UserControl ...
Score VS 2005: how to use the same class.cs in two projects
Serdge Kooleman - 9 Mar 2006 11:46 PM - 3 messages
c# how to use the same class in two projects? i have solution that consists of website, winapp and web service. i need to use the same class MyClass.cs in all three applications. i cannot figure out how to do in the VS 2005? ...
Score Finding if a column is unique in a dataset
spdude - 9 Mar 2006 10:44 PM - 5 messages
I have a dataset that has megs of data. I want to know if there is a way to find out if data in a particular column is unique or not. Does the dataset or a datatable have a built in function that i can use? ...
Score How to set build order?
Brett Romero - 9 Mar 2006 10:34 PM - 10 messages
I have an EXE project with four project dependencies (DLLs).  I need to set the order of these builds.  However they are automatically ordered by alpha.  There aren't any settings to change this.  Is the build ...
Score by reference and by value
Andrew Bullock - 9 Mar 2006 10:27 PM - 4 messages
Hi, Why do i get the following error? In other projects I have done (what i thought was) the same thing, without compiler complaint :-/ 1: List<MyClass> myClasses = new List<MyClass>(); 2: myClasses.Add(new MyClass(20)); ...
Score Chinese characters
lyudmilal - 9 Mar 2006 10:05 PM - 2 messages
I have a list of last names that can be in different languages: chinese, english, russian, german, etc.  Different format need to be applied only for last names in chinese.  For this purpose, I need to check if last name contains chinese characters.  Any ideas how to do it ...
Score Blogging sites
Paul Aspinall - 9 Mar 2006 10:00 PM - 5 messages
Hi I'm just about to build my own personal website, and am wondering whether to build my own blogging functionality, or whether to use some existing one. Which are the best blogging sites for developers?? Thanks ...
Score Keyboard Macros
Padu - 9 Mar 2006 9:12 PM - 3 messages
I realize this is more of an IDE question than C#, but is there any "macro recording" capability for keystrokes in visual studio 2005? In Delphi for example, your press ctrl+shft+R and it starts recording all keystrokes you press. ctrl+shft+R again and it stops recording. ctrl+shft+P ...
Score Size
Roy - 9 Mar 2006 8:47 PM - 5 messages
I have an object with array of some data types. How do I get the number of bytes for it in managed code? The underlying data types could be primitive types or userdefined structures. For example I have an integer array boxed in object. ...
Score Edit Table
gjtired - 9 Mar 2006 8:36 PM - 2 messages
Hi I am using a table to fill a dropdown box. The contents of the dropdown box are ordered by a seq_no. I edit the seq_no and want to refresh the dropdown box and show the new order. I can edit the table but the ...
Score Editable DataGrid with DropDownList Question
Frank - 9 Mar 2006 8:19 PM - 3 messages
Hello, I am developing with VS.Net 2003 on the asp 1.1 platform. I am a few days new to using a datagrid. I found a nice tutorial and had no problems using an editable datagrid with textboxes and an additional ...
Score Weird issues with DataGrid
Flack - 9 Mar 2006 8:18 PM - 3 messages
I have a DataGrid and a DataTable.  When my form loads I create the DataTable with the appropriate columns and use it for the DataGrids.DataSource. Later on in my app, I alter the DataTable: dt.BeginLoadData();  for(int i = 0; i < _movesArrayList.Count; i++) ...
Score 32-bit signed int to 16-bit unsigned int
dantheman - 9 Mar 2006 8:08 PM - 8 messages
anybody can tel me y Int32 supervar = 1151; but when i do supervar = supervar & 0xFFFD; supervar becomes = to 1149 same for Int32 supervar = 21319; but when i do supervar = supervar & 0xFFFD; supervar becomes = to 21317; thank for any tips ...
Score Process File in Chunks - StreamReader
das - 9 Mar 2006 8:00 PM - 3 messages
I posted this on ado.net, which seems like the wrong group - so here it goes! Hi All,       I want to process a file in chunks, meaning I have a big file of 50K rows. I want to process 5K rows at a time. ...
Score File browser
FireStarter - 9 Mar 2006 7:46 PM - 3 messages
Is there a control that I can use in Windows Forms to show the file system? I need something like the "file list box" in VB, that I can add to a form and have it automatically populated with the files (and ...
Score Help Passing TreeView to another form and then back
dixiecanterbury - 9 Mar 2006 7:39 PM - 3 messages
I have a tree view on a form and I need to pass that treeview to another form keeping the state of the treeview (expanded nodes, etc). After the treeview has been manipulated (added nodes, deleted nodes, etc) I need to pass the treeview BACK to the original form. ...
Score picture compare
Dave - 9 Mar 2006 7:38 PM - 5 messages
Does any one know how to compare pixels in a picture, or a dll that will allow me to do so. I need to be able to find objects in a picture. Like a table, chair, car etc. Compare a given picture say of a car, and scan another ...
Score Enterprise Library Application Blocks question...
craig - 9 Mar 2006 7:29 PM - 4 messages
I was just wondering if anyone else may have incorporated the original Microsoft Exception Management Application Block (EMAB) or Data Access Application Block (DAAB) into one of their applications when the blocks were frist released several years ago? In the process of trying to upgrage an application to CLR 2.0, I thought it ...
Score Assembly Dll's, Interfaces and Swapping
Lee - 9 Mar 2006 7:19 PM - 3 messages
Hello, Assume that I have two dll assemblies that implement a common interface.  If the dll's are named the same, is it possible to swap the dlls in the field?  Say, shut down the software, swap the dll's and run ...
Score How do you change a date for use in different countries
Wolf W. Wolf - 9 Mar 2006 7:01 PM - 2 messages
Example.  In the U.S. 03-09-06 (Month-Day-Year).  I would like for the date to change with use in whatever country the software is in, such as Finland, U.K. or even China.  I keep playing with System.DateTime and can not find a ...
Score How the devil do I get screen resolutions??!!?
ManwSloHand - 9 Mar 2006 6:38 PM - 11 messages
ARGH! I have a c#.net web application. I need to retrieve screen height and width into a variable. I know this is incredibly stupid but HOW THE HECK DO I DO IT??!?!?! A copy to rick1r***@gmail.com would be much appreciate also. ...
Score trivial question about building exe
Dariusz Tomon - 9 Mar 2006 5:38 PM - 5 messages
Hello I have got windows application project (C# Visual Studio 2003) with references to external dlls. All I want is to compile everything into one exe file, so that I can send it to another machine and it works. I would also ask about creating installation package so that others could ...
Score Having trouble with multiple threads and a shared resource
Flack - 9 Mar 2006 4:40 PM - 9 messages
Hey guys, In my app I have a bitmap where drawing is done and in the form's paint method I show the bitmap: private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) {    if(MyBitmap != null)    { ...
Score Another form question
AMP - 9 Mar 2006 4:39 PM - 6 messages
Hello, Form1 has a button that creates Form2 that has a button that changes  a lable on Form1. How do I give(send) Form2 a reference to Form1? Thanks Mike ...
Score Reads XML node from App.Config and populates a Class
PH - 9 Mar 2006 4:36 PM - 7 messages
Hi guys; I got the following problem to solve, hope you can help me. I got a XML node in App.Conf; <CUSTOMERS> <CUSTOMER> <NAME =”Frank” /> <LASTNAME =”Smith”/> <AGE= 34 /> ...
Score storing data securely
ek1 - 9 Mar 2006 4:34 PM - 3 messages
Hi, I need a method in which to store data securely on windows XP/2003 using C#. By secure I want to a) prevent user reading and changing the data and b) prevent user copying over data I can solve the first problem easily by using encryption, however I do ...
Score Debugging a command line c# windows Application
lavu - 9 Mar 2006 4:18 PM - 7 messages
How can I  debug a C# GUI app which  is invoked from the command line ? Thanks in advance. ...
WMI
Next »