5,727 Posted Topics
A piece of JavaScript on one of our pages gives an access denied error. In itself nothing strange, it's a reasonably well defined error after all :) What is strange is that the error ONLY happens on that page (despite identical calls to the JavaScript function appearing on several other … | |
Re: get an older one and start taking it apart :) Then put it back together and try figuring out where the leftover parts go ;) | |
Re: Sure it could. If you can find something that uniquely identifies the start and end of the block you can use that as search criteria for the block and filter it all out. | |
Re: I think any woman finding this offensive does so because she recognises herself all too well and is deep down ashamed of the fact ;) | |
Re: Stay away from the "teach yourself in 24 hours" and similar series. They give too many shortcuts that will catch up with you as you gain experience. Get "Accellerated C++" by Koenig and Moo instead. | |
Re: Accepting only paypal as a payment service is a big block towards receiving donations (as are the rates which seem steep compared to what sites I donate to charge). People in many countries can't use paypal at all and personally I don't trust them (there's been too much trouble with … | |
Re: Well, if the JVM dies any thread in it dies as well so you can't have a thread that never dies at all. Other than that, you can track whether your thread is alive of course. Thread has a method for that called isAlive() which returns true if the thread … | |
Re: From the Win32 API reference (as supplied by Microsoft): [code] int WINAPI WinMain( HINSTANCE hInstance, // handle to current instance HINSTANCE hPrevInstance, // handle to previous instance LPSTR lpCmdLine, // pointer to command line int nCmdShow // show state of window ); [/code] [quote] lpCmdLine Points to a null-terminated string … | |
Re: I admit I had to look it up myself :) but here it is: [url]http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#packagecomment[/url] | |
Re: Opening the document is the easy part, it's just a file after all ;) Interpreting it is hard. There's a library by the Apache group (Jakarta project) which offers partial capabilities to read and write Word documents [url]http://jakarta.apache.org/poi/index.html[/url] but if that is not enough you're pretty much on your own … | |
![]() | Re: Learn C++ before you dive into specific APIs... "Accellerated C++" by Koenig and Moo is excellent. "The C++ Programming" Language by Stroustrup is required (or should be) for anyone doing C++. Myself I'd also heartily recommend "Agile Software Development, principles, patterns, and practices" by Robert Martin. While not directly about … ![]() |
Re: well, you need to ditch all those heavy GUI libraries to start with, those eat massive amounts of memory... It's all a question of memory allocation, people just don't go the extra mile these days to think up memory structures to use minimal RAM. Where are the days of using … | |
Re: Imagine what you're doing there and you will know why it does not do what you think it should. You create a new System object (poor naming choice btw) and call a method on that. What you WANT to do is call that method on another System object, the one … | |
Re: no, it's a DOS extension from Borland. I've no clue about what the Microsoft equivalent was, would be part of Microsoft C 1.5 or so. | |
Re: I've been seeing the same to an extent. Or people sending a PM in response to a forum post instead of posting a response in the forum. I'd say go for it, maybe even make it a higher number :) | |
Re: well, as it uses a drive letter it will ever only work on Windows... That's the problem with files, path structures are platform dependent. The best you can do is to either use relative paths only so you will always look from your installation directory, in which case you can … | |
Re: You cannot control the size of controls (including panels). The setSize() method should never be relied upon. | |
Re: whatever suits you... though many people tend to go for a system that uses less words than you do. | |
Re: They're not part of the standard installation. Depending on which implementation your course uses you'll have to download it from somewhere. | |
Re: garbage? If you haven't initialised array elements or incorrectly declared an array the data in it will be the data that was in the memory spots before the array even existed. If you change it you can cause the computer to crash... | |
Re: ANd! To aDd to WhAT aLEx saId; pEAsE uSE prOPeR . punCtuATIon, ANd caPITaliSatION: IN yOuR quEstIonS? | |
Re: I'd say the statement was uncalled for (in whatever context it was made) and extremely poor advise. That alone should be enough reason to lower your reputation... | |
Re: [code] #include <iostream> using namespace std; void main(void){ cout<<"1 2 lazy 2 do my own homework therefore 1 got this solutiun frum sum website"; } [/code] | |
Re: You've a LOT of crap in there, my guess is your changes are being reverted as soon as you make them... C:\WINDOWS\System32\taskswitch.exe C:\WINDOWS\System32\Fast.exe C:\Program Files\IJ Accelerator\PropelAC.exe C:\WINDOWS\System32\ulg0gp8vrh7jthd.exe C:\WINDOWS\DvzCommon\DvzMsgr.exe C:\Program Files\InterVideo\Common\Bin\WinCinemaMgr.exe C:\WINDOWS\System32\mrtMngr.EXE R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = [url]http://win-eto.com/hp.htm?id=9[/url] R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyServer = http=localhost:8080 O2 - BHO: (no name) - … | |
Re: The way you're doing it it won't work over a network anyway as you're trying to pull your graphics from the machine that's running the browser... Pack everything in a jar file and pull the graphics from that. | |
Re: no, it's not OK to copy it from someone if it's been discontinued. You'll just have to look harder or use another product. | |
Re: There's many choices of forum software available. Most you need to host yourself (which requires special software and settings on the webserver which your ISP won't give you unless you pay quite a bit extra), some you cans sign up with a service and they host it for you (at … | |
Re: The idea of those problems is that you solve them yourself so you'll learn something in the process, it's not that you get others to solve them for you so you can show your teacher you've done your homework. | |
Re: The desktop IS a folder on your harddisk Sphyenx :) It's perfectly fine to put it there, the log will then also appear on the desktop. | |
Re: never rush through coding, it only leads to errors. Think first, code last. | |
Re: What have you tried? Except the declaration of the array you don't seem to have done anything... | |
Re: Check your project settings. Most likely you didn't include the directory containing the header files to the search path for headerfiles. | |
Re: what does " if (i=0) " do? think about that, there's an error on that line | |
Re: Rebuild your entire project. It looks like you changed the sources it depends on but it still has old versions of those classes cached. A full rebuild should fix that. | |
Re: Create a JPanel with a GridLayout with 2 columns and as many rows as you have inputfields. Put the JLabels in the left column, the JTextFields in the right column. They are now lined up perfectly. What isn't the write funtion doing? And what do you expect it to do? | |
Re: what's so funny? If you want funny, open up the text screensaver in NT and type "not evil" as the text. You'll get a rotating list of all the development team. I think it works in Win95 as well. Another easter egg in the same screensaver is a list of … | |
Re: [QUOTE=winterac]And so I'm wondering what it feels like to have a virus/spyware/adware free computer because I can't seem to shake this thing. [/QUOTE] It feels pretty good, but I've gotten so used to it over the years I hardly notice anymore. now if you want to know what a clean … | |
Re: no, it's final. There used to be an unformat tool under DOS that could undo some formatting actions IF no data had been written to the disk afterwards but it wasn't very reliable and was scrapped. I guess it worked by having format store a copy of the directory information … | |
| |
Re: There are as many GUI libraries as there are compilers (and probably even more). | |
Re: You're declaring a function int S1(int, int&) but defining it as int S1(int&, int&). The linker can't find the function it expects to find (S1(int, int&) ) anywhere and throws a fit. | |
Re: when you call by reference you also greatly reduce the overhead of creating the callstack of the function. The amount of stack memory needed will go down from the size of the struct you pass as a parameter to the size of a pointer to that struct. If the struct … | |
Re: Do you have speakers or a strong microphone positioned near there? If so those may well be the cause. Move them a bit and see what happens. | |
Re: [QUOTE=Dave Sinkula]What have you been trying?[/QUOTE] Well, he's tried to get the input code :) | |
Re: Poorly configured HTML email will do this. What you see is an attempt to render the HTML as plain text. Not your problem, and most such bad clients are associated with mass mailers more normally used by spammers than legitimate businesses (though some use them for mailing lists). | |
Re: steps: 1) order a large amount of coffee 2) order some pizzas 3) kickstart your brain 4) start thinking how you would solve it 5) write down your solution in words on a piece of paper 6) translate that into a flowchart and/or other diagrams 7) translate that into a … | |
Re: You might want to pick up a book on matrix mathematics and read up on the subject. Unless you know the theory behind it you're never going to put it into code, and once you do know the theory the code should come easily. |
The End.