Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~8K People Reached

11 Posted Topics

Member Avatar for IT_Techno

[code] DateTime tempdate = new DateTime(month you want day 1); int fridays = 0; while(tempdate == month you want){ if(tempdate.day = friday){ fridays ++; } tempdate.addday(); } [/code] all done, sorry it's in psudeo code

Member Avatar for Momerath
0
567
Member Avatar for jonesc5

I have a website adding orders to my database. These start at 10000000 and increment by 1. I have pieces of paper sent out in advance with order numbers on them. These start at 50000000 and increment by 1. We get batches of paper orders brought back and need to …

Member Avatar for jonesc5
0
148
Member Avatar for jonesc5

I currently have this in my css. But for the life of me IE7 won't do as it's told. The page looks GREAT in firefox but refuses to wrap in IE. [code] pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera …

0
59
Member Avatar for labby

I had a similar problem and from reading other forums it looks like a memory issue (precise I know :) ) And if you try a couple of times it seems to work. Anyway, I fixed it in a really horrible way. Although this fix does work I'm looking for …

Member Avatar for jonesc5
0
208
Member Avatar for jonesc5

I'm having problems with a passing a referance in a foreach loop. "Cannot pass 'currentphoto' as a ref or out argument because it is a 'foreach iteration variable'" foreach(photo currentphoto in thephotos){ panel1.Controls.Add(new thumbnailPicture(ref currentphoto)); } I'm 100% sure that passing by referance would be the right way to elegantly …

Member Avatar for Ramy Mahrous
0
2K
Member Avatar for lorentz

this is a tricky one to get your head around. But basically you call the print page method at the end of the printpage method. And use a variable or counter somewhere to make sure you don't get stuck in an infinite loop. in pseudo code... I'm typing this from …

Member Avatar for lorentz
0
246
Member Avatar for SAMSEIED
Re: Html

might sound stupid but some old internet explores are case sensitive with file extensions. Check if its image.JPG or image.Jpg or image.jpg etc. I hav't got time to find out how old but i remeber hitting this problem once and this was the fix.

Member Avatar for txwebdesign
0
192
Member Avatar for xceed

To get that error you usually have to miss a ' or a ". since in Php you can use one inside the other with few problems you can do this. [CODE] echo 'look at all "these" double quotes that "are not escaped" because the string closes here'; [/CODE] or …

Member Avatar for fenixZ
0
1K
Member Avatar for Morty222

it's getting late so bear with this as it's goning to be in pseudo code and not 100% php. Im not sure if the "1=1" should just be "1" [CODE] $query = "select * from tbl_accounts WHERE 1=1"; while (list($key, $val) = each($_POST)) { $query .= "and $key like '%$val%'" …

Member Avatar for jonesc5
0
81
Member Avatar for Demond

ah, you don't want to change the button name. You are getting mixed up by the way Visual Studio creates methods for you. When a button is clicked it fires an event. Each button stores a list of event handlers which get told about the event that just happened. So …

Member Avatar for jonesc5
0
3K
Member Avatar for number87

Well if you want to know about digits I usually convert the int into a string. Then you can access each letter in the array. You can use a foreach() loop. [code] int counter = 0; string tempstring = ""+ numberentered; foreach(char x in tempstring){ if((x=='1')||(x=='3')||(x=='5')||(x=='7')||(x=='9'))){ counter++; } } [/code] …

Member Avatar for jonesc5
0
199

The End.