Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > december 2003 > threads for sunday december 14

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

loading assembly and createInstance
Posted by Daylor at 12/14/2003 11:47:03 PM
hi. im loading assembly from my computer and createInstance from it. till now it worked ok. now, im changing the path from : c:\myfolder\myassembly.dll to \\mycomputer\myfolder\myassemly.dll and i get the next exception when CreateInstance: ------------- A first chance excepti...more >>


data table problem again, haven't solved
Posted by pei_world at 12/14/2003 10:24:45 PM
I have the following codes. and two tables: "relation" and "nodes". I don't know why it always access to the "nodes" table. the problem is how can I access to my "relation" table //====================================================== foreach(DataTable s in rootDS.Tables) { Messa...more >>

Feature Request: Hiding a property/method in a subclass
Posted by Jeroen Smits at 12/14/2003 9:26:17 PM
To Microsoft or other people who are interested, I have a feature request: I would really like to have an option to 'hide' a property or method from an inherited class. For example when I create a subclass and supply a default value for a property. Currently I create a new property, using the n...more >>

Interprocess data exchange
Posted by Tamir Khason at 12/14/2003 9:09:05 PM
What is the preferred way to exchange data between processes? Example: I have 2 applications (C#) 1) WinForms (A) 2) Command Line (B) Both od them use DataLayer (class library) C A calls to run B (via exec) B loads data into C A reads data from C How to tell C to save data and serve bot...more >>

File execution from .NET
Posted by Tamir Khason at 12/14/2003 8:14:24 PM
Is it possible to run exe file by clicking on some button in winform? ...more >>

Windows cannot open this file: foo.BAR
Posted by woodBeeProgrammer at 12/14/2003 8:12:21 PM
CONTEXT ok, so if i register the file extension .bar Windows is happy and when a user double clicks myApp gets called. but if the user double clicks my data file BEFORE i get to register, the user gets: Windows cannot open this file: FOO.bar. To open this file, Windows needs to know wh...more >>

Custom public events problem
Posted by Tamir Khason at 12/14/2003 7:03:44 PM
I have a control with custom events, fired by events occured from inside the control. But I can not see those events in design time from Properties window. What's wrong??? Following the code: public class test: System.Windows.Forms.UserControl { public event TSClickEventHandler TSClick...more >>

TextBox Databinding and Triggered Event (Very Urgent!)
Posted by Ahmad A. Rahman at 12/14/2003 6:56:33 PM
Hi Wizards, I have a data set and I bound it to 2 combobox (say ComboBox1 and ComboBox2) using ComboBox1.DataSource = MyDataSet and it worked well. That also means that when I select an item from ComboBox1, then SelectedItem in ComboBox2 will also changed respectively, as well. However, the...more >>



supernewbie-- how to follow all replies to a given post?
Posted by newbie NO[at]SPAM spamex.com at 12/14/2003 6:19:41 PM
here's my supernewbie questions-- probably dont even belong in this forum, these are just about the MSDN Newsgroups UI (or is there another ui that i'm supposed to be using?) 1. most important: is it possible to "subscribe" to a single thread, that is to either receive notifications or...more >>

DataTable problem, help help
Posted by pei_world at 12/14/2003 5:12:58 PM
I have two database tables, "nodes" and "relation". nodes - nodeid, name.. relation - parentid, childid when I use the following codes, it give me error. //====================================== DataTable test = rootDS.Tables["relation"]; MessageBox.Show(test.Rows[0]["parentid"].ToString());...more >>

Setting the grid style with dataset created in xml designer
Posted by news.microsoft.com at 12/14/2003 5:06:03 PM
Hi, If I create a dataset and add its tables in the xml designer, how can I control the column styles? I would like the grid to use DataGridColumnStyle. Thanks, Ronen ...more >>

Bits Per Byte
Posted by creepiecrawlies NO[at]SPAM hotmail.com at 12/14/2003 4:50:44 PM
Is there any constant in the .NET API Framework indicating the # of bits per byte (or int, or anything else)? Kinda like std::numeric_limits for C#? I know they're all constant (unlike C/C++) I just have a built-in aversion to hardcoding 8 and 32 all over the place in my code. Thanks, -ken...more >>

