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

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,106
thread by: Naveen Mukkelli | last post Nov 17 '05 by: Naveen Mukkelli
Hi, I'm using FxCop to make final changes to my class library developed in Visual C#.NET 2003. I have tried to add a new word in to the custom dictionary in the following way, I have edited "CustomDictionary.xml" in "C:\Program Files\Microsoft FxCop 1.32"
6
4,943
thread by: John Salerno | last post Nov 17 '05 by: John Salerno
Ok, I'm just messing around with a little project based on a computer game I'm playing, which should explain some of the references in the code. My problem is, when I click "OK" in the message box, my computer beeps again and the message box remains (which I assume means it is appearing a second time). After I click OK again, it goes away. Why...
3
1,555
thread by: Javaman59 | last post Nov 17 '05 by: Daniel O'Connell [C# MVP]
I've spent the last 3 years programming VC++, and learnt that Windows programming is all about messages. Now I'm doing C#, and there isn't a windows message to be seen! Now, I don't miss those messages at all - in fact I'm very glad to see the end of them, but I am puzzled as to where they've gone. Has .Net got rid of windows messages, or...
3
1,207
thread by: Peter Olcott | last post Nov 17 '05 by: Javaman59
It seems that the official book and course for the 70-316 MCSD exam is covering far fewer details than are required to pass the MeasureUp pre-test. Is this really true, and what can I do about it? How can I best fill in all the required details that the MeasureUp pre-test for MCSD 70-316 requires? Does the MeasureUp pre-test cover far...
5
1,472
thread by: Jassim Rahma | last post Nov 17 '05 by: Jassim Rahma
Hi, I have a problem with the public class. I am trying to save the last identifier which I am getting correctrly but when I try to read I am getting 0. The public class is like this: public class global_var {
4
1,941
thread by: Chris Lacey | last post Nov 17 '05 by: Jon Shemitz
Hi, I'm currently writing a scheduling service which starts a number DotNet executables, each within a new AppDomain, every ten seconds. The guts of the code is as follows: // For each executable in the list of tasks for (int i = 0; i < this.processTasks.Length; i++) {
1
1,259
thread by: ad | last post Nov 17 '05 by: ad
I use System.Web.UI, but it resut in an error:System.Web.UI not exist in System.Web. Am I missing a using directive or an assembly ?
5
4,528
thread by: RSS | last post Nov 17 '05 by: clintonG
Hello everyone. I am looking for a solution to following problem. If any one is able to help I want to say thank you very much ahead of time. My client has a website. For each user they want to have "separate" url in following fashion --> www.site.com/username Now, having it in such fashion means to have a "folder" for each user and they...
2
1,071
thread by: Bob Weiner | last post Nov 17 '05 by: needin4mation
I am working on a windows app and want to put controls on a form but, alas, they are missing. The toolbox is visible and I have several tabs available (ie. Data, Components, HTML...) but not "Windows Forms." How do I recover this tab from wherever it went? Recreating a new tab only gives a blank slate. Do I have to recreate it from...
1
256
thread by: sonu | last post Nov 17 '05 by: needin4mation
I want to insert the Filtered data from dataview into dataset as a new table. how?
1
1,279
thread by: Richard | last post Nov 17 '05 by: Chris Jobson
Sorry about the cross post but M$ apparently does not have a "VBScript sucks" newsgroup and I know this group is heavily traffic-ed. Can anyone tell me how to make this script WORK? I have a deadline to meet and the only thing between me and success is VBScript... I have tried this in several forms, for amusement I am only posting two...
5
1,944
thread by: cj | last post Nov 17 '05 by: John Bonds
Normally, a dotNET application will throw an exception when something goes wrong, and the exception can be caught easily and reported to the user. However, users have been reporting that our application just simply vanishes without any warning. No exception seems to be thrown, otherwise it would have been caught. It is also seemingly...
6
1,163
thread by: Naldo Alcalde | last post Nov 17 '05 by: Naldo Alcalde
Hi friends, that's my question. I need use the instance's fields in my last process before they are destroyed. Similar to a C++ destructor, because C# destructor is called after of destroy the fields. Thx in advance, Naldo Alcalde H.
2
2,708
thread by: tshad | last post Nov 17 '05 by: tshad
I am getting the error: **************************************************************************** Array does not have that many dimensions. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. ...
2
5,910
thread by: sonu | last post Nov 17 '05 by: Sathyaish
I want to cast dataview to dataset. How? Please help me
1
6,560
thread by: Vern | last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
I'm using the Microsoft Enterprise Data Access block to call the stored procedure. One of the values the stored procedure returns is the stop date. When the stop date is null, the program crashes. I would like to be able to test for a null date, and then store the mindate value in the class property. I've tried the following, but it...
4
3,256
thread by: Tony Maresca | last post Nov 17 '05 by: Tony Maresca
Is there any framework function or code floating around that someone knows of, that can take a long path name and remove the middle parts to make it fit in a given field of characters for display in my UI? Thanks, -- Tony M.
3
1,469
thread by: John Puopolo | last post Nov 17 '05 by: John Puopolo
All: I have a string that I need to encode using MD5. Since I am using C#, my original, plain string is in Unicode, e.g." string clearText = "foobar"; To use the MD5 hash function, I need to turn my string into a byte array. However, I have choices:
3
1,910
thread by: David | last post Nov 17 '05 by: David
I'm rewriting a vb client app to C# and need to convert: "If Not myDataSet Is Nothing Then" I can't seem to get the syntax right for this one... What would such a thing look like in C#?
6
6,446
thread by: LongBow | last post Nov 17 '05 by: Jon Skeet [C# MVP]
Hello all, I am having a little problems getting String's StartsWith and EndsWith methods. If I have a string defined as sNormalPt which equals "0x11D0" then use the following command sNormalPt.StartsWith( "0x" ) the application throws and exception stating
3
2,075
thread by: marcstober | last post Nov 17 '05 by: Bruce Wood
Hello, I have some code like: public int MyProperty { set { if (value < 0) { throw new ArgumentOutOfRangeException("??paramName??", "Value must be positive.") } _myProperty = value; }
4
5,260
thread by: Abraham Luna | last post Nov 17 '05 by: Jon Skeet [C# MVP]
can anyone tell me why this string throws an error: strValues += "<tr><td><a href=\"\#\" onclick=\"javascript:" + strTextBox + ".value='" + drRDK.ToString().Replace("\\", "\\\\").Replace("'", "\\'").Replace('"', '""') + "';" + strDiv + ".style.visibility='hidden';" + strDiv + ".innerHTML='';\">" + strOutput + "</a></td></tr>\n\r"; my code...
2
2,166
thread by: ooooscar | last post Nov 17 '05 by: Siva M
Is there any way to get a key press or key down from all the components of the form. A mean if a hava a 2 text bo and a press a key into the first i get a textbox1_keydown event, and if i press a key when i have the focus into the textbox2 a get textbox2_keydown event but can I get a general event to get a key from any of them even if i want...
4
1,329
thread by: Sam Evans | last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
All: I've looked all over (and probably not in the right places) to try and find some example code, or documentation on how I can modify the text in a cell of a datagrid. I've found information saying it's best to override the paint method, and other information saying it's best to use the prerender event. Can anyone point me in the...
0
939
thread by: Britney | last post Nov 17 '05 by: Britney
hi, sometimes when I debug a win form program, I see "quick watch" option is gray out, what happen? I have a break point.

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.