473,544 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
9,717
thread by: Rajesh Abraham | last post Nov 13 '05 by: Miha Markic
I am trying to understand the difference between Class & Component Class. What are the advantages of using one over the other? When should I prefer to use one over the other? Any good documentation on this subject. Also any sample projects showing the same functionality implimented using both the methods so as to make the difference...
1
1,746
thread by: John | last post Nov 13 '05 by: Michael R
Has anybody tried this code (http://support.microsoft.com/default.aspx?kbid=302817)?. When I run the programme it freezes when it reaches the event handler... //============ Set up the event handlers =============== oWord.DocumentBeforeClose += ..... Any Idea what's wrong? (My programme is trying to access the directory of the
1
4,542
thread by: Scott Numbers | last post Nov 13 '05 by: Scott Numbers
Fellow C-Sharp developers, I have an application that must be able to display a message on a desktop even if the screen saver has locked the computer. If you pass "ServiceNotification" as a MessageBoxOption on the MessageBox.Show method, the MessageBox will display even if there is not a user logged in. Unfortunately, my users want to...
1
1,090
thread by: Suhail Salman | last post Nov 13 '05 by: guy
Hi, did any one tried C# under VS .NET 2003, if yes what do you think, does it worth to upgrade, and what about my old .NET apps are they compatible? thanks
4
14,795
thread by: frank | last post Nov 13 '05 by: Ignacio Machin
How do I remove the furthest right (last) character in a string in C#?
2
20,183
thread by: Frank Rizzo | last post Nov 13 '05 by: Scott
Does c# support optional parameters in function declarations? Does it support assignment of default values to arguments, in particular optional parameters? If so, can someone point me to or provide an example. For instance in vb6, you could do the following: function DoStuff(optional ID as integer = 10, optional Name as string = "test")...
0
1,144
thread by: Stephan Steiner | last post Nov 13 '05 by: Stephan Steiner
Hi I'm not sure where to post this, so since I came to it when searching the ..net API documentation in c# mode I'll post it here. Have a look at the 4 items below. It appears to me that two descriptions have been interchanged: ReceiveBuffer Send low water mark. ReceiveLowWater Receive low water mark.
3
6,641
thread by: Erald Kulk | last post Nov 13 '05 by: Erald Kulk
L.S. in a datagrid I would like the forecolor of a single cell. Because it is a negative number. This cannot be done by changing the NumberFormat property. So how can I do this?? Erald
2
4,940
thread by: Dane | last post Nov 13 '05 by: Ron Allen
I am having a problem printing in C#. I am using DrawString() with the RectagleF class to determine the location to print. I am doing it this way so that I can get the text to auto wrap. The problem I am having is this: Is there any way to make the rectangle grow based on the contents or a way to determine exactly what the height should...
0
1,249
thread by: DaleMan | last post Nov 13 '05 by: DaleMan
I'm interested in building a simple screensaver that shows different images and moves from one image to another in different fancy ways (blurring, fading, etc...) Are there any links out there that show how to develop a screensaver? Thanks.
2
8,223
thread by: 30906024 | last post Nov 13 '05 by: Chris Hornberger
I intalled an assembly into GAC by gacutil.exe. But when i delete it from GAC by gacutil.exe, i got an error message such as follow: Assembly: Client.Common, Version=1.0.1.0, Culture=neutral, PublicKeyToken=01aef4fcc8ad7772, Custom=null Unable to uninstall: assembly is required by one or more applications Pending references: SCHEME:...
0
933
thread by: Manpreet | last post Nov 13 '05 by: Manpreet
plz can someone check the post i posted..cz i need a reply soon..thanx a ton..
0
2,030
thread by: br | last post Nov 13 '05 by: br
The following is the part of the code I have written.. XPathNavigator oNav = oDoc.CreateNavigator(); XPathNodeIterator oIterator = oNav.Select ("//countries/country"); while (oIterator.MoveNext()) { XPathNavigator oInnerNav = oIterator.Current; string sCountry = string.Empty; string sCapital = string.Empty;
1
6,532
thread by: D Ratcliffe | last post Nov 13 '05 by: Frans Bouma
Hello In a nutshell, I am looping through an XML document in a for loop, and I want to insert a given value as an element to each tag as I go along. i.e.: for (int i=0; i < (rtnX.GetElementsByTagName("list").Count); i++) { // I want here to add the attribute "display" to the selected tag }
0
1,523
thread by: Mike P | last post Nov 13 '05 by: Mike P
Does anybody have an example of using JMail in C#? Thanks, Mike *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
2
12,930
thread by: Marco | last post Nov 13 '05 by: A
How I can create TextBox dinamically. I have to create 10 textbox dinamically which name will be txtBox_01, txtBox_02, etc... Thanks.
2
5,060
thread by: José Joye | last post Nov 13 '05 by: Jon Skeet
Hello, I was wondering if there is a method that exists to replace multi-spaces within a string with single-space. eg: "12 3 4 56" --> "12 3 4 56" I think this could be done by looking at each char within a loop and copying the char to a stringBuilder instance if current and previous char are not spaces...
2
5,584
thread by: Baseman | last post Nov 13 '05 by: Baseman
In an app, I want to see if the user has the CTRL key pressed from within a TreeView BeforeUpdate event handler... what's the best way to do this? TIA, -B
2
3,931
thread by: DaleMan | last post Nov 13 '05 by: Pamela Thalacker
Where can I learn more about reusable businesss objects and their uses? I've been reading that one of .Net's advantages is that a developer can write reusable business objects. I would like to implement these into my code and make it more portable. Thanks, Dale
1
5,202
thread by: JJ | last post Nov 13 '05 by: Vadim Melnik
Hey All, I need to test a network connection to local lan using a PDA with wireless capabilities. I am using c# as app language. How can I test for connection? Thanks, JJ
3
8,070
thread by: JJ | last post Nov 13 '05 by: JJ
Hi, I was wondering what is the constant for newline so that I can add newlines in messageBoxs ? Vb has vbcCrLf what is it for C#? Thanks, JJ
8
2,429
thread by: Shaun C Farrugia | last post Nov 13 '05 by: Shaun C Farrugia
I have a multi team solution being built where teams are segmented off into seperate projects. One project is an over all framework containing a Broker class responsible for instantiating different subclasses of type Connector - the class only contains the abstract Connector class and the Broker. A seperate project contains the actual...
2
8,016
thread by: Chris Capel | last post Nov 13 '05 by: Chris Capel
Say ... does anyone know of a good (perhaps free) .NET assembly dependency walker? Because when you have a project A with a reference B which is also a reference of C, and C is also a reference of A, and you recompile B in project A but not C, you get that error "Dependency B.dll in project A cannot be copied to build directory because it...
0
3,547
thread by: Chanh Nguyen | last post Nov 13 '05 by: Chanh Nguyen
Hi all, I have a problem. I want an application that sends a message to a NotifyIcon application (Tray Icon). I have a form MainFrm that will create the NofifyIcon. static void Main() {
4
8,720
thread by: Michel Racicot | last post Nov 13 '05 by: Jon Skeet
Why do I obtain a console Window in addition to my CSharp Form when I do the following code: using System.Windows.Forms; class MyWindow: Form { } class MyApp

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.