Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Installation of .NET 2.0 dotnetfx.exe ( VC# Express)
Ian Semmel - 3 Jun 2006 9:43 PM - 3 messages
OK, VC# Express does not have the project deployment option. So, if I want to distribute my app, I included dotnetfx.exe. I tried to execute this using a program butr this didn't work so I just tried executing dotnetfx. ...
Score How to get the width of VSCrollBar for RichTextBox ?
Polaris - 3 Jun 2006 9:05 PM - 2 messages
Hi: I'm using a RichTextBox with C#. Just wondering how to get the width of the Vertical Scroll Bar? Thanks Polaris ...
Score Business Object Advice, Nested Classes
miked - 3 Jun 2006 3:41 PM - 3 messages
I am architecting in a read only class for use in mapping data to a business object.  The object makes strong use of nested classes and their ability to access protected fields.  The downside is when a nested class inherits from ...
Score ASP.NET + Dyinamic JavaScript
DG - 3 Jun 2006 10:25 AM - 3 messages
I need to include JavaScript in ASP.Net page which is generated depending on some parameters. (javascript for preloading images) How do i include generated JavaScript in my Asp.Net page? Tahnx ...
Score How to capture sounds into a wave file with C#
David - 3 Jun 2006 10:09 AM - 3 messages
Hi, i'm David. How can i to capture sounds from microphone into a wave file with C#? I have tried with DirectSound but I have of the problems. Is there an alternative? Thanks. ...
Score open 8bit jpeg Dicom image
Neeraj - 3 Jun 2006 9:45 AM - 2 messages
Hi guys, I am currently working on Dicom image of format jpeg. I am searching about that on net but not getting much more. If any body knows C# source code which open at least on type of jpeg Dicom image.plz guide ...
Score FormView Insert
Howard - 3 Jun 2006 9:40 AM - 2 messages
I use FormView and ObjectDataSource to take user inputs in adduser.aspx page i have <asp:ObjectDataSource ID="ds1" runat="server" TypeName="datapage" InsertMethod="addstudent"> and in my app_code foler i have a method that looks like public static void addstudent(...) ...
Score Flash and C# interaction
vivek - 3 Jun 2006 9:28 AM - 5 messages
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact with database etc. If flash and C# interaction is possbile then, what are the prons and ...
Score StreamWriter and export to excel
Serkan - 3 Jun 2006 9:12 AM - 3 messages
Hi guys i tried this example at [link] but i add these statements below HttpResponse response = HttpContext.Current.Response; response.ContentType = "application/vnd.ms-excel"; response.AddHeader("Content-Disposition", "attachment;filename=\"" + fileName + "\""); //filenam koddan geliyor ...
Score Any one know what these panels are called & where I can some documentation to implement them
Ivan Sammut - 3 Jun 2006 6:16 AM - 3 messages
10x Ivan ...
Score reboot machine
Avi G - 3 Jun 2006 6:14 AM - 9 messages
Hi, what is the quick code in C# for reboot local machine? Thanks. ...
Score UPDATE statement changes data for all the records in the DB
Antonio - 3 Jun 2006 5:37 AM - 3 messages
Can someone tell me why the following procedure updates ALL the records in the database with the field being updated for one record? private void updateRow(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)         { ...
Score Problem Using IRR function in C#
Muhammad Qasim Choudry via DotNetMonster.com - 3 Jun 2006 4:34 AM - 2 messages
I want to Use IRR Function in C#.Net but cant find it but when i open Vb.Net projetc under Microsoft.VisualBasic.Financial module i can find that function but i want to use it in in C# for that it tried ...
Score Thread.Abort() method for Smart Device Application
muzilli@sercomtel.com.br - 3 Jun 2006 2:28 AM - 3 messages
Hi, I'm developing an application for Smart Device Application and I'm creating Threads. In determinated time the thread must be stoped. I was searching for the help about the Threads and I saw that the Abort() method can do this, but in my case for Smart Device ...
Score C# - Detect Mouse Click Outside Form
akowald - 3 Jun 2006 1:25 AM - 4 messages
There's another topic like this but the code posted is in VB.NET. Well I need some help detecting mouse clicks outside the form. An event handler would be great but I can work with anything. Thanks in advance, ...
Score SendMessage WM_COPYDATA
Sean - 3 Jun 2006 12:10 AM - 5 messages
I am trying to send a WM_COPYDATA message to another application in C#, ..NET 2.0. The other application receives the message, but only seems to see the first character of the string, does anybody have any ideas? I have copied the code below. ...
Score static vars declared with class instantiation
John A Grandy - 2 Jun 2006 10:48 PM - 11 messages
Say I have Class1 which contains static Class2 var1 = new Class2(); Is Class2 constructor code only executed if var1 is referenced in the code-execution path ? Or is Class2 constructor code executed on load of any class that references Class1 ? ...
Score Partial class grouping
Brian Richards - 2 Jun 2006 9:15 PM - 4 messages
Is there a way to get Studio to group your partial class files in the Solution tree the way it automatically does with forms? (C#) Thanks Brian ...
Score InvalidCastException in DataRow
Jay Balapa - 2 Jun 2006 9:15 PM - 4 messages
Hello, This is a compactframework windows app. Iam trying read from a DataRow. myTextBox.Text=myDataRow("MyColumn") If there is a value for the myDataRow("MyColumn") then the statement executes. But if the column is empty I get invalidCastException, When ...
Score OO Design Debate
Nate - 2 Jun 2006 9:11 PM - 35 messages
Scenario: In a commerce application, there is a Product class.  Along with the Product class there is a form (the text that goes in the labels of the input controls) for inputting and updating existing instances of existing Product ...
Score Self documenting regions - would be nice...
Spleenwort - 2 Jun 2006 8:34 PM - 9 messages
With regard to XML comments in c#. I think that #regions should be self-documenting relative to XML comments or that a <region> tag should be defined and auto-inserted when you type #region (blah, blah). Anyone have any suggestions for having regions  and their comments show ...
Score 2 assemblies
dankohn - 2 Jun 2006 8:15 PM - 3 messages
Hi there I noticed that VS builds 2 dll files (Win Control Library), one under the bin and the other under the obj directory, Anyone knows the reason ? What is the difference ? TIA ...
Score Updating DataSet
dauphian@gmail.com - 2 Jun 2006 7:52 PM - 5 messages
Greetings, I have a dataSet where I return an ID, I now need to associate that ID with the description, which is in another database.  I think I am on the right track, but am not sure:         DataSet myData = new DataSet(); ...
Score Sockets - C#
sri_san - 2 Jun 2006 7:48 PM - 3 messages
Hello group,                 I amlooking into a connection oriented socket which can connect to a port on a remote machine and wait(on the same connection) ...
Score winform synchronization 'onPaint', 'onKeyUp', and 'lock'
fei.liu@gmail.com - 2 Jun 2006 7:18 PM - 6 messages
Hello, in the application I am developing, I am having trouble to synchronize event triggered actions using 'lock(ob){...};' technique. Here is a outline of my code: class C{   int x = 0;   public void incre(){ if(x < 20) x++; } ...
Score Dynamic Instantiation
Fariba - 2 Jun 2006 6:51 PM - 7 messages
Sorry if this sounds like a newbie question. I have two classes in my app, A & B. each class has a public method called "EchoTime()". In my UI ,user chooses wether to call EchoTime() from A or B and then I have to dynamically instantiate the appropriate class and call tis ...
Score Child list exception
dave - 2 Jun 2006 5:51 PM - 2 messages
Hello: I'm trying to connect "DataGridView" to  ".MDB" file from the code: string connectionString =   "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\\file.MDB"; OleDbConnection connection = new OleDbConnection(connectionString); connection.Open(); DataGridView1.DataSource = connection.DataSource; DataGridView1.DataMember = "tblTime; ...
Score WebClient and Cookies
Mike Markiewicz - 2 Jun 2006 5:41 PM - 2 messages
I would like to use WebClient on a page that requires a login before it can be viewed.  I want to be able to log in with IE and run my application from there. Is there a way, using System.Net.WebClient or something else, to make my web ...
Score Large floating point numbers
Pete Davis - 2 Jun 2006 5:28 PM - 3 messages
I'm interested in writing some chem/biochem related tools for myself, but it appears the Decimal format isn't going to quite cut it for some of the numbers I'm going to be working with. It's max of ~10^28 is a bit shy of the ...
Score about overlloading
Tony Johansson - 2 Jun 2006 5:28 PM - 3 messages
Hello! I'm reading a book and it say that I might get compile error if I overload these two myMethods below. I have testet but I don't get any compile error and the application work as expected in run time. ...
Score Importing a file into SQL Server Express using C# Express
John - 2 Jun 2006 5:24 PM - 3 messages
I have a data file with proprietary database formatting from an old DOS programme and want to extract data from it and import it into SQL Server Express using C# Express. I've managed to work out how the data is stored in the file by using a hex editor, but don't know how to add it to an SQL ...
Score Form resource files
Dave Brown - 2 Jun 2006 5:08 PM - 3 messages
Hi there, Given an arbitrary ".resx" file (not ."resources"), does anybody know how I can identify that this file actually contains a Windows form (in code). Once identified, I then want to collect information about the form and all its ...
Score Reflection
Paul - 2 Jun 2006 4:48 PM - 3 messages
I would like to be able to walk an object and set any properties in the object at runtime.  By 'any' I mean any regardless of their type. I've gotten reflection working and I can get simple string or numeric ...
Score Type Casting
pitdog - 2 Jun 2006 4:23 PM - 2 messages
This may not be the group to post this in. However I will try... I am interested in how the .NET runtime actually handles casting. For instance... This will work if you assume ChildProduct is a derived class of BaseProduct. ...
Score "Operation Must Use An Updatable Query"?
cyber0ne - 2 Jun 2006 3:53 PM - 11 messages
I'm having a bit of trouble adding records to a local .DB file (using a Paradox connection string).  I checked the file permissions, and for testing purposes set Everyone to Full access.  But it seems that I can ...
Score Click Once
CR - 2 Jun 2006 3:34 PM - 3 messages
I am working on the deployment portion of my first click once app. It was created using VS 2003, with an installer, but has been upgraded to VS 2005, and I would like to use click once. I tested the click once functionality ...
Score Check if process has started
Corbett - 2 Jun 2006 3:33 PM - 3 messages
How can I query a new process to determine if it has started yet?  For example: using System.Diagnostics; Process cmd = new Process(); cmd.StartInfo = new ProcessStartInfo(); .. .. .. if (!cmd.HasStarted) Response.Write("The process hasn't started yet"); else Response.Write ("The process is running"); ...
Score Debugging across applications
Andrew Ducker - 2 Jun 2006 2:28 PM - 4 messages
I have an application that has to take numerous different command line options.  I wrote an app launcher to call into it (by creating a process, setting the filename/arguments and then starting it). However, while my debugging goes into the app launcher, it doesn't ...
Score string.Format() help
tolisss - 2 Jun 2006 2:27 PM - 8 messages
Hi i have a string like "22/5/2006 12:00:00 pµ" and i want to create a string like "05/22/06" could someone please ...
Score 2.0 and namespacing, what are you doing?
sloan - 2 Jun 2006 2:20 PM - 3 messages
This is just a in-general question. As 2.0 has launched, and you guys are developing apps in 2.0  .. What are you doing about your namespace'ing ? Before 2.0 , my namespaces went something like this GranadaCoder.* ...
Score Calling Delphi code from C#
jewalsh2k - 2 Jun 2006 12:07 PM - 3 messages
Hi, I have a delphi dll which I am trying to call from C# but something isn't working, I get an SEHException thrown by the dll but I don't get enough info to debug it. I can't change the dll either. ...
Score Plugins in C#
Mike D Sutton - 2 Jun 2006 12:01 PM - 6 messages
Hi,     I'm porting an old project over to C# which makes heavy use of plugins, however I'm not sure the way I've approached it is the best technique. In the old project, I had a TypeLib with the global interfaces each plugin needed to expose defined with it, then ...
Score ListView in VirtualMode and setting the SelectedIndex?
Martin Carpella - 2 Jun 2006 11:52 AM - 2 messages
Hi everyone, sorry, I might be missing the wood for the trees, but I'm unable to find a way to set the selected index in my ListView which is in VirtualMode. I'm quite sure that it'll be a "yes, obviously"-answer ;) ...
Score Classes derived from ServicedComponent do not support constructors with arguments?
zlf - 2 Jun 2006 11:35 AM - 4 messages
I am asked to complete a COM+ component, there is a class A derived from ServicedComponent. However, when executing [new A("TEST");], exception is thrown. Messaged:     Unhandled Exception: System.EnterpriseServices.ServicedComponentException:         Classes derived from ServicedComponent do not support constructors ...
Score Timeout expire in windows service.
archana - 2 Jun 2006 11:31 AM - 7 messages
Hi all, I am executing one stored procedure in windows service. I set sqlcommad's CommandTimeout to 432000 which means 5 days timeout. Still after 11th hour i am getting timeout. I am not getting if i set timeout as 5 days why i am getting timeout before that. ...
Score Is there a Forms collection?
Water Cooler v2 - 2 Jun 2006 11:15 AM - 7 messages
Is there a Forms collection in the .NET framework that contains the instances of the currently loaded (in memory, whether hidden or visible) forms in the current project? I am looking for something similar to the Forms collection that VB6 had. ...
Score Free Chatring Tool / Component in VB/C#.NET
vighnesh - 2 Jun 2006 11:07 AM - 4 messages
Hi All Is there any Free Charting Tool / Component for generating 2D/3D Pie /Bar/ Line Charts in VB.NET or C#.NET, Please let me know.. Thanks in Advance. Regards Vighneswar ...
Score Annoying flickering problem
Maya - 2 Jun 2006 11:07 AM - 4 messages
Hi all, We have a windows forms application with different controls used inside, each control has several input items such as textboxes and some treeviews.. etc. We have been trying to eliminate flickering issues when loading different controls or switching to different views with no luck, and ...
Score Sinks and SinkProviders ????
RobofNZ - 2 Jun 2006 10:56 AM - 4 messages
Hi Guy's, I'm a little new to the .NET enviroment but need to put together a custom sink chain for a mini project I've got.... The problem that I'm having is that the system needs to be more tamper ...
Score Char value from Keys class
Mihaly - 2 Jun 2006 9:24 AM - 4 messages
I have the e.KeyCode value from KeyEventArgs in KeyDown event handler and I want to convert this in char value. It is posible? How? The other case: If I have the Message class, I can convert the character value to char? ...
Score C#-JAVA Compatibility problem of Date type
LandWolf - 2 Jun 2006 9:23 AM - 3 messages
Hi, I have a Web services write in Java and I want to write a client in C#. My web services work with Weather prevision. Hence, I set a date and my web services return the prevision for that date. When the web service ...
Score user rights managemnt
Pohihihi - 2 Jun 2006 8:34 AM - 2 messages
Hello NG, I guess this problem is more towards design than toward C# language so if you think that is the case then please kindly point me to the right NG or articals. Problem is, in my application, I need a have users go through the rights check before performing any function. Now I can't hardcode every function that is available in the application. I was wondering if there is a better design to perform that. For example, like in MS Windows, if users do not have rights to access a folder (local or network) they are prompted and all this can be setup by new kind of groups or rules. Now to follow same thing but in smaller level, if user wants to print a document, my application should check if user has rights or not. Better design will be if all functions are not hardcoded in the application rather some intelligent algorithm created some datastructure to handle that. ...
Score SplitContainer
Jazer - 2 Jun 2006 8:21 AM - 7 messages
Hi, Is it possible to ada windows forms to split container? Is there other types of containers that supports windows forms? Thank you, Jonas ...
Score web.config connection string db details from deployment of web project
geethan_s - 2 Jun 2006 7:04 AM - 2 messages
i have created a custom db installer to deploy my project db details where i assign the server name, dbname, user name, pwd all i set when deploy and my script also. its working fine. my concern is , this may be(server and database details) different when i install in different servers. in that situation, every time i need to modify manually my web.config file (connection string) based on the databse details. ...
Score Change Numeric keypad to mobile phone keypad
Melson - 2 Jun 2006 6:51 AM - 4 messages
Hi May I know is there a way to change the Numeric keypad into mobile phone keypad? Regards Melson ...
Score Adding reference of same assmebly with different version in one application.
archana - 2 Jun 2006 6:18 AM - 3 messages
Hi all, I want to add reference of two dlls which have two different version and two different  public key and i want to insert reference of both dll in my application. How could i do this. Please help me. ...
Score string / char[] question
Zach - 2 Jun 2006 4:59 AM - 4 messages
Hello, This might be a rather basic question, but I've tried a few things and I can't really find a solution as elegant as what I'd like for this problem.  The situation is this - I have a file that's written to disk ...
Score I'm a newbie...and stuck on System.NullReferenceException error - please help!
sans_spam@yahoo.com - 2 Jun 2006 3:52 AM - 4 messages
OK - I have a very simple 6 field form and I'm getting this error upon submission: System.NullReferenceException: Object reference not set to an instance of an object. at Intellect.Website.RequestInfoPage.cmdPost_Click(Object sender, EventArgs e) My Validation controls work great but as soon as I submit the form I ...
Score filling forms on the web?
navilon - 2 Jun 2006 1:48 AM - 3 messages
is it possible to fill out a form on a website using C#? for example, logging in to a website such as myspace. ...
Score problem in display on panel
lodhaakhil85 - 2 Jun 2006 12:33 AM - 3 messages
Hi, I am graphics object of the panel to draw Strings on the panel, but when I scroll down I cannot see the remaining strings and when I move up the scroll bar the orginial strings that were visible initially seem ...
Score Run command on remote system
Ambica Jain - 1 Jun 2006 11:27 PM - 3 messages
Hi, I want to run a command on remote system using C#. Is it possible to do that? Any pointers to it are appreciated. Thanks Ambica ...
Score how to silently install app & Frameworks 2.0
Steve Teeples - 1 Jun 2006 10:52 PM - 5 messages
I have created an application install project that conditionally installs ..NET Frameworks 2.0 if it doesn't already exist on the target system before the app is installed. What I want to do is silently install both my application and Frameworks ...
Score ASP.NET: Getting value back from web user control?
planetthoughtful - 1 Jun 2006 10:46 PM - 5 messages
Hi All, I have a relatively simple web user control I've included in a page that simply presents 3 drop down lists and a submit button, that I use as a date picker (ie one list for day, one for month, one for year). ...
Score Panel Problem
lodhaakhil85 - 1 Jun 2006 9:45 PM - 2 messages
Hi I'm a newbie to C# and GDI+.I am writing an application that will display some strings from a file on a panel. There are a few of problems I am facing : 1.How do make the panel re-adjust its size when maximizing the form ...
Score How to construct a Timer object in a class library
muzilli@sercomtel.com.br - 1 Jun 2006 9:32 PM - 6 messages
Howdy all, I would like to know how can I insert a Timer object in my class library? This timer object will start and stop in a determinated part or event of my program. I know how to do this in Delphi or using a RAD tool and insert the ...
Score Strange array (or lack of knowledge)
magne - 1 Jun 2006 9:27 PM - 2 messages
I do some COM coding using C# code (VS.net 2.0). after a call like this: object aStrangeArray = theComServer.GetObject(); I open a watch window on the aStrangeArray object, the watch window looks like (se attachement, please unzip) As you can see, the value is shown as {Dimensions:[1..15]}, and the actual ...
Score IDE's for 2.0 (of the open source variety)
sloan - 1 Jun 2006 8:48 PM - 5 messages
Are there any IDE's (open source) for DotNet 2.0 (c# specific). I have VS2005 on my home laptop (legally obtained), but my company has a strict policy about putting licensed software on work computers. But a open source IDE wouldn't pose that internal type problem. ...
Score i want to run my app in STA, not MTA
Tarren - 1 Jun 2006 7:44 PM - 3 messages
Hi: How would I go about making sure my C# 2.0 app runs under STA, not MTA?  Do I add something in the Main method? Thanks ...
Score Returning memory
victor - 1 Jun 2006 7:24 PM - 7 messages
Hi, I've the following question: in my app I used the following construct to acquire images: Image imgImage; Stream myStream=null; .... private void GetImageObject() { imgImage = new Bitmap(myStream); picboxImageHolder.Image=imgImage; .... } -------------- The GetImage method is being invoked every second thru a timer tick. ...
Score Hold Scroll Bar on the bottom
Kevin - 1 Jun 2006 6:58 PM - 3 messages
Hi! Im writing a simple chat, using ReachTextBox as chat viewer, but when the RTB begins to scroll, the scrollbar not scroll down. How can i do scroll down automatically? Thanks! ...
Score Size of Dictionary Object
shrishjain@gmail.com - 1 Jun 2006 6:58 PM - 4 messages
Hi All, I have to make multiple dictionary objects(Dictionary<string key, int value>) with same set of string keys, and that really eats up lot of space. I am trying to find a solution where I can save space-  In my ...
Score How to determine the instant name of a class?
Ole - 1 Jun 2006 6:47 PM - 9 messages
If  I define a class and create a instant of it like e.g.: UserClass instantName = new UserClass(); how do I then determine the defined name "instantName" in the UserClass e.g. in a method (or a property)  like this: ...
Score Data in a local file
David P. Donahue - 1 Jun 2006 6:17 PM - 9 messages
How would I have a SqlConnection object point to a local file as a database, for example a file named tables.db that's in the same folder as the program output directory? ...
Score A Strange c# - vb Difference
Tina - 1 Jun 2006 6:08 PM - 7 messages
This C# code produces a value of 0.0 in myAspectRatio.... int myWidth = 1200; int myHeight = 1600; double myAspectRatio = 0.0; myAspectRatio = myWidth / myHeight; This VB code produces a value of .75 (the correct answer) in myAspectRatio.. Dim myWidth As Integer = 1200 ...
Score cannot uninsatll IE
Sh - 1 Jun 2006 6:03 PM - 2 messages
I am having trouble uninstalling internet explorer in my Windows XP environment. I cannot see it in add/remove programs. How should I uninstall it. I need the latest version maybe 6.0 and above. Anyone please let me know any site where I can find any steps or anyone can ...
Score Using COM with C#
Patrick McGovern - 1 Jun 2006 5:51 PM - 2 messages
Hi. I'm new to COM programming and I'm looking for some references to using COM with C#. I've looked on the MSDN site but all of the references are for C++ and VB. Does anyone know of any good reference sites? ...
Score Is running a Control in a separate thread allowed?
RWF - 1 Jun 2006 5:31 PM - 6 messages
I have a form, and from the form when a user clicks a button, it instantiates control that will be doing a lot of logic.  I am trying to use System.Threading.ThreadPool.QueueUserWorkItem to spawn a background thread ...
Score How to access private field?
zlf - 1 Jun 2006 4:58 PM - 4 messages
Hi,     I am trying to access private field by code below. But it runs with error.     Please tell me what's the problem or any method that may allow me to access private field. Thank you ...
Score Regular expression groupings/collections
Michael Russell - 1 Jun 2006 4:40 PM - 3 messages
Hi, I'm having trouble retrieving matches from strings using regular expressions.  I'm parsing a string that's a date with either a 2 or 4 digit year (ex. "1/15/2005").  The RegExp object is created as such: ...
Score ending a thread
RobcPettit@yahoo.co.uk - 1 Jun 2006 4:08 PM - 9 messages
Hi, Im using    public void threadcontrol() {     Thread scan = new Thread (new ThreadStart(GethtmlStream));             scan.Start();             name = "Scanning"; ...
Score Windows Service "Start In" Folder
Brian - 1 Jun 2006 3:43 PM - 3 messages
Is there a way to set the "start in" folder for a windows service? I am running under the Local System account, and the start in folder seems to be "c:\windows\system32".  I use some relative filenames in my ...
Score Dynamic Forms -- OO Design dilemma
Nate - 1 Jun 2006 3:39 PM - 6 messages
Good Morning All, What we have is a dynamic business object that has varying numbers and types of properties.  What it models is a generic saleable product.  Not all products have the same properties.  For instance, if you were selling ...
Score Multiple Namespaces in Separate File
Jack Li - 1 Jun 2006 3:29 PM - 3 messages
Hi, If I declare multiple namspaces, each in a separate file, how do I specify their path with the "using" directives? Say I have 2 namespaces and 1 main function, all in separate files such as follows ===================================== File1.cs: namespace A ...
Score code need for extrating the data into an excel file
vijayan veeraragavan - 1 Jun 2006 3:25 PM - 3 messages
hai, i want to extract the data from the datagrid or custom table and copy as excel file. how to do this using DDE ( Dynamic Data Exchange) *** Sent via Developersdex [link] *** ...
Score Polymorphic property How?
Gerald - 1 Jun 2006 3:24 PM - 2 messages
Hi, suppose i have a simple class consist of two properties ValueType which is an enum consisting of (integer,boolean,string,datetime,color) And a property called Value which is of type object I want Visual studio 2005 to display a coloreditor for property Value ...
Score Drag and Drop
Nathan Laff - 1 Jun 2006 3:06 PM - 3 messages
I am dragging a link from Internet Explorer... I can get the URL fine, but i have seen some software that is able to get the alt text of links, i.e. the popup hint on an image link. How would I go about grabbing that as well? ...
Score Storing Hyperlinks
jez123456 - 1 Jun 2006 1:47 PM - 2 messages
Hi Experts I have a working c# application that users can store files (.doc, .xls, ..bmp, etc) as binary data into an Access database. I now need to extend this to also store hyperlinks. First of all I need some way of searching for the hyperlink. In Access there ...
Score Generic Collection Pattern
Brian Richards - 1 Jun 2006 1:15 PM - 6 messages
Without generics generally I'd dervie from CollectionBase to create typed collections. Generics mostly fill in this gap except that there are no virtual methods on List<T> so we can no longer notify other object when a ...
Score Can't convert string to double!
zelyal - 1 Jun 2006 12:54 PM - 11 messages
I got : An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll Additional information: Input string was not in a correct format. at execution of simple line: double v1 = Double.Parse ("7200.0"); What's wrong? ...
Score Strategic Functional Migration and Multiple Inheritance
Shawnk - 1 Jun 2006 12:39 PM - 61 messages
Some Sr.  colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the 'target' programming community herein) to get some community input and verify (or not) the ...
Score Unboxing to get Original Class
ahmadjufri - 1 Jun 2006 12:04 PM - 10 messages
Execuse me. I do boxing, for example Employee class, as object: public object ManipulateObject(object objInput) { ... Object obj; obj = objInput; ... //Manipulate obj here.. ... return obj; } Assume, then the client procedure/function exactly not know what the original class is and call this function by passing, may be Employee, Customer, or Supplier ...
Score Winsock in C#
Rain - 1 Jun 2006 11:56 AM - 7 messages
Does anybody know where i can get a winsock class for C#? badly needed. ANy help would be very much appreciated. Thank you so so much! -Stan ...
Score Struct verses class.
archana - 1 Jun 2006 11:55 AM - 8 messages
Hi all, Can someone tell me meaning of this stmt:- 'A structure must have at least one nonshared variable or event member; a class can be completely empty'. Because if i have code like                      class a ...
Score Cookie Expires In 2.0 Framework
Adam Bates - 1 Jun 2006 11:50 AM - 8 messages
Hello, I have a problem, I have been using Cookie Authentication on the 1.1 framework for around 3 months, when I moved the site internally within my hosting company from a server with 1.1 framework to a server with 2.0 ...
Score Debug - return value ; ?
Jarod - 1 Jun 2006 11:14 AM - 3 messages
Hey Let's say I have following code: return db.ExecuteDataSet(...); Works ok, but I want to see what's in the dataSet. Normally visualizer will do the job, but how to set up visiualizer on object created dynamically like ...
Score From where is the assembly name taken when you build a user control dll
tony - 1 Jun 2006 10:57 AM - 2 messages
Hello! I just want to find out how the system find the name to set on a assembly User control dll. I have done this. 1. Create a user control - Here the namespace was set by the system to WindowsControlLibrary2 ...
Score The operation has timed-out & Web Service
Dmitry Markin - 1 Jun 2006 10:56 AM - 3 messages
I've faced one cunning problem recently: I'm using IIS 6.0 as a web server, running on 1.1 framework. When i'm accessing my .net web service all goes fine, until I receive "The operation has timed-out." exeption after some time ...
Score How to manually generate a SQL statement (SQLCommand) containing binary data ?
TheSteph - 1 Jun 2006 10:41 AM - 6 messages
How can I manually generate a SQL statement (SQLCommand) containing binary data ? I'd like to write all the text of the SQL statement for that operation... Example : I Have Binary data (that represent an image) Byte[] TmpByte; TmpByte = ....BINARY DATA OF AN IMAGE.... ...
Score MAPI in .NET 2.0 without Outlook installed to work with Exchange 2003?
Tarren - 1 Jun 2006 10:28 AM - 5 messages
Hi, All: I am tasked with the following.  I need to write a service to monitor an Exchange mailbox and take action when an email is received, put it in a db, etc.  I do not need to send emails through MAPI, only monitor a folder in ...
Score PlaceHolder Disappears on Page PostBack
Vishal Gupta - 1 Jun 2006 10:24 AM - 3 messages
Hi all, I have a placeholder control on an ASPX page. I dynamically add a few button control and label control to the placeholder from code - all is well with the world. But on post back the control disappears from the placeholder. Am I missing ...
Next »