Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score How to covert to UTF8
ad - 24 Jun 2006 10:33 PM - 4 messages
I use a fileUpload of ASP.NET to read a csv file from client into a Strem like: Stream myStream = FileUpload1.FileContent; But the file from Client if of CharSet BIG5. How can I covert it to UTF8? ...
Score assembles
PiotrKolodziej - 24 Jun 2006 9:41 PM - 2 messages
Hi I have reached the level at which i want to learn assembles. Thus i need to know what they really are, and what for they are used. I tried to ask google, without result. So i'am asking you for any links, answers, or advices. ...
Score how to use obfucation in .NET
JustinC - 24 Jun 2006 7:54 PM - 11 messages
Hello, I'm using VS.NET 2005 TFS and I want to start using the obfuscator that comes with it. Does anyone know of a good tutorial for how to obfuscate code in .NET? Thanks ...
Score help with following code
-D- - 24 Jun 2006 6:57 PM - 5 messages
I'm new to .net and just learning c#. I have the following code in vb and want to convert this to c# Public Class PositionData     Private strText As String     Private strUrl As String ...
Score DataGrid Edit field
Peter - 24 Jun 2006 6:25 PM - 6 messages
(VS 2003) I have a DataGrid and accept button.  My problem is when a user starts to edit one of the values in the grid and does not either press Enter or move of the current cell and presses the Accept buton the current typed value ...
Score web application browser area
Jessica Weiner - 24 Jun 2006 2:37 PM - 2 messages
I have a web application that needs to be displayed in the browser such that it takes up the *whole* window, i.e.browser's back/forwards buttons and menus etc shouldn't be displayed. How can this be done? ...
Score Add Mozilla engine to Windows forms application
Behzad - 24 Jun 2006 2:35 PM - 8 messages
Hi all, Is there anybody out there who knows how to embed Mozilla engin in CSharp application. There are some useful articles in codeproject.com that show how to work around this issue with IE ; but need embed mozilla in my windows form. ...
Score Elegant design with interfaces (in C#)
_dee - 24 Jun 2006 8:42 AM - 19 messages
Question about best use of interfaces: Say there's a 'Master' class that needs to implement a few interfaces:   class Master : I1, I2, I3   {   } The actual code already exists in smaller classes that each implement one or two of those interfaces: ...
Score Who's starting my service ??
Soren S. Jorgensen - 24 Jun 2006 8:24 AM - 3 messages
Hi, How do I see, from within my main method, in what context my assembly, containing my service program, is executed ?? I want to be able to detect if the assembly is executed by the service system (say started from the Services applet) or if it was executed from a ...
Score how to use html code in windows application
Prashant M - 24 Jun 2006 7:55 AM - 2 messages
Hi I want to play video file in my c#.net application (windows), the input for the video file is in html format, i;e i will give the link like <a href:=http://................ like this and from the site i've to play that video in my windows application. ...
Score how to transfer a dataset and a string from page to user control
Mukesh - 24 Jun 2006 6:57 AM - 4 messages
Hi all I have to transfer a dataset and a string from a webform to a user control on the page without using viewstate or session or cookies . properties method is not working properly. if anybody thinks that is fine so plz describe me and send me any article or example for that. ...
Score Evaluating a variable name
encoad - 24 Jun 2006 4:34 AM - 7 messages
Hi everyone, I've run into another road block that google.com isn't able to solve since I don't even know where to start when searching. In my webapp, a certain number of table rows containing textboxes is ...
Score How does this work?
william - 24 Jun 2006 2:36 AM - 8 messages
You guys are a great resource for learners such as I.  I have seen the way that you go  over and above in explaining even the most mudane things to beginners, and I think it is a great thing that you do here.  I only hope ...
Score How to show the value of a private variable in some debug window? (C# Express)
Johann Schuler - 24 Jun 2006 2:10 AM - 3 messages
Let's say I have a Person class with a private int age member variable. I have a get and set accessor for the Age property. When I am running the code in debug mode, I would like to have a debug window show me the value of age ...
Score How to show line numbers in .cs file? (C# Express)
Johann Schuler - 24 Jun 2006 2:10 AM - 3 messages
I am using C# Express. Is there a way to set it to show line numbers in the code? Thanks! ...
Score Interesting App domain issue
Alvin Bruney [MVP] - 24 Jun 2006 12:19 AM - 4 messages
I have two managed windows applications A and B. Both have their own config files. Application A invokes application B thru process start. However, since B runs in A's context, B starts up and reads A's configuration file ...
Score How to get the same as MS FCIV
andrewcw - 24 Jun 2006 12:02 AM - 4 messages
I have a VB 5 program that computes an MD5HASH on a file. I can get the same number using Microsoft FCIV. But this code does not.  ( What more should I do to get the file's hash as ...
Score Workin with progress bars
Scirious - 23 Jun 2006 10:14 PM - 10 messages
People, I want to do same things with a progress bar but I don't know how. So, how do I change it to make it a solid bar, not a step byt step as the default? And how do I make it a vertical bar? Also, how do I put a progress ...
Score Control.Invoke and ref parameter
George - 23 Jun 2006 9:02 PM - 8 messages
Hi, Does anyone know how Control.Invoke can invoke a method which has ref parameters? For example, class A {   public delegate MyFuncHandler(ref int i, ref int j);   public void MyFunc(ref int i, ref int j)   { ...
Score How to access object in array by property value?
Katit - 23 Jun 2006 8:52 PM - 2 messages
Is it possible to find object in array with specific property value? Just like dataset filter? Thanks! ...
Score return a private enum
Valmont - 23 Jun 2006 8:33 PM - 7 messages
Complete newbie at C#. Class below stripped  for brevity. How do I return a private "Status" from a public method? I may need a set/get but I don't know how to do that on an enum. Thank you. ...
Score Help With Nesting Classes In Library
joey.powell - 23 Jun 2006 8:01 PM - 5 messages
I am writing a class that will do some binary file IO. The class will need to read a header from the binary file, and it will also need to read a varying number of records in the file. I currently have two main ...
Score Non-Sequential Binary Reads
joey.powell - 23 Jun 2006 7:30 PM - 4 messages
Does anyone know of a .net class that allows for non-sequential reading of binary files? It would offer a Seek() function or something similar. The BinaryReader appears to only read forward from the beginning of the data (much like the SqlDataReader does). ...
Score Delete a line from a text file
tomtown.net - 23 Jun 2006 6:36 PM - 6 messages
Hello I'm trying to get a single line removed from a text file using a search pattern (pretty simple: if line contains "NODE1") -> remove line). To achieve this I's like to operate with only the original file and no ...
Score MethodInfo.Invoke and reading ref parameters
ian - 23 Jun 2006 5:51 PM - 2 messages
Hi, I can't find a solution to this, so I've brought it to the experts. Using reflection I can get a MethodInfo object pointing at an assembly's method. Where I have a MethodInfo object pointing at a function, say func(int ...
Score How do i escape { and } in a format string
TS - 23 Jun 2006 5:20 PM - 4 messages
when creating JS for client side and I use StringBuilder.AppendFormat to add some args to a dynamic string. I can't use the { or } to open and close JS methods on the .AppendFormat line though i can do it on .Append ...
Score System.Type.Type()
Robert Towne - 23 Jun 2006 4:50 PM - 3 messages
What happens if I pass the assembly-qualified name of some type to "System.Type.GetType()" where the name I pass originates from another machine. For instance, for a standard button control, what if I invoke: Type.GetType("System.Windows.Forms.Button, System.Windows.Forms, ...
Score Byte Order Woes
joey.powell - 23 Jun 2006 4:10 PM - 5 messages
Hello, I need to be able to read a binary file that contains fields written in BOTH big endian and little endian byte orders. I am currently unable to read the big endian fields (erroneous values because of the different ...
Score Fairly simple I think
Robert Towne - 23 Jun 2006 3:58 PM - 4 messages
If I have a string representation of a property such as "MyObject.SomeProperty", how would I then create a "MyObject" object and invoke "SomeProperty". Any assistance would be appreciated. Thanks. ...
Score Updating Application Icon
randy1200 - 23 Jun 2006 3:58 PM - 5 messages
I have a Windows application that previously had the company logo "MyCompany.ico" added to the upper left-most corner. The company has since issued a new version of "MyCompany.ico" that looks completely different. I overwrote the old ico file with the new ico file and re-ran the program. I ...
Score Calling javascript from a C# condition?
VMI - 23 Jun 2006 3:08 PM - 3 messages
How can I call my javascript from within my C# "IF" statement? I have a function called dirError() that only displays an alert: function dirError() {     alert('Bad directory'); } From my C# code, I want to do this: ...
Score "lock" keyword and exceptions
Ron M. Newman - 23 Jun 2006 3:04 PM - 2 messages
Hi. Quick question: - I have a class with fields. There is one method that modifies them. in this method I have something like lock (this.lockObject) {     /// throwing exception here... } My quetion is, if an exception is thrown within the lock block, will the ...
Score Sorting A DataTable
David P. Donahue - 23 Jun 2006 3:00 PM - 7 messages
I've been looking around for ways to sort the rows in a DataTable, and everything seems to point to just changing the Sort property on that DataTable's DefaultView property.  That's all well and good for viewing ...
Score Impersonate and LogonUser()
schaf - 23 Jun 2006 2:39 PM - 10 messages
Hi NG ! I used the examples on the internet to create a Impersonate class which allows me to log on as another user. After logged on as the new user I could access files on a remote computer, which is in the same domain. ...
Score get user id
John - 23 Jun 2006 2:36 PM - 6 messages
Is there a way to get the logged in user and if the user id does not match mine to log them out? I'm going on vacation for 2 weeks, and my co-workers are pranksters, so if they log into my pc to do whatever, I want to kick ...
Score SQL Updates
Sehboo - 23 Jun 2006 2:32 PM - 5 messages
Hi, I have sql updates that I need to apply to the new version of my application.  This is a text file with bunch of updates like new tables, stored procedures, etc. I can run this file on sql query analyzer to apply all the updates at ...
Score Exchange and C# - beginner's question
Rik Brooks - 23 Jun 2006 1:44 PM - 3 messages
I'm afraid that I've not done anything with mail for over 10 years. Back then it was C and Mapi. My boss wants me to display unread messages in the mailbox on our intranet site. I'm writing this in C#. I asked him for his pop3 ...
Score Parameters byref
Arne Garvander - 23 Jun 2006 1:37 PM - 4 messages
I hace a function that needs to return two integers. I know that objects can be passed by reference and updated in a function. Can I do the same thing with primitive value type parameters? ...
Score UserControl Question
Pete Kane - 23 Jun 2006 1:24 PM - 3 messages
Hello All, I just created my first user control in VS 2005, it consists of a TabControl with two pages, and several textboxes and labels on each page, I built it, and added it to my toolbox, however !, having placed the control on a form, I can't access any of ...
Score beginner's question: const vs readonly
R.A.M. - 23 Jun 2006 11:22 AM - 4 messages
Hello, I am learning C#.NET and I donst understand difference between meaning and usage of "readonly" and "const" keywords. Could you explain me please. Thank you /RAM/ ...
Score How to compare two byte arrays?
Ole - 23 Jun 2006 9:45 AM - 3 messages
How do I compare two byte arrays in a if statement? Thanks Ole ...
Score C# SqlConnection question in SQL Server 2000
Jason Huang - 23 Jun 2006 8:32 AM - 3 messages
Hi, In our C# windows application, if we build up a SqlCommand array, saying TestCommand [20]. And in the SqlCommand array, later on we try each TestCommand[0], ..., TestCommand[19], by testing the TestCommand[i].Transaction, TestCommand[i].ExecuteNonQuery(). Will this cause problems in our SQL Server 2000?   What should I pay ...
Score IClonable deep vs shallow, best practise
bonk - 23 Jun 2006 6:19 AM - 3 messages
I have come across the need to distinguish between the creation of a deep and a shallow copy and with great interest I have read this article: [link] ...
Score What is ReadTimeout good for in serial ports?
Ole - 23 Jun 2006 6:13 AM - 2 messages
I can't get the sense of the ReadTimeout property in the serial port - what is the function of it? the serialport.Read returns immediately no matter how many bytes you ask it to read and no matter what ReadTimeout is set to???? ...
Score csharpbuilder shortcuts
Dennis Kuntzemann - 23 Jun 2006 2:22 AM - 2 messages
Hello, does anybody has a list or link for the shortcuts that are being used in csharpbuilder 2003? thank u very much best regards, dennis ...
Score Define my own data type
Just D - 23 Jun 2006 1:10 AM - 13 messages
All, It was possible before in Pascal, C++, etc. to define our custom data type or redefine the existing type, like in Turbo Pascal we could assume that shortint is int and use all references to shortint like all these variables ...
Score PrintDocument and Resolution
Steve - 22 Jun 2006 11:51 PM - 3 messages
I'm trying real hard to set the printer resolution for a PrintDocument.  It appears that the printer is already set to 300 x 300 dpi, which is JUST what I want. But the Margins and PrintableArea properties of the PageSettings in the ...
Score SqlBulkCopy problem
GB - 22 Jun 2006 11:17 PM - 2 messages
Hello: I am developing C# project, using ADO .NET 2.0 to connect to SQL Server 2005. I created a DataTable from scratch, and then use SqlBulkCopy to insert it into an empty table in a SQL Server 2005 table. ...
Score IDataErrorInfo Interface
Brian - 22 Jun 2006 11:03 PM - 5 messages
I really want to use the IDataErrorInfo interface.  I'm using it now in combination with an ErrorProvider and this seems really good. But the downside: IDataErrorInfo wants to use a string indexer on my class.  No big deal, but now I have a class where I want to use my own ...
Score OpenFileDialog for Web
VMI - 22 Jun 2006 8:32 PM - 2 messages
Is it possible to add an OpenFileDialog control for the Web? I'm really looking for something where the user can choose the directory in their local machine. My first thought was to use the OpenFileDialog for this. I have VS.Net 2003 v1.1. ...
Score (More info) EnableVisualStyles breaks my program!
Michael A. Covington - 22 Jun 2006 8:24 PM - 4 messages
Further to previous post... I have a big, complex program which works fine as long as I don't call EnableVisualStyles. If I do this: Application.EnableVisualStyles(); Application.DoEvents(); Application.Run(new FormOpeningMenu()); then in one of my subordinate forms, which consits of buttons on other ...
Score Difficulty creating netmodule from .dll with csc
wheresjim - 22 Jun 2006 6:14 PM - 4 messages
I am trying this project out: [link] I am having difficulty building parts of it with Visual Studio .NET 2003 because of a post-build step that attempts to create a netmodule ...
Score serial port read - returns before finished?
Ole - 22 Jun 2006 4:56 PM - 4 messages
I got a problem with serial port read which I use like this: sp.Read (byteBuffer, 0, 100); but the problem is that it returns before it has read the 100 bytes - is there a way to set up the port in a syncronious state so that it wont return ...
Score Code Reuse
Bob Weiner - 22 Jun 2006 4:45 PM - 5 messages
Hi, I am an IT person who uses .Net to support our infrastructure.  Since I have been doing this for a while it would be a misnomer for classify myself as a newbie; perpetual amatuer seems more appropriate. Notwithstanding, I am tired of cutting and pasting code and moving classes ...
Score C#, Webforms, Javascript, and scraping
Essial - 22 Jun 2006 4:44 PM - 2 messages
I have written a fairly simple application in C# that loops through the forms, and all the children of all the forms, and have generated a tree view with all the properties. All this works good and well. But now I ...
Score How can I pass an XmlDocument as a value type?
William - 22 Jun 2006 4:37 PM - 5 messages
I would like to pass an XmlDocument to a method as a non-referenced object. Can this be done? ...
Score Memory increase over time
Benny - 22 Jun 2006 4:12 PM - 6 messages
I am having a memory problem with my application. Plain and simple all the program does is runs through a bunch of images and prints them to a PCL Printer. The first part of the application that I am noticing the ...
Score Unused exception variables causing warnings
aioe.cjb.net - 22 Jun 2006 3:32 PM - 7 messages
So, I was planning on ridding my VS2005 solution of all warnings, but the ones sounding "The variable 'ex' is declared but never used" in catch-blocks, are causing a headache. I have several cases of code like this: try ...
Score How to save html page using C#
fmakopo - 22 Jun 2006 3:29 PM - 3 messages
I am trying to save html page using C#  because i want to save the page on the server not on the client side. I can do that using Javascript the problem that i am having i want to ...
Score FileIOPermission question
schaf - 22 Jun 2006 3:28 PM - 7 messages
Hi NG ! I have the following piece of code below. the first try/catch part would return true although I do not have permission to access this computer. The second try/catch part would return false. Do I misunderstand the meaning of FileIOPermission ? ...
Score STDole image to bitmap
Craig - 22 Jun 2006 3:21 PM - 2 messages
I am using the msvidctl to capture display input on my pc from a tv card. I would like to press a button to capture an image, so use the "capture" method of the msvidctl object but am unable to assing this to a bitmap. I ...
Score Need som quick advice
encoad - 22 Jun 2006 3:10 PM - 7 messages
Hi everyone, I'm new to C# and I am building website which allows users to fill out various forms.  All is going well, however I'm having a bit of trouble with one particular issue. The main page enables users to enter information, and connect to other ...
Score Convert VB to C#, Operator "Or"
ano - 22 Jun 2006 2:31 PM - 6 messages
Hi, I have converted this VB code to C# but I got this error: "Operator '||' cannot be applied to operands of type 'int' and 'short'" Is VB allow to use Operator "Or" with 'int'? If yes, how to do this in c#? ...
Score Does 2.0 still require ODP.NET to connect to Oracle?
D. Patrick - 22 Jun 2006 2:21 PM - 8 messages
I need to connect to an Oracle database.   I've never done it before.   I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work.  I tried that quickly, but ...
Score Response.Redirect
Dave - 22 Jun 2006 2:20 PM - 5 messages
Is there a way to do a Response.Redirect and do a popup on the redirect? ...
Score ListView Header Color
Adrian - 22 Jun 2006 1:59 PM - 5 messages
Is there a simple way to give the column headers of a list view a fore color? Thanks, Adrian. ...
Score Textbox resize problem
ramhog - 22 Jun 2006 1:57 PM - 2 messages
Hello all, I am trying to resize a textbox to exactly fit the contents.  The method I am using gets it close but it is just a little bit too small. Could someone tell me where I am going wrong here please? ...
Score Application templates.
UJ - 22 Jun 2006 1:50 PM - 3 messages
A friend of mine is trying to create a Windows Service in VS 2K5 and he doesn't have the windows service under the choices. Yet I do. He has had VS for a long time. I installed it this week. We both have Pro. ...
Score usable of typeof
laurent.sass - 22 Jun 2006 1:23 PM - 10 messages
Hello, I have made this code in a class     private static Type[] Etats = new Type[]         {             typeof(Transition1),             typeof(Transition2), ...
Score Program problem, seems simple...
Scooby - 22 Jun 2006 1:17 PM - 11 messages
Okay, I'm a noob at C# and microsoft's IDE, but have a fairly long history of programming (with, cough, Delphi).  I'm writing a mobile app in C# with Visual Studio 2005.  I think there must be something fundamental that I'm ...
Score multiple elements conditional on if
gordon - 22 Jun 2006 1:10 PM - 2 messages
Hi I am trying to set some elements to values depending on the selection in a test box.  The first possible value that can be selected should set fmttest1= "", fmttest2=" to " and fmttest3="".  The second value that can be ...
Score XML Serialization of a list of objects
Rob Banfield - 22 Jun 2006 1:07 PM - 3 messages
Hi all, I'm building an app which allows a user to create an ordered list containing sometimes many thousands of objects, each of which he chooses from a set of objects pre-defined within the app. The user can save his list, and internally the program will serialize ...
Score HttpRequest (well known by now..) error
objectref - 22 Jun 2006 12:20 PM - 5 messages
Hi, does anybody have found a working solution for this HttpRequest error : "ServerProtocolViolation/The server committed a protocol violation. Section=ResponseStatusLine" i tried the solution regarding the app.config file, by puting there the following <?xml version="1.0" encoding="utf-8" ?> ...
Score Very peculiar problem with GetHostByAddress on W98
Dave - 22 Jun 2006 10:37 AM - 3 messages
I don't suppose anyone will be able to help with this, it's most odd. I use IPHostEntry hostInfo = GetHostByAddress(ipAddress) to resolve an IP address to a name (in this case it is actually the local computer, if that's relevant). The call is made on several occasions as the ...
Score <Ping> Nicholas Paldino <Ping>
ChrisM - 22 Jun 2006 10:04 AM - 5 messages
Hello Nicolas, Wrt the problem I posted yesterday about my textbox causing the Button_Click event to fire. You said you'd only believe it if you saw it, and asked for sample code Just to let you know, if you're still interested, that I've posted an ...
Score Difference between try{}catch{} and try{}catch(Exception e){} ?
Mr Flibble - 22 Jun 2006 9:18 AM - 8 messages
Are try { //something } catch { // } And try { //something } catch (Exception e) { // } The same ?  The first one will catch all exceptions and the second will catch all exceptions of type Exception which since it's the base type of all Exceptions will catch everything. ...
Score how to limit textbox to text only
Avi G - 22 Jun 2006 9:18 AM - 7 messages
Hi, what is the code to limit a textbox that will accept only text and not number private void button1_Click(object sender, EventArgs e)         {             if (textBox1.Text = "numbers") ...
Score Connection Pooling and Preparing Commands
Joanna Carter [TeamB] - 22 Jun 2006 9:14 AM - 9 messages
Hi Folks I am just trying to get my head around whether I can use a single SQLConnection for the life of the application or whether I should create it only when needed. I want to create cached SQLCommand objects that are then prepared to reduce ...
Score Convert FieldInfo to Dictionary<string, string>
Wilson - 22 Jun 2006 9:11 AM - 8 messages
Hi, How do get the Dictioanry object from FiedlInfo ? my code :    fieldInfo = this.GetType().GetField("dictioanry1"); ??Dictionary<string, string> dicTemp1 = (Dictionary<string, string>)fieldInfo; Thanks Wilson ...
Score Class/Form scope question
Kim - 22 Jun 2006 8:58 AM - 6 messages
Like [link] and [link] am I trying to access something in a form in one class from another ...
Score Class instantiation from Type
tommasop - 22 Jun 2006 7:58 AM - 3 messages
I'm developing a custom server control that should take a datasource and its Type and from its Type instantiate internal objects to display data. MyServerComponent mySrv = new MyServerComponent(); mySrv.DataSource = My.NewsManager.GetObjects(); mySrv.ObjectType = typeof(News); Internally I would like to be able to do something like this: ...
Score WinProc and Messages
Lav - 22 Jun 2006 6:42 AM - 5 messages
Hi, I want my Win form to listen to keystroke even when it is minimized. I think it can be done overriding the WinProc method. But I didn't get any useful articles on how to go about it. Can someone tell what would be the best way to do it ? ...
Score Countries ...
Jacek Jurkowski - 22 Jun 2006 6:22 AM - 2 messages
Does anybody knows the location of Countries list ready to paste to an application Combo Box items... ? ...
Score Is there a C# code repository?
planetthoughtful - 22 Jun 2006 4:46 AM - 3 messages
Hi All, Just curious to know if there's a c# code repository similar to Perl's CPAN or PHP's PEAR etc? In particular, I'm looking for community developed solutions to common web development steps. Much warmth, planetthoughtful ...
Score Strange behavior using TextWriter in release version
D - 22 Jun 2006 4:23 AM - 12 messages
I have a winforms app that I'm reading some records from a datareader and writing them out to a file like so SqlDataReader dataReader = sqlCommand.ExecuteReader(); TextWriter textWriter = new StreamWriter(strFileName); while(drReader.Read()) {     strRecord = ////// strRecord building stuff here ...
Score Embed Open File Dialog
Andrew - 22 Jun 2006 3:29 AM - 2 messages
I would like to embed an OpenFileDialog right into my Windows Form. Is this possible? Regards, Andrew ...
Score Listing of classes (similar to Java API)
TomC - 22 Jun 2006 3:25 AM - 5 messages
Coming from Java, I am looking for something similar to the online Java API pages.  I did a search and found a thread from 2003 that listed the following link to an MSDN page. [link] ...
Score How do I wait until all threads have completed
Thirsty Traveler - 22 Jun 2006 3:22 AM - 17 messages
I would like to create a test harness that simulates multiple concurrent users executing an individual thread. I would like this to be determined at runtime when the user specifies the number of desired threads. When this is kicked off, I would like to wait in the primary thread until all worker ...
Score Platform For The.Net
SemSem - 22 Jun 2006 3:07 AM - 6 messages
The .NET framework or platform or visual studio.net  must be run on an operating system and alot tell me its must be run on microsoft win OS is that right? and if one who is can program with c# can't use them if he using a a ...
Score initialize an ADO object from an array of string
lluum - 22 Jun 2006 12:48 AM - 3 messages
Hello All, I have a newbie question on ADO.  I understand that I can initialize ADO objects from the results of a query to a database, or from a csv file.  I have an array of strings.  How can I pump the array of string ...
Score Data from one stream to another
7elephants - 21 Jun 2006 11:06 PM - 3 messages
I have the following piece of code to take data from one stream and put it into another... Int32 bufferSize = 100; Int32.TryParse(ConfigurationManager.AppSettings["bufferLimit"].ToString(), out bufferSize); byte[] buffer = new byte[bufferSize]; //make sure stream is at the beginning ...
Score DataView IndexOf
randy1200 - 21 Jun 2006 10:09 PM - 2 messages
I have a CustomerTable which is a DataTable. I have a PersonalDataView which is a DataView. The code below returns the row index of the table beautifully. Any pointers on how to get the row index of the DataView? Thanks, ...
Score Why is DataTable.Clear() so slow?
Brett Romero - 21 Jun 2006 7:36 PM - 5 messages
I fill a DataTable with search results, which take a very long time if I first clear it.  The values come from an object and I map them into the corresponding table columns.  I may have 65000 results.  I iterate ...
Score Problem with EventHandlers
matt.grande - 21 Jun 2006 7:24 PM - 4 messages
Please, I REALLY need help with this one.  I've been banging my head about it for three days now. Here's the situation. I have a form that runs some queries and functions and such.  When all ...
Score Looking for a C# VS 2005 Documentation/Help tool
antoan - 21 Jun 2006 7:22 PM - 7 messages
I have tried NDoc 1.3.1 - dues not support .net 2.0 assemblies (have also tried the hack involving a config file using the <supportedruntime version="v2.0.50727"> to no avail - crashes) as well as a beta NDoc 2005 ...
Score Webbrowser control (AxWebBrowser) keeps disappearing....
UJ - 21 Jun 2006 7:12 PM - 3 messages
I have a C# win program with a couple of browser objects on the page. Every once in a while when I go in to edit it, the browser objects disappear from the page and I have to put them back. This last time, the objects where ...
Score Serialization Stuff...
Obinna - 21 Jun 2006 7:07 PM - 3 messages
Well I wrote this code that saved a Serialized ArrayList to disk in VB.NET and tried to read it in with another one in C#. Got some funny exception about my Assembly (can't rember exactly), what's with the ...
Score Aero graphics card?
David Veeneman - 21 Jun 2006 6:38 PM - 3 messages
Not exactly a C# question, but one that C# experts can answer-- sorry if I'm off topic. We're going to upgrade a development machine to Vista when it comes out, and I'm getting ready to install Beta 2 on an idle machine with an AGP slot. The ...
Score Thread Collections
Steve Foster - 21 Jun 2006 6:36 PM - 4 messages
I may be missing something simple, but I cannot find any way to get a collection of managed threads in a process. What am I missing? Steve (P.S. When I say managed, I mean System.Threading.Thread, not System.Diagnostics.ProcessThread). ...
Score nullable types got me down
Steve - 21 Jun 2006 6:28 PM - 3 messages
I'm in the very early stages of evaluating an OR Mapper library called EntitySpaces ([link]) and it's really cool, but they use nullable types which are new to me and it's making my life very hard. ...
Next »