939 Posted Topics
You see that part that says FAQ | Community Rules | Welcome guide? Well it's malformed on these three browsers, in the exact same way. IceWeasel - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 Iceweasel/2.0.0.11 (Debian-2.0.0.11-1) IE8 Beta on Windows Vista Firefox3 Beta 5 on Windows Vista Update: It … | |
Re: simple actually. Assuming you are parsing the text file character by character, set a variable to zero first, and increment it whenever you hit a newline indicator. Here is the C# code: [code=C#] int errline = 0; private void Parse(string html){ int c; while(c < html.Length){ if (html.SubString(c, 1) == … | |
Re: psuedocode time! [code] assuming tag opener is "<" and tag closer is ">" and wanted tag is [any tag you want to read the contents of] Read every character as 'c': if c is tag opener: read d from c until d is tag closer if string(c+, d) is wanted_tag: … | |
| |
| |
Re: I dont know how, but I just want to remind you to back-up | |
Re: Banning all rap music isn't at all a solution. It's also not fair to ban just rap music. Let's not pretend that rap music is the only genre with something wrong with it. And by supporting such a ban, you are advocating that all rap songs are bad, when this … | |
Re: I think bennet is confused by the ProgramData folder. But Leo, you need to take control of that folder, and show Vista who's the boss (and human)! But just in case you cant, turn UAC back on and then try to modify again. You should then get a UAC prompt … | |
Re: Okay dude, Im not actually here to help, but I have a friendly suggestion: don't ever say simple python code confuses you if you'd like to be taken seriously. I came in here expecting to read a stupid person's rant. Of course, your problem wasn't being confused by simple python … | |
Hi. I want to have a drop down list that display's images instead of text when it's active, but returns to text once the user selects it. I was wondering if someone more experienced in the DOM could give me some pointers. | |
Re: PHP + MySQL are easy. Should be a breeze. We're here if you need any specific help. | |
Re: you cant query two tables aat once. Either do them one at a time or make a stored procedure. I don't know anything about mysql so I cant help with the stored procedure. | |
Re: Every three days? Consider yourself lucky and let's leave it at that. | |
Re: There are some utterly heartless people on these forums who would much rather show intellectual muscle than any form of compassion. Thanks, the The Dude, for helping to retain our humanity. Even though you didn't capitalise "God". | |
Re: Strategist. I must say this is obviously a sham; They've been watching us with video cameras! | |
| |
Re: What the original poster needs is WPF (Windows Presentation Foundation) that is built into .NET 3.0. Setting transparency of a control is as simple and easy as Opacity = 0.6 or something similar. Of course, I could understand if you dont want to learn WPF for such a simple problem, … | |
Re: Appalling how fast these stupid threads catch on. You guys do know that there's another identical thread that you can go leak your brains on, right? | |
Re: Meh. Making Linux pretty isn't going to make me accept it as my primary OS. That's like putting a pretty dress on a donkey. At least with Vista the donkey becomes a Mare. Not quite a stallion but--enough with the metaphors already! | |
Re: This is the utter stupidity that people tend to waste time on these days. | |
Re: [QUOTE=steven woodman;576306]ha, just got an infraction should have known better then to hit people with a gaypenis swinging site. Anyways I figured it might be cool to see if anyone else has gotten an infraction and what for. So if you've gotten one tell me how. SW[/QUOTE] Didn't you just … | |
Any script with an error in it shows up blank on firefox. In IE, however, I get html 500 (internal error). I figure PHP isn't echoing its errors back to the client. Is there a way to set this behavior? | |
Re: I agree with Jerry. Use the built in settings. It's pretty simple to use if you haven't got the time to code your own parsing methods. As for registry, it's best not to store settings for your application in there if you can help it. Also, as Jerry says, Microsoft … | |
Re: Are you kidding me? If I bring a team of big hardbacked men vs some skinny fourteen year old girls to play NFL football -- well, you get the point. My example seems extreme until you consider that it's just one of an advantage, just like other teams would have … | |
Re: Does a Data Execution Prevention message pop up on the taskbar by any chance? Does the page have any flash objects, or active x controls or similar? | |
Is there a way to detect the internet browsers "registered" on the system my script is running on, and if possible get the location of the browser's executable? I don't mind if it requires branching the code by platform. And frankly, I don't mind if you give me a response … | |
Re: Hey. My machine refuses to boot with some usb devices plugged in. It could be your BIOS. Don't ask me how to fix it (I just plug them out, then plug them back in once windows starts.) Also, try the back ports. | |
Re: Do you by any chance have that McAfee suite on it? | |
Re: I believe you installer CD (for XP) offers the option to delete partitions (when you boot off it). What you need to do is delete both partitions, and then create a new one from all that RAW unpartitioned space. Then, format it to the filesystem of your choice and install … | |
Re: That's a bit impossible, because processors don't have asses | |
Available here: [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=b0c7136d-5ebb-413b-89c9-cb3d06d12674&DisplayLang=en[/url] And also through Windows Update (although I checked on my Vista machine before coming to work and got nothing). So are there any improvements that you have noticed? Any new notable features? | |
Re: I nice trick is to install the programs to a special folder, and then set the permissions for that folder so that only your windows account can execute programs from it. (DO NOT do this for your Program Files Folder). | |
Re: Do a google search on py2exe. It's a great tool for your purpose. | |
Re: Pointers? C#? C# is garbage collected. Don't use them. | |
Is there a way to find out the IP addresses of all the computers on the subnet my script is running on? | |
Re: Uhm, just in case your teacher might deduct points for this, instead of initialising x as an int, like: [code=python] x = 0 [/code] initialise it to an empty string: [code=python] x = "" [/code] I think that is what might have confused you in the first place! | |
Re: did you patch the VS 2005 for vista? | |
Re: Without even bothering to question you about your motives, I shall get right to it: The measures you will need to take may vary from site to site, and I for one do not know which methods this site uses to verify users. But it is important to note that … | |
Re: Yep, and then they got "hostile", but it's nothing you wouldn't really find happening in the Corporate world. | |
Re: My computer doesn't like me. Honest. It keeps crunching its hard drive at me for most time I use it (a known rude gesture). It refuses to start up quick lately. It seems like it willfully delays getting ready for my use (I KNOW it can do better). I don't … | |
Re: Yes, Vista is better than XP, but I think you should upgrade whenever you get your next computer. Why? For one, Vista's enhancements are minor things that are not enough to justify the cost (yet you find yourself missing them dearly when you use an XP system), and the other … | |
Re: Do you have a webserver software installed with PHP plugins loaded? | |
Re: You're designing a spell checker and having thought of this? Give me a good reason why I should help you wreak havoc with your crappy code (justified presumption). | |
Im making good on my new years resolution to pick up photography as a hobby. I spoke to a few people and they told me that a point and shoot would be good for a start, however not one of them quite came out and made a specific suggestion (:confused:). … |
The End.