| Thread | Last Post | Replies |
|
| Value Types and Reference Types | 01 Apr 2008 21:37 GMT | 22 |
Let me explain my mental image, and then tell me where I've gone wrong. There is a stack and a heap. A reference type sits on the heap, and its address sits on the stack. When you pass it to a method, you pass
|
| LIstbox in Web aplication | 01 Apr 2008 21:13 GMT | 2 |
I've found a trouble with using Listbox cortrol in Web application. I've used it previously and all works good. I can get which elements are selection. for (int nrp = 1; nrp < lbWorker.Items.Count; nrp++)
|
| bitmap is the wrong color | 01 Apr 2008 20:52 GMT | 2 |
using SetPixel to set all the pixels of a bitmap to Color.Red. Problem is the bitmap displays as Color.Turqoise. if all the pixels of the bitmap are Red, why does it not display as Red?
|
| AccessViolationException error | 01 Apr 2008 20:43 GMT | 2 |
I have an application in C# with a form that displays webpages. There are 4 web pages with links to each other. I get an error (and not at the same hyperlink) after navigating all the links numerous times. All the links work so that is not the problem. The code stops on the line ...
|
| Adding resource to a file! | 01 Apr 2008 20:34 GMT | 2 |
Just curious, When you are in IDE, you are able to add a resource to the project through resource tab. Later this resource can be accessed using the resource manager. One good thing about this approach is that, the resource file is build into the exe and using resource
|
| GetFields not working? | 01 Apr 2008 20:33 GMT | 4 |
FieldInfo[] fields = type.GetFields(); works and returns all public fields, but when I do FieldInfo[] fields = type.GetFields(BindingFlags.Public); I get nothing!! Whats going on? (again, its that simple... if I delete
|
| Object reference set to a null reference? | 01 Apr 2008 20:25 GMT | 3 |
I am having a problem with a few classes of mine. I have the 3 classes below (sorry if they are quite huge). When I do the following, I get a Object reference set to null reference error. Any idea what might be going on? Just a note that the whole Contract design isn't included ...
|
| Add a clone property to the ToolStripMenuItem? | 01 Apr 2008 19:32 GMT | 1 |
There is some code that can be found by googling "dirt simple clone" for cloning a ToolStripMenuItem. It's quite old. Posted by Ron of the .NET Client Team in 2005. I don't see how that helps because I don't know how to convince the Designer
|
| how i should solve slash / problem | 01 Apr 2008 18:56 GMT | 2 |
if i put slash("/") at the end of url then .aspx page couldn't load the css and images. example: http://testURL/TestPortal/test5/test16.aspx/ after / insert at the end of url website will loose its formattings and its
|
| Common Function? | 01 Apr 2008 18:55 GMT | 8 |
I have a common function (private void createDocument()) that I use in many pages within my asp.net app. This function is coded into all of these pages. What advise would you have to have this function only once in the app and called from all applicable pages? Does it need to ...
|
| Windows Mobile Soft Input Panel options disable. | 01 Apr 2008 18:42 GMT | 1 |
Task: To disable the SIP menu's "Options..." sub menu item on PocketPC 2003, Windows Mobile 5.0 PocketPC and Windows Mobile 6.0 Professional. Solution:
|
| Come on guys!! Surely someone here knows something about custom serialization? | 01 Apr 2008 18:18 GMT | 6 |
I am trying to write a custom method to serialize the class [Serializable] public class RTree<T> : IEnumerable<RTree<T>> {
|
| Verbatim String or Regex Pattern from Input | 01 Apr 2008 17:00 GMT | 4 |
I'm having a tricky problem where I want to accept a regular expression pattern from user input but can't get teh escape characters to be prcoessed correctly. If I take the same pattern and declare it in code with a preceeding @ character it works fine.
|
| Newbie question on string operators in C# | 01 Apr 2008 16:16 GMT | 4 |
Can anyone help a VB programmer understand the following C# code snippet please? This is excerpted from a base conversion function that converts s (a string representing a number in any base 2 to 36) into a string representing the number in another base.
|
| WriteXml not working , help | 01 Apr 2008 15:52 GMT | 3 |
Hi, I'm tring VS2008 with a simple Windows program, just a grid and a db made of an XML file. All work fine until the 3th record then the dataSet1.WriteXml("pippo.xml");
|