Directory Picker ???
Posted by hyper_x_43 NO[at]SPAM yahoo.com at 12/14/2003 3:26:23 PM
Is there any way that I can use "OpenFileDialog" as "Directory Picker" rather than file picker or should I write my own damn code in .net??? HyperX....more >>

Collection wrapper
Posted by Frank Rizzo at 12/14/2003 12:43:10 PM
ArrayList suffers from the same effect as the vb6 collection object. Once you add an object to the collection, you lose the intellisense for that object. Has anyone seen any wrappers for the collection-like objects in .NET that preserve intellisense? Thanks...more >>

Forcing complete re-serialization
Posted by Ray Mitchell at 12/14/2003 9:55:07 AM
It is my understanding that as objects are serialized to an output stream the stream remembers which ones have been previously serialized and merely writes a reference to them rather than reserializing them. How do I cause previous objects to be fully reserialized? Thanks, Ray Mitchell ...more >>

Is Visual .Net worth it?
Posted by sales NO[at]SPAM logicians.com at 12/14/2003 9:54:58 AM
I am just learning c# and I have a book entitled "Programming c#" O'Reilly. It strongly recommends Visual .Net. Can anyone enlighten me on their experiences of SDK versus Visual ..Net?...more >>

WebControls.Location property?
Posted by Jax at 12/14/2003 8:22:08 AM
Can i change the location of a control in ASP.NET? I'd like to have the ability to change an images' location on the pressing of little arrows on the same page to resize and move the image around. Usually on an application level I would use the location property but I can't seem to find this...more >>

Parsing non-decimal strings as numbers
Posted by Andrew Lighten at 12/14/2003 8:11:57 AM
Hi all; I'm really struggling to get C# to do the right thing when parsing non-decimal strings as numbers. What I really want to be able to do is take a string containing an integer in any valid format (decimal, octal with leading zero, hex with leading "0x") and have C# get the conversion ...more >>

Search in a file
Posted by Chris R. at 12/14/2003 7:29:56 AM
I'm trying to do something relatively simple - find the offset of the first - or next - occurance of a string in a file, ideally in a case- insensitive way. I've seen a few solutions that seemed to involve loading the whole file as a string, but that seems to be limiting the size of the file...more >>

rtf to plain text
Posted by Tam Inglis at 12/14/2003 6:56:39 AM
I can find plenty of examples on how to encode and otherwise create rtf from plain text. Need to take rtf string and convert to its plain string equivalent. Been looking around for a few hours now and i cant imagine its hard, im just missing it. thanks in advance Tam ...more >>

Forms problem
Posted by Rakesh at 12/14/2003 6:41:46 AM
Hi, I have a winform in a project. I copy this form to another project (by using Add->Existing Item...). But when I invoke the form in the new project, I get an error stating an error with resources-neutral assembly. I have modified all the namespaces and all that is ok...what could be...more >>

Scrolling ListBox contents?
Posted by Ray Mitchell at 12/14/2003 4:23:27 AM
Hello, I have a simple application in which I am using a ListBox to display text strings for logging purposes. When the text area becomes full the new lines are added to the end and the vertical scroll bar becomes visible, however, it does not automatically scroll up to show the most recent l...more >>

Toolbar Button Problem
Posted by Abhi at 12/14/2003 2:31:31 AM
I am working with Toolbar. my problem is that when i make toolBarButton1.Enabled = false. The image on toolbar disappears. How can have the image visible or assign some other image to the toolbar button when it is in the Enabled= false state. ...more >>

C# API for networking.
Posted by ramkrishnakulkarni NO[at]SPAM yahoo.com at 12/14/2003 1:45:25 AM
Hi, I am writing a multithreaded application. Each thread creates an object of WebClient class of C# to open a new connection to the server everytime. However, the API seems to be optimizing this and hence it is opening only two TCP connections to the server for the complete set of threads. To...more >>

mshtml - access denied for Writeln()
Posted by sam at 12/14/2003 1:40:11 AM
Hi Just encountered a strange problem and wonder if it is a bug ? I have the following piece of code.... try { IHTMLDocument2 MyDoc = (IHTMLDocument2 MyWebBrowser.Document; IHTMLWindow2 MyWin = (IHTMLWindow2 ) MyDoc.open ("","_TEST_","",""); MyWin.do...more >>


DevelopmentNow Blog