No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
I have a C# WCF Ajax service with an OperationContract that accepts a string of text that is expected to be CSV. I have written most of a CSV parser for this, but I would like to possibly use OLEDB to parse this string. Is this possible? I would rather …
research: css @font-face great resource for this: [url]http://www.fontsquirrel.com/fontface[/url]
Maybe I am not understanding what you want to do, but why not split the string on the comma? if you do this: [CODE]var str="123.25.12.135,15.45.85.12,25.85.45.58"; var array = str.split(","); for(wordIndex in array) { //array[wordIndex] is each individual address //run REGEX on each one to determine if it is valid or …
line 5: user.value.length will give you the length of the string in the text box, though you've probably figured this out by now
the code in your button1 onclick METHOD (double click on button1 in design mode) will look something like this: [CODE] int numberToFactoral = 1; try { numberToFactoral = int32.parse(textbox1.text); } catch { label1.text = "please input positive whole number"; return; } int result = 1; // 1 * x is …
check the axWebbrowser and mshtml. a basic tutorial you should be able to adapt is at [URL="http://www.codeproject.com/KB/cs/mshtml_automation.aspx"]http://www.codeproject.com/KB/cs/mshtml_automation.aspx[/URL]
Here's a couple things that will help you: [code] for(int x = 1; x <= n;x++) { //print out number if(x%3==0) { //print out the *** } else if(x%5==0) { //print out the ##### } else if(x%5==0 && x%3==0) { //make for loop that prints x, x number of times …
I found an awesome site to help you: [URL="http://www.colourlovers.com/palettes"]http://www.colourlovers.com/palettes[/URL] it is nothing but colors pallets and patterns, the link I provided has hundreds of sets of colors for you to choose from.
for ease of sql queries and such I would make a table called friends with only 3 fields: id, friend1, friend2 (although you could name it more appropriately) anyways for each and every user/friend store their id in friend1 and their friend's id in friend2. this means that each time …
randomNumberB currently only exists in the function called GuessANumber(), for this number to work in your hint_mouseover function you would need to declare int randomNumberB outside of any function thus making it a class attribute. just write: private int randomNumberB; on the line before GuessANumber and remove the declaration from …
Here's how I would do it (psudo code): [code] if(strpos($tagString, "alt=") !== false && strpos($tagString, "<img") !== false) { //do img stuff } else if((strpos($tagString, "alt=") !== false && strpos($tagString, "<a href=") !== false) { //do href stuff } else { //the alt tag either doesn't exist or doesn't exists …
[QUOTE=zlloyd1;1453310]I am trying to write a PHP script to connect to a database I have created in WAMP Server 2.0 but no matter what I do I keep getting the same error message: Parse error: parse error in C:\wamp\www\database.php on line 5 I have looked at this for over an …
If you are a beginner in PHP I would suggest the following: website builder forum chat (AJAX and PHP) you can use XML for the forum and chat if you need to learn XML, or just use SQL for all 3 anyways if anyone else knows of good noob projects …
The End.
HG&C