Hi, I think this is a simple problem maybe on settings, I dont know but when I select a control in any form , even the form itself it doesn't look selected. What i mean is usual behaviour should show like square or dots around the control when we select or click it during design time, mine is that it is selected in document view but not in control itself. Just plain same as unselected. This can be deceiving because it looks nothing is selected. I cant give visual sample now because my problem prevents me to. Thanks a lot

Member Avatar
Member Avatar
+0 forum 14

The expected outcome dosent agree with result. Following is the code snippet. int a,c; a=10; c=0; c=(--a)+(--a); printf("C: %d", c); printf("\nValue of a: %d", a); I expected C to be 17 i.e (9+8), but it comes out to be 16. And a becomes 8 as expected. When expression is changed to like this. c=(--a); c=c+(--a); Then it works fine. Someone please point out where is loophole in my knowledge. Thanx.

Member Avatar
Member Avatar
+0 forum 6

My wife just booted up her Win8 computer with Start8 to find that the desktop looks completely different (personal photo gone, generic Windows photo now), files she was working on yesterday (TextEase) seemed to have disappeared but were in the Recycle bin, and the metro interface only has about 4 tiles on it now rather than a screenful. All her photos have gone from the MyPhotos folder, and her music has also disappeared. As she has to get her work done tonight, we have decided not to do a System Restore or Last Known Good Configuration and I will try …

Member Avatar
Member Avatar
+0 forum 10

Pk, so here's the code I'm running for a checkboxlist object public void regSubjects(object sender, EventArgs e) { int courseCount = 0; for (int i = 0; i < coursesFound.Items.Count; i++) { if (coursesFound.Item[i].Selected) coursesCount++; } if ((courses < 4) && (courses > 6)) clabel.Text = string.Format("Choose between 4 - 6 subjects"); } Wierd thing is, if have only one condition in my final if, it works fine, if i have both, it doesn't pick it up, even if I nest the two conditions in their own if, it doesn't pick up on the error, just ignores it. Viusal Studio …

Member Avatar
Member Avatar
+0 forum 7

Can anyone tell me why echo intVal($_REQUEST["CustID"]) where $_REQUEST["CustID"] value is 62013300111, produces 62013300111 on one php Server but on another it produces 2147483647. I cannot find any logical reason. regards Steve

Member Avatar
Member Avatar
+0 forum 2

I have been reading some tutorials about floats from various sources on the web. They say that if you want to float one div element next to another you are to put a float attribute into one of the div elements. for example one website says this... > Quote From - [maxdesign.com](http://css.maxdesign.com.au/floatutorial/tutorial0807.htm) To float the left nav, we need to use the rule: "#leftnav {float: left;}". When a div is set to float, a width must also be included, so we can add another declaration: "width: 160px;". However, none of these examples appear to work within my code. When I …

Member Avatar
Member Avatar
+0 forum 4

This is a catalogue of some experiments on just two aspects of undefined behaviour. This was inspired by yet another long bout of explanation in a recent thread, so I thought it was time to dust off a bunch of compilers, and compare. This is the test code. [code] #include <stdio.h> int f1 ( void ) { printf( "f1 called = 1\n" ); return 1; } int f2 ( void ) { printf( "f2 called = 2\n" ); return 2; } int f3 ( void ) { printf( "f3 called = 3\n" ); return 3; } int f4 ( void …

Member Avatar
Member Avatar
+4 forum 5

The End.